* insn-emit.c problem on alpha-dec-osf4.0
@ 1998-03-28 19:24 Weiwen Liu
1998-03-31 0:46 ` Jeffrey A Law
1998-03-31 0:46 ` Jeffrey A Law
0 siblings, 2 replies; 3+ messages in thread
From: Weiwen Liu @ 1998-03-28 19:24 UTC (permalink / raw)
To: egcs
Hi,
On alpha-dec-osf4.0, the generated insn-emit.c from the current CVS
tree can not be compiled.
DONE and FAIL are changed from egcs-980321 to be
#define FAIL {end_sequence (); return _val;}
#define DONE {_val = gen_sequence (); end_sequence (); return _val;}
insn-emit.c has the following function:
rtx
gen_split_279 (operands)
rtx *operands;
{
rtx operand0;
rtx operand1;
rtx operand2;
rtx operand3;
rtx _val = 0;
start_sequence ();
{ rtx tem
= alpha_emit_set_const (operands[0], DImode, INTVAL (operands[1]), 2);
if (tem == operands[0])
DONE;
else
FAIL;
}
operand0 = operands[0];
operand1 = operands[1];
operand2 = operands[2];
operand3 = operands[3];
emit_insn (gen_rtx_SET (VOIDmode,
operand0,
operand2));
emit_insn (gen_rtx_SET (VOIDmode,
operand0,
gen_rtx_PLUS (DImode,
operand0,
operand3)));
_val = gen_sequence ();
end_sequence ();
return _val;
}
Due to the extra ";" after DONE, insn-emit.c can not be compiled.
There are a couple of similar lines in insn-emit.c.
Weiwen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: insn-emit.c problem on alpha-dec-osf4.0
1998-03-28 19:24 insn-emit.c problem on alpha-dec-osf4.0 Weiwen Liu
@ 1998-03-31 0:46 ` Jeffrey A Law
1998-03-31 0:46 ` Jeffrey A Law
1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 1998-03-31 0:46 UTC (permalink / raw)
To: Weiwen Liu; +Cc: egcs
In message < Pine.OSF.3.96.980328222359.2040A-100000@ylws34 >you write:
> Hi,
>
> On alpha-dec-osf4.0, the generated insn-emit.c from the current CVS
> tree can not be compiled.
> DONE and FAIL are changed from egcs-980321 to be
>
> #define FAIL {end_sequence (); return _val;}
> #define DONE {_val = gen_sequence (); end_sequence (); return _val;}
>
> insn-emit.c has the following function:
What compiler is this happening with? I'l see what I can do..
jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: insn-emit.c problem on alpha-dec-osf4.0
1998-03-28 19:24 insn-emit.c problem on alpha-dec-osf4.0 Weiwen Liu
1998-03-31 0:46 ` Jeffrey A Law
@ 1998-03-31 0:46 ` Jeffrey A Law
1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 1998-03-31 0:46 UTC (permalink / raw)
To: Weiwen Liu; +Cc: egcs
In message < Pine.OSF.3.96.980328222359.2040A-100000@ylws34 >you write:
> Hi,
>
> On alpha-dec-osf4.0, the generated insn-emit.c from the current CVS
> tree can not be compiled.
> DONE and FAIL are changed from egcs-980321 to be
>
> #define FAIL {end_sequence (); return _val;}
> #define DONE {_val = gen_sequence (); end_sequence (); return _val;}
>
> insn-emit.c has the following function:
I believe I've fixed this. If you're CVS capable, update genemit.c
and rebuild.
jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-31 0:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-28 19:24 insn-emit.c problem on alpha-dec-osf4.0 Weiwen Liu
1998-03-31 0:46 ` Jeffrey A Law
1998-03-31 0:46 ` Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).