https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112820
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |documentation,
| |internal-improvement
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The flags are documented to not apply to the same entities (TYPE_DECL vs. other
_DECL nodes). If that no longer applies then I think we should pick different
flags here (or not use DECL_EXTERNAL on TYPE_DECL in the C++ frontend?).
We might want to strengthen the tree checking on DECL_EXTERNAL as it currently
allows all decl nodes.