aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-01-28 15:15:20 -0500
committerJason Merrill <jason@redhat.com>2020-01-28 16:45:22 -0500
commit25d62480c89d6db90a66ba69f6dbaa820a1ac90b (patch)
tree13bf87eef5349bef8f54b786ede4feab866a2026 /gcc/cse.c
parent99eb1a824a69eb390bc104a1b91f901773866dd4 (diff)
downloadgcc-25d62480c89d6db90a66ba69f6dbaa820a1ac90b.zip
gcc-25d62480c89d6db90a66ba69f6dbaa820a1ac90b.tar.gz
gcc-25d62480c89d6db90a66ba69f6dbaa820a1ac90b.tar.bz2
c++: Fix guard variable and attribute weak.
My patch for PR 91476 worked for decls that are implicitly comdat/weak due to C++ linkage rules, but broke variables explicitly marked weak. PR c++/93477 PR c++/91476 * decl2.c (copy_linkage): Do copy DECL_ONE_ONLY and DECL_WEAK.
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions