[Bug c++/86769] [12/13/14/15 Regression] g++ destroys condition variable in for statement too early

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 4 16:04:35 GMT 2025


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60374|0                           |1
        is obsolete|                            |

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 60376
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60376&action=edit
gcc15-pr86769-wip.patch

Same patch with one important critical bug fix and some testsuite coverage
which fails without the patch and succeeds with it.
Still need to do constexpr.cc now and test coverage for that.


More information about the Gcc-bugs mailing list