M**********n 发帖数: 432 | 1 I used "ifort -c -g -O0 -i8" to compile a fortran program.
But when I used idb to print out some variables, it gave totally wrong
answers.
Here is some output from "idb a.out"
70253 itt = 1111111
(idb) n
70254 print*,nexcg,itt
(idb) n
1 1111111
As you can see, the program outputs 1 and 1111111 for nexcg and itt, which
are the right answers.
But when I used "print nexcg" and "pirint itt", I got
gabbage. Do someone know what coul | l*******G 发帖数: 1191 | |
|