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 ipa/61160] [4.9/4.10 Regression] wrong code with -O3 (or ICE: verify_cgraph_node failed: edge points to wrong declaration)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61160

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Tue Jun  3 10:13:15 2014
New Revision: 211171

URL: http://gcc.gnu.org/viewcvs?rev=211171&root=gcc&view=rev
Log:
2014-06-03  Martin Jambor  <mjambor@suse.cz>

    PR ipa/61160
    * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
    thunks.

testsuite/
    * g++.dg/ipa/pr61160-1.C: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/pr61160-1.C
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/ipa-cp.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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