https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99466
Bug ID: 99466 Summary: internal compiler error: in function_and_variable_visibility, at ipa-visibility.c:795 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Reproduced on x86_64-apple-darwin10, but I expect all targets that depend on emutls to be affected. __attribute__((weak)) __thread int tlsvar = 3;