This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

regression since 2.7.2 on sparc-solaris



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]