------- Comment #1 from amylaar at gcc dot gnu dot org 2005-11-11 16:30 ------- Created an attachment (id=10215) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10215&action=view) test case
For sh-elf, ./cc1 -fpreprocessed -g -O2 l0.c -o l0.s-0 ./cc1 -fpreprocessed -g -O2 l0.c -o l0.s-01 ./cc1 -fpreprocessed -g -O2 l0.c -o l0.s-02 all produce the same result (with address space randomization active), which is differs in debug info from what you get with any of: ./cc1 -fpreprocessed -g -O2 l0.c -o l0.s-1 -da ./cc1 -fpreprocessed -g -O2 l0.c -o l0.s-11 -da ./cc1 -fpreprocessed -g -O2 l0.c -o l0.s-12 -da Likewise, the debug info for ../../i686/gcc/cc1 -fpreprocessed -g -O2 l0.c -o l0.s-i0 differs from the one for: ../../i686/gcc/cc1 -fpreprocessed -g -O2 l0.c -o l0.s-i1 -da -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24801