[Bug preprocessor/69126] [6 regression] _Pragma does not apply if part of a macro
sbergman at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Feb 1 13:55:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69126
--- Comment #24 from Stephan Bergmann <sbergman at redhat dot com> ---
(In reply to Manuel López-Ibáñez from comment #23)
> That is weird. If you use "GCC diagnostic warning" instead of "ignored", you
> should be able to see some changes in locations between -O0 and -O1 and
> before/after the bug appeared, don't you?
No. The reported locations remain unaffected (errors/warnings at test.cc:12:5
and test.cc:12:7, notes at test.cc:9:34). Just that (after replacing "ignored"
with "warning") they get reported as errors with -O1 and r232893 included, and
as warnings otherwise (i.e., either with -O0 and r232893 included, or with
either -O0/1 and r232893 reverted).
More information about the Gcc-bugs
mailing list