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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-22 
19:59:51 UTC ---
Author: jason
Date: Fri Jul 22 19:59:49 2011
New Revision: 176650

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176650
Log:
    PR c++/30112
gcc/c-family/
    * c-common.h: Declare c_linkage_bindings.
    * c-pragma.c (handle_pragma_redefine_extname): Use it.
gcc/
    * c-decl.c (c_linkage_bindings): Define.
gcc/cp/
    * decl.c (cp_finish_decl): Apply pragma redefine_extname in
    other namespaces as well.
    * name-lookup.c (c_linkage_bindings): Define.
    (lookup_extern_c_fun_in_all_ns): Rename from
    lookup_extern_c_fun_binding_in_all_ns.  Return tree.
    (pushdecl_maybe_friend_1): Adjust.  Copy DECL_ASSEMBLER_NAME.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.h
    trunk/gcc/c-family/c-pragma.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/other/pragma-re-1.C

Reply via email to