http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48008
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 Status|NEW |ASSIGNED Target Milestone|4.6.0 |--- --- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-07 16:58:45 UTC --- Oh, yuck. The issue here is that attribute const/noreturn use the same representation as function cv-quals, so when I fixed the compiler to ignore the attributes it started ignoring the function cv-quals as well. Should definitely fix this for 4.6.