[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #5 from Andrew Pinski --- Created attachment 60858 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60858&action=edit Easy running testcase

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #7 from Andrew Pinski --- So what is interesting is at -O2 (but not -O1 or -O0) GCC 3.4.6 worked.

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 Andrew Pinski changed: What|Removed |Added Attachment #60858|0 |1 is obsolete|

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #8 from Andrew Pinski --- (In reply to Sam James from comment #6) > (In reply to Andrew Pinski from comment #5) > > Created attachment 60858 [details] > > Easy running testcase > > With this, we can make it a regression (5.5 works)?

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2025-03-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #6 from Sam James --- (In reply to Andrew Pinski from comment #5) > Created attachment 60858 [details] > Easy running testcase With this, we can make it a regression (5.5 works)?

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-04-16 00:00:00 |2021-8-1 --- Comment #4 from Andrew Pins

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2020-01-17 Thread roland.winterstel...@wallner-automation.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 Roland Wintersteller changed: What|Removed |Added CC||roland.wintersteller@wallne

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2012-04-18 Thread will at benfold dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 --- Comment #2 from Will Benfold 2012-04-18 18:08:16 UTC --- Another test case; this one doesn't need any headers and also cuts out the loop. The exit status should always be 1, but in fact it's 0 if no command-line args are supplied and 1 other

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2012-04-16 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 Richard Guenther changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIR