[Bug c++/103732] Incorrect constexpr evaluation of runtime expression

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 3 17:07:57 GMT 2024


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> >        constexpr int y = s0.C;
> 
> 
> The above is now valid due to https://wg21.link/p2280r2 (which was acecpted
> as a defect report against all C++ versions).

Note the paper in the end is https://wg21.link/p2280 .


More information about the Gcc-bugs mailing list