[Bug c/122050] statement expressions with an empty expression at the end have different behavior between C and C++

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 24 01:44:20 GMT 2025


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the C front-end behavior didn't change between GCC 4.0 and 4.1 so the
behavior was there with the older bison compiler.


More information about the Gcc-bugs mailing list