public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14511] New: "pure virtual method called" error when calling a method on a static_casted object
@ 2004-03-10  7:03 bryner at brianryner dot com
  2004-03-10  7:04 ` [Bug optimization/14511] " bryner at brianryner dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bryner at brianryner dot com @ 2004-03-10  7:03 UTC (permalink / raw)
  To: gcc-bugs

On a tree-ssa build pulled today, I get "pure virtual method called" (and
execution aborts) if I attempt to call a method on a static_casted pointer.  I
believe this regressed within the past few weeks.  The error occurs with -O2,
but not with -O.  gcc build details:

$ c++ -v
Reading specs from /usr/gcc-ssa/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs
Configured with: ../gcc/configure --prefix=/usr/gcc-ssa --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--host=i686-pc-linux-gnu --enable-languages=c,c++ --disable-checking
Thread model: posix
gcc version 3.5-tree-ssa 20040309 (merged 20040307)

-- 
           Summary: "pure virtual method called" error when calling a method
                    on a static_casted object
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bryner at brianryner dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2004-03-17 19:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-10  7:03 [Bug optimization/14511] New: "pure virtual method called" error when calling a method on a static_casted object bryner at brianryner dot com
2004-03-10  7:04 ` [Bug optimization/14511] " bryner at brianryner dot com
2004-03-10  7:10 ` bryner at brianryner dot com
2004-03-10 14:38 ` [Bug optimization/14511] [tree-ssa] " pinskia at gcc dot gnu dot org
2004-03-10 17:24 ` dnovillo at gcc dot gnu dot org
2004-03-10 19:01 ` pinskia at gcc dot gnu dot org
2004-03-15 21:36 ` dnovillo at gcc dot gnu dot org
2004-03-17 19:28 ` dnovillo at redhat dot com
2004-03-17 19:44 ` cvs-commit at gcc dot gnu dot org
2004-03-17 19:45 ` dnovillo 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).