Subject: Re: codegen bug, more info
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Curt Sampson <cjs@cynic.net>
List: port-sparc
Date: 08/09/1999 08:57:38
On Sun, 8 Aug 1999, der Mouse wrote:
> I'd appreciate it if someone else could try this. While similar
> conditions (identical hardware and kernel, differing userland) would of
> course be preferable, I'd be interested in results from anyone. I'd be
> especially interested to hear if this is for real in 1.4 but has been
> fixed in something later.
It doesn't appear to have been. On my SS20, running a June 28th checkout:
7thsun $ cc -o egcs-bug egcs-bug.c
7thsun $ ./egcs-bug
start
wrap(0) -> 1
Bus error - core dumped
7thsun $ cc -O -o egcs-bug egcs-bug.c
7thsun $ ./egcs-bug
start
wrap(0) -> 1
wrap(1) -> 0
7thsun $ cc -O2 -o egcs-bug egcs-bug.c
7thsun $ ./egcs-bug
start
wrap(0) -> 1
wrap(1) -> 0
cjs
--
Curt Sampson <cjs@cynic.net> 917 532 4208 De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org