[Bug c++/118726] [12/13/14/15 Regression] deconstructor for variable definition in the condition of a for loop is too soon

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 2 08:08:23 GMT 2025


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

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #7)
> Created attachment 60354 [details]
> fixedup testcase

This fails even with GCC 3.4.6 but I have no way to test the old parser.


More information about the Gcc-bugs mailing list