------- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-27 09:25 ------- It's not a bug. const restrict doesn't say anything special and restrict only disambiguates against other restrict pointers. Thus, the store through a _can_ modify what b points to.
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43907