------- Comment #3 from pinskia at gcc dot gnu dot org 2010-04-27 02:08 ------- Very reduced testcase: extern void sf ( __const char *); struct Matrix{ int operator[](int n){ sf ( __PRETTY_FUNCTION__); } int operator[](int n)const{ sf ( __PRETTY_FUNCTION__); } }; void calcmy(Matrix const &b, Matrix &c, int k){ b[k]; c[k]; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |assemble-failure, wrong-code Last reconfirmed|0000-00-00 00:00:00 |2010-04-27 02:08:44 date| | Target Milestone|--- |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43905