egcs 1.1b sparc Solaris 5.5.1 optimsation failure

Mark Phillips M.S.Phillips@nortel.co.uk
Wed Sep 16 06:13:00 GMT 1998


I've just built the 1.1b release and a load of the optimisation tests have
failed!

I am running Solaris 5.5.1 on a Sparstation 5. The assembler is from
binutils 2.8.1 as is the ld.

Are these failures expected?!

I have had a brief look at 980506-2.c and confirm that under a debugger it
works with -O1 but appears to optimise the *ip=0 out of existance at -O2.

Please CC any responses to msp@nortel.co.uk (because I am not currently
subscribed to this list, though I have submitted a subscribe).

Cheers
Mark



FAIL: gcc.c-torture/execute/980506-2.c execution,  -O2 
FAIL: gcc.c-torture/execute/980506-2.c execution,  -O2 -g 
FAIL: gcc.c-torture/execute/980506-2.c execution,  -Os 
FAIL: gcc.c-torture/execute/980526-1.c execution,  -O2
-fomit-frame-pointer -finline-functions 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer
-finline-functions 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer
-finline-functions -funroll-loops 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer
-finline-functions -funroll-all-loops 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -g 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -Os 
FAIL: gcc.c-torture/execute/loop-2g.c execution,  -O2 
FAIL: gcc.c-torture/execute/loop-2g.c execution,  -O2 -fomit-frame-pointer
-finline-functions 
FAIL: gcc.c-torture/execute/loop-2g.c execution,  -O2 -fomit-frame-pointer
-finline-functions -funroll-loops 
FAIL: gcc.c-torture/execute/loop-2g.c execution,  -O2 -fomit-frame-pointer
-finline-functions -funroll-all-loops 
FAIL: gcc.c-torture/execute/loop-2g.c execution,  -O2 -g 
FAIL: gcc.c-torture/execute/loop-2g.c execution,  -Os 
FAIL: gcc.dg/980626-1.c (test for excess errors)
FAIL: g++.jason/thunk2.C (test for excess errors)
FAIL: g++.robertl/eb91.C (test for excess errors)


-- 
Mark S. Phillips        ESN 742 2461
msp@nortel.co.uk        Tel. +44 1279 402461




More information about the Gcc mailing list