https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86181
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |rguenth at gcc dot gnu.org Version|unknown |8.1.0 Resolution|--- |INVALID --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think the clang bug is incomplete and misses the 2nd TU which defines i. So GCC works (and the testcase is in the testsuite).