https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106820
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=104433 --- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> --- Reduced: $ cat 106820_a.H static int __gthrw___pthread_key_create() __attribute__((__weakref__("foo"))); $ cat 106820_b.C import "106820_a.H"; int main() { __gthrw___pthread_key_create(); } $ g++ -fmodules-ts 106820_a.H 106820_b.C 106820_b.C:5:1: internal compiler error: in function_and_variable_visibility, at ipa-visibility.cc:712