https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68288
--- Comment #5 from Andrew Pinski ---
GCC, ICC, and clang all reject this.
MSVC accepts this.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68288
--- Comment #4 from Yuriy Solodkyy ---
P.S. I added my previous example to this bug as they seemed to be related, feel
free to split it into a separate bug if they are not.
P.P.S. Change that return expression to 42_sp-p and the parser seems to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68288
Yuriy Solodkyy changed:
What|Removed |Added
CC||solodon at mail dot com
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68288
--- Comment #2 from lucdanton at free dot fr ---
(In reply to TC from comment #1)
> This behavior looks correct to me. (Clang behaves identically.)
>
> 0e1_e+0 is a valid pp-number, so per max munch it must be parsed that way,
> as a single prepr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68288
TC changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #1 from TC ---