[Bug preprocessor/123273] -E -fdirectives-only reporting error on comments

yshuiv7 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 23 07:11:35 GMT 2025


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

Yuxuan Shui <yshuiv7 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|15.1.0                      |14.3.0

--- Comment #1 from Yuxuan Shui <yshuiv7 at gmail dot com> ---
I can further reduce it to these two lines:

/*
print "\/\* $bits \*\/\n";
print "#define HDR_${name}_VAL(h)".(" " x
(11-length($name)))."(((h)\&HDR_$name) >> ".length($1).")\n";
*/


More information about the Gcc-bugs mailing list