rendered paste body(gdb) frame 0
#0 operator* (x=..., y=...) at adouble.cpp:1001
1001 adub operator * ( const badouble& x, const badouble& y ) {
(gdb) print x.location
$4 = 4
(gdb) print y.location
$5 = 6
(gdb) n
1004 locint locat = next_loc();
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 3
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb)
1006 if (ADOLC_CURRENT_TAPE_INFOS.traceFlag) { // old: write_two_a_rec(mult_a_a,locat,x.location,y.location);
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 3
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb)
1004 locint locat = next_loc();
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 3
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb)
1006 if (ADOLC_CURRENT_TAPE_INFOS.traceFlag) { // old: write_two_a_rec(mult_a_a,locat,x.location,y.location);
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 3
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb)
1017 ADOLC_GLOBAL_TAPE_VARS.store[locat] = ADOLC_GLOBAL_TAPE_VARS.store[x.location] * ADOLC_GLOBAL_TAPE_VARS.store[y.location];
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 3
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb)
1019 }
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 3
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb)
1017 ADOLC_GLOBAL_TAPE_VARS.store[locat] = ADOLC_GLOBAL_TAPE_VARS.store[x.location] * ADOLC_GLOBAL_TAPE_VARS.store[y.location];
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 3
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb) p locat
$6 = 4
(gdb) n
1018 return locat;
16: globalTapeVars.store[15] = 0
15: globalTapeVars.store[14] = 0
14: globalTapeVars.store[13] = 0
13: globalTapeVars.store[12] = 0
12: globalTapeVars.store[11] = 0
11: globalTapeVars.store[10] = 0
10: globalTapeVars.store[9] = 0
9: globalTapeVars.store[8] = 0
8: globalTapeVars.store[7] = 6
7: globalTapeVars.store[6] = 2
6: globalTapeVars.store[5] = 2
5: globalTapeVars.store[4] = 6
4: globalTapeVars.store[3] = 2
3: globalTapeVars.store[2] = 3
2: globalTapeVars.store[1] = 2
1: globalTapeVars.store[0] = 3
(gdb)