https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126234
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Maybe there's 'a1' in two USEd modules but never actually referenced (so the
ambiguity is harmless). Sth like
module A
integer x
end
module B
integer x
end
program bar
USE A
USE B
end
(this doesn't seem to fail)
