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]

Re: Return of the killer segv (egcs-2.93.21/alphaev56 - nice shorttest case)


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 __/


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