------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-02 06:08 ------- With TER: [t.c : 8] D.1144 = [t.c : 8] add2 (3, 4); [t.c : 13] printf (&"%d\n"[0], D.1144 + 2) [tail call]; [t.c : 14] return; Without: [t.c : 8] D.1144 = [t.c : 8] add2 (3, 4); [t.c : 8] D.1124 = D.1144 + 2; [t.c : 13] printf (&"%d\n"[0], D.1124) [tail call]; [t.c : 14] return;
In a way we cannot say the addition is on line 8 because we already optimizated before. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19192