https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111880
--- Comment #2 from zed.three at gmail dot com --- The common block is in 'third_party_module', rather than 'foo', unless you mean that it is visible from 'foo'? It is still a surprising warning in this location at any rate!