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 middle-end/51929] [4.7 Regression] ICE: verify_cgraph_node failed with -O2 -fno-guess-branch-probability -fipa-cp-clone


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-16 07:26:08 UTC ---
Author: jakub
Date: Thu Feb 16 07:25:58 2012
New Revision: 184301

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184301
Log:
    PR middle-end/51929
    * cgraphunit.c (verify_edge_corresponds_to_fndecl): If node is
    a same_body_alias, also test whether e->callee isn't a former
    or current clone of the decl this is a same body alias of.

    * g++.dg/ipa/pr51929.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr51929.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
    trunk/gcc/testsuite/ChangeLog


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