public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/60306] New: Incorrect devirtualization "pure virtual method called"
@ 2014-02-21 21:22 bredelin at ucla dot edu
  2014-02-22 13:55 ` [Bug ipa/60306] [4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bredelin at ucla dot edu @ 2014-02-21 21:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60306
           Summary: Incorrect devirtualization "pure virtual method
                    called"
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bredelin at ucla dot edu

Created attachment 32192
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32192&action=edit
File that exhibits the compilation error.

When compiled with GCC 4.9, my C++ code gives:

pure virtual method called
terminate called without an active exception
Aborted

This goes away if I compile with -fno-devirtualize, or if I compile with GCC
4.8.2.

I compiled with:

% g++-4.9 -O3 main.C -std=c++11 -g
% ./a.out


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

end of thread, other threads:[~2014-03-02 22:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-21 21:22 [Bug ipa/60306] New: Incorrect devirtualization "pure virtual method called" bredelin at ucla dot edu
2014-02-22 13:55 ` [Bug ipa/60306] [4.9 Regression] " rguenth at gcc dot gnu.org
2014-02-27  9:35 ` rguenth at gcc dot gnu.org
2014-02-28  1:17 ` hubicka at gcc dot gnu.org
2014-02-28  1:26 ` hubicka at gcc dot gnu.org
2014-02-28  5:10 ` hubicka at gcc dot gnu.org
2014-02-28  5:55 ` hubicka at gcc dot gnu.org
2014-02-28 12:32 ` rguenth at gcc dot gnu.org
2014-02-28 12:35 ` rguenth at gcc dot gnu.org
2014-02-28 20:32 ` hubicka at gcc dot gnu.org
2014-03-02  2:14 ` hubicka at gcc dot gnu.org
2014-03-02 20:52 ` hubicka at gcc dot gnu.org
2014-03-02 22:24 ` hubicka 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).