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

Daniel Wright <daniel at hebirobotics dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel at hebirobotics dot com

--- Comment #3 from Daniel Wright <daniel at hebirobotics dot com> ---
I am having this same issue but with `_Pragma push_macro("__LINE__")`

Here is an example piece of code which fails on GCC (I've tested any version
from 5.2 up to the current trunk (9.0.0)):

https://gcc.godbolt.org/z/v_fM_V

While this is probably UB per any ISO C++ standard, all other major compilers
will compile the code, so I don't see why GCC shouldn't as well.

Reply via email to