public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45875] New: ice in gimple_fold_obj_type_ref_known_binfo with -O2
@ 2010-10-03 18:38 dcb314 at hotmail dot com
  2010-10-03 19:39 ` [Bug tree-optimization/45875] [4.6 Regression] " rguenth at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: dcb314 at hotmail dot com @ 2010-10-03 18:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45875

           Summary: ice in gimple_fold_obj_type_ref_known_binfo with -O2
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


I just tried to compile package ddd-3.3.12 with the latest 4.6 snapshot
20101002 on a Fedora Linux box. The compiler said

settings.C: At global scope:
settings.C:4009:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

valgrind said

==2738== Invalid read of size 2
==2738==    at 0xD04E9D: gimple_fold_obj_type_ref_known_binfo
(gimple-fold.c:144
4)
==2738==    by 0xB190D1: propagate_info_to_inlined_callees (ipa-prop.c:1527)
==2738==    by 0xB13CA5: cgraph_decide_inlining (ipa-inline.c:1248)
==2738==    by 0x87040E: execute_one_pass (passes.c:1569)
==2738==    by 0x870AE9: execute_ipa_pass_list (passes.c:1936)
==2738==    by 0xB09A87: cgraph_optimize (cgraphunit.c:1733)
==2738==    by 0xB09CC9: cgraph_finalize_compilation_unit (cgraphunit.c:1020)
==2738==    by 0x54F55C: cp_write_global_declarations (decl2.c:3928)
==2738==    by 0x91041B: toplev_main (toplev.c:951)
==2738==    by 0x325FC1EC5C: (below main) (in /lib64/libc-2.12.so)
==2738==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==2738== 

Preprocessed source code attached. Flag -O2 required.


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-11-02 15:25 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-03 18:38 [Bug c++/45875] New: ice in gimple_fold_obj_type_ref_known_binfo with -O2 dcb314 at hotmail dot com
2010-10-03 19:39 ` [Bug tree-optimization/45875] [4.6 Regression] " rguenth at gcc dot gnu.org
2010-10-03 19:59 ` rguenth at gcc dot gnu.org
2010-10-03 20:22 ` dcb314 at hotmail dot com
2010-10-03 20:39 ` rguenth at gcc dot gnu.org
2010-10-04  1:02 ` hjl.tools at gmail dot com
2010-10-13 14:48 ` jamborm at gcc dot gnu.org
2010-10-13 22:14 ` dcb314 at hotmail dot com
2010-10-13 22:17 ` pinskia at gcc dot gnu.org
2010-10-14 18:52 ` jamborm at gcc dot gnu.org
2010-10-14 22:49 ` zsojka at seznam dot cz
2010-10-15 12:16 ` jamborm at gcc dot gnu.org
2010-10-21 13:06 ` jamborm at gcc dot gnu.org
2010-10-21 14:35 ` jamborm at gcc dot gnu.org
2010-10-26  3:52 ` jakub at gcc dot gnu.org
2010-11-01 16:00 ` jamborm at gcc dot gnu.org
2010-11-02 15:06 ` jamborm at gcc dot gnu.org
2010-11-02 15:25 ` jamborm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).