This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49495] New: -O3 causes error message "edge points to wrong declaration:"
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Jun 2011 19:26:05 +0000
- Subject: [Bug c++/49495] New: -O3 causes error message "edge points to wrong declaration:"
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49495
Summary: -O3 causes error message "edge points to wrong
declaration:"
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dcb314@hotmail.com
Created attachment 24576
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24576
C++ source code
I just tried to compile the icedtea6-1.10.2 package with the latest
trunk snapshot 20110618 on an AMD x86_64 box.
The compiler said
/home/dcb/rpmbuild/BUILD/icedtea6-1.10.2/openjdk/hotspot/src/share/vm/adlc/formssel.cpp:4089:1:
error: edge points to wrong declaration:
<function_decl 0x7ff30ed2d500 _ZN9MatchNodeC2ER8ArchDescRS_i.constprop.30
type <method_type 0x7ff30f6f4498
...
Preprocessed source code attached. Flag -O3 required.
It compiles fine with -O2.