------- Comment #1 from ghazi at gcc dot gnu dot org 2010-03-23 18:39 ------- The "-O0" vs "-O0 -g" diffs appear to be the same except for line number changes. So here is just the "-O0 -g" diffs for both testcases:
line #69 < .LCL1: > .LCL0: line #70 < .long .LCTOC1-.LCF1 > .long .LCTOC1-.LCF0 line #88 < bcl 20,31,.LCF1 > bcl 20,31,.LCF0 line #89 < .LCF1: > .LCF0: line #91 < lwz 0,.LCL1-.LCF1(30) > lwz 0,.LCL0-.LCF0(30) FAIL: gcc.dg/pch/static-1.c -O0 -g assembly comparison line #70 < .LCL1: > .LCL0: line #71 < .long .LCTOC1-.LCF1 > .long .LCTOC1-.LCF0 line #89 < bcl 20,31,.LCF1 > bcl 20,31,.LCF0 line #90 < .LCF1: > .LCF0: line #92 < lwz 0,.LCL1-.LCF1(30) > lwz 0,.LCL0-.LCF0(30) FAIL: gcc.dg/pch/static-2.c -O0 -g assembly comparison -- ghazi at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.3.5 Known to work| |4.4.4 4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43497