------- Comment #4 from tjvries at xs4all dot nl 2010-06-21 10:20 ------- Created an attachment (id=20953) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20953&action=view) minimal test case of 14 lines, cut down from varasm.i
I also ran into this bug, while building gcc 4.3.5 for x86_64-unknown-linux-gnu with make {CFLAGS,BOOT_CFLAGS,STAGE1_CFLAGS}=\"-g3\ -O0\ -dH\". I managed to minimized the test case down to 14 lines. The difference in debug info can be reproduced using: ... $ cc1 varasm.i -O0 -g -quiet -o varasm.s $ cc1 varasm.i -O0 -g -quiet -o varasm.s.0.0 --param ggc-min-expand=0 --param ggc-min-heapsize=0 ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31230