public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49756] New: g++ ICE
@ 2011-07-15 10:51 doko at ubuntu dot com
  2011-07-18  9:17 ` [Bug c++/49756] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: doko at ubuntu dot com @ 2011-07-15 10:51 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: g++ ICE
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: doko@ubuntu.com


Created attachment 24773
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24773
preprocessed source

[forwarded from http://launchpad.net/bugs/721378]

might related to PR48766, although I don't see the recursion in
fold_binary_loc(). seen with current 4.4, 4.5, 4.6 branches and trunk.

$ g++ -c testcase.ii 
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

Program received signal SIGSEGV, Segmentation fault.
0x00000000008046dc in fold_binary_loc ()
(gdb) bt
#0  0x00000000008046dc in fold_binary_loc ()
#1  0x00000000008905e2 in gimplify_expr ()
#2  0x0000000000895269 in ?? ()
#3  0x000000000089067e in gimplify_expr ()
#4  0x000000000089f7a2 in ?? ()
#5  0x0000000000891188 in gimplify_expr ()
#6  0x00000000008a22f9 in ?? ()
#7  0x000000000088fd3e in gimplify_expr ()
#8  0x0000000000898367 in gimplify_stmt ()
#9  0x000000000089f41d in ?? ()
#10 0x00000000008916f0 in gimplify_expr ()
#11 0x00000000008961b3 in ?? ()
#12 0x000000000088fcd5 in gimplify_expr ()
#13 0x0000000000898367 in gimplify_stmt ()
#14 0x0000000000890b9e in gimplify_expr ()
#15 0x0000000000898367 in gimplify_stmt ()
#16 0x0000000000898d5c in ?? ()
#17 0x0000000000891414 in gimplify_expr ()
#18 0x0000000000898367 in gimplify_stmt ()
#19 0x00000000008908a9 in gimplify_expr ()
#20 0x0000000000898367 in gimplify_stmt ()
#21 0x0000000000898d5c in ?? ()
#22 0x0000000000891414 in gimplify_expr ()
#23 0x0000000000898367 in gimplify_stmt ()
#24 0x00000000008908a9 in gimplify_expr ()
#25 0x0000000000898367 in gimplify_stmt ()
[...]

bug submitter writes:

- if you comment out the ~Base destructor, the ICE goes away.

- The ICE also goes away if you significantly reduce the number of Child
members in the Container class.


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

end of thread, other threads:[~2011-08-01 20:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-15 10:51 [Bug tree-optimization/49756] New: g++ ICE doko at ubuntu dot com
2011-07-18  9:17 ` [Bug c++/49756] " rguenth at gcc dot gnu.org
2011-07-18 14:18 ` jason at gcc dot gnu.org
2011-07-18 14:25 ` jakub at gcc dot gnu.org
2011-07-18 15:22 ` jason at gcc dot gnu.org
2011-07-18 19:31 ` jakub at gcc dot gnu.org
2011-07-18 19:35 ` jason at gcc dot gnu.org
2011-07-22  8:34 ` jakub at gcc dot gnu.org
2011-07-22  9:22 ` jakub at gcc dot gnu.org
2011-08-01 20:43 ` jason 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).