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/45565] [4.6 Regression] ICE: in execute_todo, at passes.c:1276 with -fno-toplevel-reorder -fno-inline -fipa-cp-clone -fkeep-inline-functions



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-09-23 12:39 -------
Subject: Bug 45565

Author: rguenth
Date: Thu Sep 23 12:39:26 2010
New Revision: 164561

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164561
Log:
2010-09-23  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/45565
        * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee):
        Make sure to adjust the fndecl before replacing the stmt.

        * g++.dg/ipa/pr45565.C: New testcase.

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


-- 


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


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