[Bug c++/90617] GCC 9 miscompiles Qt4 "foreach" macro

2020-12-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617 Jakub Jelinek changed: What|Removed |Added CC||budek at wtal dot de --- Comment #6

[Bug c++/90617] GCC 9 miscompiles Qt4 "foreach" macro

2019-05-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #5 from Andrew

[Bug c++/90617] GCC 9 miscompiles Qt4 "foreach" macro

2019-05-27 Thread jakub at gcc dot gnu.org
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

[Bug c++/90617] GCC 9 miscompiles Qt4 "foreach" macro

2019-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/90617] GCC 9 miscompiles Qt4 "foreach" macro

2019-05-24 Thread sch...@linux-m68k.org
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.

[Bug c++/90617] GCC 9 miscompiles Qt4 "foreach" macro

2019-05-24 Thread pinskia at gcc dot gnu.org
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