http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58529
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Marc Glisse from comment #3) > Does it help if you pass the_bins_size as int*restrict (and adapt the uses)? > Or use a local variable instead that you write at the end? That doesn't have any effect. Off topic: > Gcc has a notoriously restricted view of what restrict means [...](it is a > feature). Others would call it a bug - and currently work on changing GCC's internal representation for "restrict". (Cf. PR45586, PR58526 and some other bugs.)