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: VAX Ultrix bootstrap with gcc-2.96 20000519: genrecog failure


> On Thu, May 25, 2000 at 10:10:32PM -0400, John David Anglin wrote:
> > > On Wed, May 24, 2000 at 01:58:07PM -0400, John David Anglin wrote:
> > > > The following bootstrap failure occurs in stage1:
> > > [...]
> > > > ../../gcc/config/vax/vax.md:139: warning: source missing a mode?
> > > 
> > > Hint: a warning is not a failure.  If compilation stopped here,
> > > you failed to paste everything.
> > 
> > Good point.  I rexamined the failure.  There are no error messages.
> > [deleted warnings]
> > ../../gcc/config/vax/vax.md:1740: warning: destination operand 0 allows non-lvalue
> > make[2]: *** [s-recog] Error 139
> 
> Error 139 is make's extremely obfuscated way of telling you that
> genrecog crashed.  If you run it by hand -

OK, I have to eat my words on the cause of this problem.  Thanks for the
suggestions.

The problem is due to the code generated for the return of the struct head
in make_insn_sequence:

L740:
        .stabd 68,0,2434
	movq -12(fp),LF126
	.stabd 68,0,2435
LBE47:
	ret

Under VAX Ultrix, PCC_STATIC_STRUCT_RETURN is defined.  Thus, the callee
should have returned the address of LF126 in r0.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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