This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization bug in GCC 2.95.1 on sparc?
- To: John Harper <john at dcs dot warwick dot ac dot uk>
- Subject: Re: optimization bug in GCC 2.95.1 on sparc?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 19 Oct 1999 03:08:03 -0600
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
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