https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82892
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-11-08 CC| |dmalcolm at gcc dot gnu.org, | |msebor at gcc dot gnu.org Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- I think it would make sense to do that. Another test case is this: $ cat t.c && gcc -S -m32 t.c int lp64 = _LP64; t.c:1:12: error: ‘_LP64’ undeclared here (not in a function) int lp64 = _LP64; ^~~~~ Confirmed as an enhancement request (and adding the author of this nice feature).