This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r151431 - in /trunk/gcc: ChangeLog cgraphunit.c...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 04 Sep 2009 18:54:02 -0000
- Subject: r151431 - in /trunk/gcc: ChangeLog cgraphunit.c...
Author: rguenth
Date: Fri Sep 4 18:54:01 2009
New Revision: 151431
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151431
Log:
2009-09-04 Richard Guenther <rguenther@suse.de>
PR middle-end/41257
* (cgraph_finalize_compilation_unit): Move finalizing aliases
after emitting tunks. Move emitting thunks and ctors from ...
(cgraph_optimize): ... here. Remove redundant
cgraph_analyze_functions.
* varasm.c (find_decl_and_mark_needed): Remove no longer
necessary check.
(finish_aliases_1): Adjust check for thunk aliases.
* g++.dg/torture/pr41257.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr41257.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/varasm.c