varasm.c (merge_weak): Error for any weakening after definition.
authorRichard Henderson <rth@gcc.gnu.org>
Wed, 15 May 2002 16:50:44 +0000 (09:50 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 15 May 2002 16:50:44 +0000 (09:50 -0700)
commit14285ace8899def6117605a40a2b7bacabbfb1ab
tree179f7a6574d28237262fa17ca5626ccf632f8315
parentd2aa36f5d96ab2a31788516e05b4c1f3cc0503d6
varasm.c (merge_weak): Error for any weakening after definition.

        * varasm.c (merge_weak): Error for any weakening after definition.
        Adjust weakening after use warning to catch more cases.
        (assemble_alias): Set TREE_USED and TREE_ASM_WRITTEN consistently.
        * config/alpha/alpha.c (alpha_encode_section_info): Do not abort.

        * gcc.dg/weak-5.c (vfoo1c): No warning here.
        (vfoo1f): Warning here.
        (vfoo1l): Don't redefine the alias.

From-SVN: r53491
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/weak-5.c
gcc/varasm.c