https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123867
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
CC| |ebotcazou at gcc dot gnu.org
Summary|Limited With causing type |spurious visibility error
|confusion |from limited_with clause in
| |library unit hierarchy
Keywords| |rejects-valid
Last reconfirmed| |2026-01-29
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Interestingly, you need a grand-grand-child unit to trigger this, in other
words the compiler accepts all its ancestors.