https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617
Jakub Jelinek changed:
What|Removed |Added
CC||budek at wtal dot de
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617
Andrew Pinski changed:
What|Removed |Added
Resolution|INVALID |DUPLICATE
--- Comment #5 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617
--- Comment #2 from Andreas Schwab ---
According to [stmt.for] the expression is supposed to be evaluated in the scope
of the inner loop.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617
--- Comment #1 from Andrew Pinski ---
> for (int x = *_container_.i;
> ;
> __extension__ ({--_container_.brk; break;})) {
>
> std::cout << "x = " << x << std::endl;
>}
Hmmm, the question here becomes where is that