[Bug c++/69126] [6 regression] _Pragma does not apply if part of a macro

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 7 17:11:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69126

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't understand those interactions either, and agree it would be nice to
first understand those.  Which is why I've CCed Dodji and David, in hopes they
could shed some light into this.
For whatever reason, the DECL_SOURCE_LOCATION of the x decl when it comes from
macro is the locus where the macro is used rather than the locus in the macro.


More information about the Gcc-bugs mailing list