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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-08 
13:03:38 UTC ---
Author: rguenth
Date: Tue Mar  8 13:03:34 2011
New Revision: 170775

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170775
Log:
2011-03-08  Richard Guenther  <rguent...@suse.de>

    PR tree-optimization/47278
    * tree.h (DECL_REPLACEABLE_P): Remove.
    (decl_replaceable_p): Declare.
    (decl_binds_to_current_def_p): Likewise.
    * varasm.c (decl_replaceable_p): New function.
    (decl_binds_to_current_def_p): Likewise.
    * cgraph.c (cgraph_function_body_availability): Use decl_replaceable_p.
    * tree-inline.c (inlinable_function_p): Likewise.

    cp/
    * decl.c (finish_function): Use decl_replaceable_p.

    testsuite/
    * gcc.dg/torture/pr47278-1.c: New testcase.
    * gcc.dg/torture/pr47278-2.c: Likewise.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr47278-1.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr47278-2.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/cgraph.c
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/decl.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-inline.c
    branches/gcc-4_5-branch/gcc/tree.h
    branches/gcc-4_5-branch/gcc/varasm.c

Reply via email to