https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110798
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED Keywords|needs-bisection | --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > I almost positive this was fixed by r14-159-g03cebd304955a6 which was > backported to GCC 13 branch r13-7277-ga713aa4f47ac1e (for 13.2.0) . Yes, bisection confirms it. So this is a dup. Aside: I'm not sure I'd call this a wrong-code bug. The testcase would be simpler if it used static_assert instead of assert, which would make it accepts-invalid / rejects-valid instead. *** This bug has been marked as a duplicate of bug 108099 ***