------- Comment #5 from burnus at gcc dot gnu dot org  2010-06-22 13:14 -------
Similarly for:
  static void s4 (float *restrict a) {
    for (int j=1; j < SIZE; j++) a[j] = 0;
  }

Except that this uses
   MEM[symbol: a, index: ivtmp.25_27, offset: 16] = { 0.0, 0.0, 0.0, 0.0 };
in the optimized dump rather than "memset". But also here: the loop is not
optimized away.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44612

Reply via email to