c-pragma.c (apply_pragma_weak): Convert value identifier to string for decl_attributes.
authorRichard Henderson <rth@redhat.com>
Sun, 26 May 2002 03:38:37 +0000 (20:38 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 26 May 2002 03:38:37 +0000 (20:38 -0700)
commitb53bb376d9dfa10371ebf3a237ccea477091ed0c
treec8dc7fde9389dae3158d0518dd428fab00360346
parent94fdf99db022bc426a4d27a5aef89a093bb3cffc
c-pragma.c (apply_pragma_weak): Convert value identifier to string for decl_attributes.

        * c-pragma.c (apply_pragma_weak): Convert value identifier to
        string for decl_attributes.
        (handle_pragma_weak): Call assemble_alias if we're modifying
        an existing decl.

From-SVN: r53884
gcc/ChangeLog
gcc/c-pragma.c
gcc/testsuite/gcc.dg/weak-9.c [new file with mode: 0644]