From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16990 invoked by alias); 10 Mar 2004 07:03:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16887 invoked by uid 48); 10 Mar 2004 07:03:26 -0000 Date: Wed, 10 Mar 2004 07:03:00 -0000 From: "bryner at brianryner dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20040310070324.14511.bryner@brianryner.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/14511] New: "pure virtual method called" error when calling a method on a static_casted object X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg01195.txt.bz2 List-Id: 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