[Bug c++/123737] [15/16 Regression] GCC produces incorrect output when overloading operator, comma operator since r15-7089
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 03:55:55 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123737
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|GCC produces incorrect |[15/16 Regression] GCC
|output when overloading |produces incorrect output
|operator, comma operator |when overloading operator,
| |comma operator since
| |r15-7089
Keywords| |wrong-code
Target Milestone|--- |15.3
CC| |jakub at gcc dot gnu.org
Known to fail| |15.1.0
Last reconfirmed| |2026-01-21
Known to work| |14.3.0
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am 99% sure this is due to r15-7089-gf31d49d65412d0 which has
raw_data_min_len being 128.
Basically we lex this as a RAW_DATA but then don't resolve it using operator,
and just throw it away as for most comma operator it has no side effects except
in this case ...
More information about the Gcc-bugs
mailing list