[Bug c++/65642] [C++11] GCC rejects valid constant expression

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 6 10:49:05 GMT 2022


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |12.0

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #10)
> Can the bug be marked as resolved?

At the time you asked, no, because the third example still failed.

But it compiles since r12-6382 (PR89074, as Andrew suggested).

So now it can be closed as fixed in GCC 12.


More information about the Gcc-bugs mailing list