This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Return of the killer segv (egcs-2.93.21/alphaev56 - nice shorttest case)
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: Return of the killer segv (egcs-2.93.21/alphaev56 - nice shorttest case)
- From: Dave Gilbert <gilbertd at treblig dot org>
- Date: Sat, 5 Jun 1999 15:04:30 +0100 (BST)
- cc: egcs-bugs at egcs dot cygnus dot com
On Fri, 4 Jun 1999, Richard Henderson wrote:
> On Mon, May 03, 1999 at 11:04:28PM +0100, Dave Gilbert wrote:
> > On alphaev56-unknown-linux-gnu/egcs-2.93.21 when compiling the following
> > program (which is a boiled down version of Mesa-3.0 src-glut/glut_dstr.s)
> >
> > --------------------------------------------
> > void
> > broken030599(int *n)
> > {
> > int i, x;
> > for (i = 0; i < 32; i++) {
> > x=0;
> > x++;
> > if (i & 4)
> > x++;
> > x++;
> > }
> > }
> > -----------------------------------------------
> >
> > I get a Seg fault:
>
> I don't see that anymore with today's cvs. Can you still
> reproduce the problem?
Yep - it seems to have gone; I've just built Mesa-3.0 with -O6 and it
seems happy. (and giving reasonable performance figures).
Dave
--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on | Happy \
\ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex /
____________________________|___ http://www.treblig.demon.co.uk __/