public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39509]  New: bad optimization(?) pure virtual function call with -O2
@ 2009-03-20  3:02 eric dot niebler at gmail dot com
  2009-03-20  3:03 ` [Bug c++/39509] " eric dot niebler at gmail dot com
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: eric dot niebler at gmail dot com @ 2009-03-20  3:02 UTC (permalink / raw)
  To: gcc-bugs

When attached code is compiled with "g++ -01 -x c++ main.i" the result executes
file. When compiled with -O2 it segfaults with "pure virtual function call".
This may be a case of an overeager optimization.


-- 
           Summary: bad optimization(?) pure virtual function call with -O2
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eric dot niebler at gmail dot com


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


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

end of thread, other threads:[~2010-05-22 18:31 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-20  3:02 [Bug c++/39509] New: bad optimization(?) pure virtual function call with -O2 eric dot niebler at gmail dot com
2009-03-20  3:03 ` [Bug c++/39509] " eric dot niebler at gmail dot com
2009-03-20  4:04 ` eric dot niebler at gmail dot com
2009-04-16 20:55 ` [Bug middle-end/39509] " pinskia at gcc dot gnu dot org
2009-04-21  1:11 ` eric dot niebler at gmail dot com
2009-05-11 11:16 ` jwakely dot gcc at gmail dot com
2009-05-11 11:23 ` jwakely dot gcc at gmail dot com
2009-05-11 12:03 ` rguenth at gcc dot gnu dot org
2009-05-11 12:04 ` rguenth at gcc dot gnu dot org
2009-05-11 12:42 ` jwakely dot gcc at gmail dot com
2009-05-11 12:45 ` rguenther at suse dot de
2009-05-11 13:09 ` jwakely dot gcc at gmail dot com
2009-05-11 13:11 ` rguenther at suse dot de
2009-05-11 13:11 ` [Bug middle-end/39509] [4.3/4.4/4.5 Regression] " rguenth at gcc dot gnu dot org
2009-05-12 18:56 ` jakub at gcc dot gnu dot org
2009-05-12 19:06 ` jakub at gcc dot gnu dot org
2009-05-12 19:34 ` jakub at gcc dot gnu dot org
2009-05-21 10:36 ` rguenth at gcc dot gnu dot org
2009-08-04 12:48 ` rguenth at gcc dot gnu dot org
2009-12-16 20:19 ` rguenth at gcc dot gnu dot org
2009-12-16 20:20 ` rguenth at gcc dot gnu dot org
2010-03-08 22:50 ` pinskia at gcc dot gnu dot org
2010-05-22 19:00 ` [Bug middle-end/39509] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot 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).