https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94429
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2020-04-01
Status|RESOLVED |NEW
Resolution|INVALID |---
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I asked the reporter to file this bug, because I think the warning should say
"may be undefined in C and older versions of C++" or something like that.
It's fine to warn (as documented) but the text of the warning should be
accurate. If it's 100% guaranteed to be not undefined in the current
translation unit, it's wrong to say "may be undefined".