------- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-05 10:05 ------- They are platform dependent in that non-register operations are accounted according to their move cost. Thus if at all it is
int* a = 0; a[0] = var3; that makes the difference. You can either increase optimization level or the inlining parameters. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41272