[Bug c++/92467] gcc miscompiles ternary expression with omitted first operand ?: involving C++ prvalues

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 28 16:02:13 GMT 2021


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Before GCC 9, the code was rejected even.


More information about the Gcc-bugs mailing list