This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159265 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: jamborm at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 11 May 2010 09:06:02 -0000
- Subject: r159265 - in /branches/gcc-4_5-branch/gcc: Chan...
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