https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71422
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- IMNSHO gcc shouldn't, after all, if you just put each into a separate CU, gcc won't even see them together. It should be linker's responsibility to complain.