This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r151592 - in /trunk/gcc: ChangeLog cgraphunit.c...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 10 Sep 2009 11:42:25 -0000
- Subject: r151592 - in /trunk/gcc: ChangeLog cgraphunit.c...
Author: rguenth
Date: Thu Sep 10 11:42:25 2009
New Revision: 151592
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151592
Log:
2009-09-10 Richard Guenther <rguenther@suse.de>
PR middle-end/41257
* cgraphunit.c (cgraph_emit_thunks): Emit thunks only for
reachable nodes.
(cgraph_finalize_compilation_unit): Compute reachability
before emitting thunks. Properly process aliases before
possibly removing unreachable nodes.
* g++.dg/torture/pr41257-2.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr41257-2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/testsuite/ChangeLog