[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:16:31 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118726
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #11)
> (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.
>From my reading of the old parser, it was not accepted.
More information about the Gcc-bugs
mailing list