https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93703
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- 'const' implies internal linkage unless you specify extern. So 'extern' is missing in a.cc. (this is unlike in C where const does not imply internal linkage)