https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120589
Jeffrey A. Law <law at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> --- Seems to fix: mcore-sim: gcc: gcc.c-torture/compile/dll.c -O0 (internal compiler error: in assemble_variable, at varasm.cc:2544) mcore-sim: gcc: gcc.dg/visibility-12.c (internal compiler error: in expand_call, at calls.cc:3744) I know the latter is what you were targeting, the former may be an unintended (but positive) side effect, I didn't dig into it at all.