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: bootstrap failure, x86: stage1 miscompiles gengenrtl


On Thu, Mar 30, 2000 at 05:15:36PM -0800, Zack Weinberg wrote:
> On Fri, Mar 31, 2000 at 11:04:12AM +1000, Alan Modra wrote:
> > On Thu, 30 Mar 2000, Zack Weinberg wrote:
> > 
> > > stage1/xgcc -Bstage1/ -B/work/inst/i686-pc-linux-gnu/bin/ -c -DIN_GCC
> > >     -W -Wall -Wtraditional -O2 -g -W -Wall -Wtraditional -DHAVE_CONFIG_H
> > >     -I. -I/work/src/hashtab.gcc/gcc -I/work/src/hashtab.gcc/gcc/config
> > >     -I/work/src/hashtab.gcc/gcc/../include
> > >     /work/src/hashtab.gcc/gcc/gengenrtl.c
> > > stage1/xgcc -Bstage1/ -B/work/inst/i686-pc-linux-gnu/bin/ -DIN_GCC -W
> > >      -Wall -Wtraditional -O2 -g -W -Wall -Wtraditional -DHAVE_CONFIG_H 
> > >      -o gengenrtl gengenrtl.o obstack.o
> > > ./gengenrtl -h >tmp-genrtl.h
> > > Segmentation fault
> 
> ...
> > >         movl    8(%ebp), %edi
> > >         .stabn 68,0,261,.LM74-genmacro
> > > .LM74:
> > >         leal    (%edi,%edi,2), %eax
> > >         leal    0(,%eax,4), %ebx
> > >         movl    defs(%ebx), %eax
> > >         pushl   %eax
> > >         subl    $12, %esp
> > 
> > The above two instructions seem to be in the wrong order.  That's likely
> > your segv problem.
> 
> Yeah, that'd do it.

FYI, this turns out to be because calls.c had a sticky tag on it.
Sorry for the spurious report.

zw

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