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.