[Bug middle-end/43812] [4.5/4.6 Regression] compiling .cc file with -fwhole-program results in ICE, in ipcp_iterate_stage, at ipa-cp.c:760
jamborm at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 11 09:06:00 GMT 2010
------- Comment #11 from jamborm at gcc dot gnu dot org 2010-05-11 09:06 -------
Subject: Bug 43812
Author: jamborm
Date: Tue May 11 09:05:59 2010
New Revision: 159265
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159265
Log:
2010-05-11 Martin Jambor <mjambor@suse.cz>
PR middle-end/43812
* ipa.c (dissolve_same_comdat_group_list): New function.
(function_and_variable_visibility): Call
dissolve_same_comdat_group_list when comdat group contains external or
newly local nodes.
* cgraphunit.c (verify_cgraph_node): Verify that same_comdat_group
lists are circular and that they contain only DECL_ONE_ONLY nodes.
* testsuite/g++.dg/ipa/pr43812.C: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/ipa/pr43812.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cgraphunit.c
branches/gcc-4_5-branch/gcc/ipa.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43812
More information about the Gcc-bugs
mailing list