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

--- Comment #4 from Pavel M <pavel.morozkin at gmail dot com> ---
To: Andrew Pinski

At the 1st glance I expected to see that -E produces the output after splicing
is done (i.e. xxx #error). However, the "preprocessing only" is out of scope of
the C11. As stackoverflow.com user rici said: "Serializing the stream of tokens
back into a character string, which is what gcc -E does, is not required or
even mentioned by the standard, and does not form part of the translation
process specified by the standard".

Hence, per C11 the 105207 is "not a problem".

However, per quality-of-implementation matter maybe it will be useful to make
-E produce the output after splicing is done (i.e. xxx #error). What do you
think?

Reply via email to