This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49495] -O3 causes error message "edge points to wrong declaration:"


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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-07-01 16:36:58 UTC ---
The problem here is that cgraph_redirect_edge_call_stmt_to_callee(0 is
never called because inline_transform() is never called.  (I have
verified by putting gcc_unreachable to both, I did not believe my
gdb).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]