public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49495] New: -O3 causes error message "edge points to wrong declaration:"
@ 2011-06-21 19:26 dcb314 at hotmail dot com
  2011-07-01 16:26 ` [Bug c++/49495] " jamborm at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2011-06-21 19:26 UTC (permalink / raw)
  To: gcc-bugs

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.


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

end of thread, other threads:[~2011-07-07 18:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 19:26 [Bug c++/49495] New: -O3 causes error message "edge points to wrong declaration:" dcb314 at hotmail dot com
2011-07-01 16:26 ` [Bug c++/49495] " jamborm at gcc dot gnu.org
2011-07-01 16:37 ` jamborm at gcc dot gnu.org
2011-07-01 18:12 ` jamborm at gcc dot gnu.org
2011-07-03  9:46 ` [Bug middle-end/49495] " jamborm at gcc dot gnu.org
2011-07-07 18:08 ` jamborm at gcc dot gnu.org
2011-07-07 18:23 ` jamborm 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).