This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
insn-emit.c problem on alpha-dec-osf4.0
- To: egcs at cygnus dot com
- Subject: insn-emit.c problem on alpha-dec-osf4.0
- From: Weiwen Liu <weiwen dot liu at yale dot edu>
- Date: Sat, 28 Mar 1998 22:24:29 -0500 (EST)
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