------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-08 19:33 ------- Confirmed, though in 3.0.4 to 3.4.0 we gave a weird error for this code: t.cc: In function `void f()': t.cc:5: error: assignment of read-only location
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fail| |2.95.3 4.0.0 4.1.0 4.2.0 Known to work| |3.4.0 3.0.4 3.3.3 3.2.3 Last reconfirmed|0000-00-00 00:00:00 |2006-09-08 19:33:14 date| | Summary|post-increment of bool |[4.0/4.1/4.2 Regression] |variable accepted as lvalue |post-increment of bool | |variable accepted as lvalue Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28989