diff options
author | Nathan Sidwell <nathan@acm.org> | 2022-04-06 06:37:12 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2022-05-13 07:18:52 -0700 |
commit | 0ee9a62ef4b718ce7a66051f768c2bf5e1b62263 (patch) | |
tree | 9e941fa106bf0b71c2fa471b2d336215cd952e68 /gcc/value-range.h | |
parent | af34279921f4bb95b07c0be7fce9baeffafcb53d (diff) | |
download | gcc-0ee9a62ef4b718ce7a66051f768c2bf5e1b62263.zip gcc-0ee9a62ef4b718ce7a66051f768c2bf5e1b62263.tar.gz gcc-0ee9a62ef4b718ce7a66051f768c2bf5e1b62263.tar.bz2 |
c++: Local symbols do not get module manglings
Internal-linkage entity mangling is entirely implementation defined --
there's no ABI issue. Let's not mangle in any module attachment to
them, it makes the symbols unnecessarily longer.
gcc/cp/
* mangle.cc (maybe_write_module): Check external linkage.
gcc/testsuite/
* g++.dg/modules/mod-sym-4.C: New.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions