Test failure, documentation bugs?

Luca Benini lbenini@csr.unibo.it
Wed Jan 12 18:39:00 GMT 2005


Hi
wich gcc-4.0-20050102 i've some unexpected failure.
in gcc/testsuite/gcc.dg/cleanup-{8,9,10,11}.c
i've played something with this test and i've found that they don't work
at -O2 cause -funit-at-a-time.
a little scheme

optflags	    status
-O3		       x
-O2		       x
-O1		       v
-O0		       v
-O1 -funit-at-a-time   x
-O0 -funit-at-a-time   v

So it's like some optimitation in O1 can to eccessive work with 
-funit-at-a-time, well the bad thing is that

O0 -fcprop-registers -fdefer-pop -fguess-branch-probability 
-fif-conversion -fif-conversion2 -floop-optimize -fmerge-constants 
-fthread-jumps -fmerge-constants -fdelayed-branch -fthread-jumps 
-funit-at-a-time -fexceptions -fnon-call-exception

...Using all -O1 flag in documentation work.

something is wrong... perhaps in me ;-)

Luca

-- 
But how can I implement unimaginable chaos in my compiler?
				-Geerhardt Goos-



More information about the Gcc mailing list