------- Comment #8 from rguenth at gcc dot gnu dot org  2009-09-10 11:42 -------
Subject: Bug 41257

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  <rguent...@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


-- 


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

Reply via email to