optimization bug in GCC 2.95.1 on sparc?

Jeffrey A Law law@cygnus.com
Tue Oct 19 02:19:00 GMT 1999


  In message <199909151458.PAA01792@tizer.dcs.warwick.ac.uk>you write:
  > compile this program with:
  > 
  >    $ gcc -c -O2 -fPIC test-gcc.c -o test-gcc.o
  >    $ gcc -g -o test-gcc test-gcc.o
  > 
  > when run it prints "regrepeat -> 1" instead of "regrepeat -> 0" as I
  > think it should
  > 
  >    $ gcc -v
  >    Reading specs from /gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/specs
  >    gcc version 2.95.1 19990816 (release)
  > 
  >    $ uname -a
  >    SunOS tizer 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-5_10 */
  > 

I've been unable to reproduce this problem with the gcc-2.95.2 prerelease
sources.  

jeff



More information about the Gcc-bugs mailing list