aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-02-28 14:09:29 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-02-28 15:18:07 +0100
commitbc34db5b12e008f6ec4fdf4ebd22263c8617e5e3 (patch)
treef4256f176d2480349e2b885e4e22cfaee4169227 /libcpp
parente6037af6d5e5a43c437257580d75bc8b35a6dcfd (diff)
downloadgcc-bc34db5b12e008f6ec4fdf4ebd22263c8617e5e3.zip
gcc-bc34db5b12e008f6ec4fdf4ebd22263c8617e5e3.tar.gz
gcc-bc34db5b12e008f6ec4fdf4ebd22263c8617e5e3.tar.bz2
lto/91299 - weak definition inlined with LTO
The following fixes a thinko in the handling of interposed weak definitions which confused the interposition check in get_availability by setting DECL_EXTERNAL too early. PR lto/91299 gcc/lto/ * lto-symtab.cc (lto_symtab_merge_symbols): Set DECL_EXTERNAL only after calling get_availability. gcc/testsuite/ * gcc.dg/lto/pr91299_0.c: New testcase. * gcc.dg/lto/pr91299_1.c: Likewise.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions