regression since 2.7.2 on sparc-solaris

Oleg Krivosheev kriol@fnal.gov
Tue Nov 25 18:36:00 GMT 1997


i was unable to get working version (i.e. final
binary segfaults on test data) of bzip2 (nice data compressor)
with latest egcs:

drabble /scratch/AAA $ uname -a SunOS drabble 5.5.1 Generic_103640-08
sun4m sparc SUNW,SPARCstation-4 
drabble /scratch/AAA $ gcc -v Reading specs from
/home/room1/kriol/local/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.18/specs
gcc version egcs-2.90.18 971122 (gcc2-970802 experimental) 

The problem occurs
if  CFLAGS = -On -fomit-frame-pointer -funroll-loops
where n > 1. Removing -funroll-loops cure the
problem up to -O6.

gcc 2.7.2 works fine and produces
working binaries with above options.

bzip2 sources are here 

http://www.muraroa.demon.co.uk/


regards

OK




More information about the Gcc-bugs mailing list