------- Comment #3 from rguenth at gcc dot gnu dot org 2010-08-27 11:41 ------- Reproducable with -O3 alone, -fbounds-check makes it more visible. With plain -O3:
tree iv optimization : 22.64 (33%) usr 0.18 (11%) sys 22.97 (32%) wall 113858 kB (16%) ggc and with added -fbounds-check: tree iv optimization : 184.70 (78%) usr 0.67 (31%) sys 186.67 (78%) wall 166066 kB (18%) ggc this connection with bounds-checking makes it sound familiar. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45422