From mboxrd@z Thu Jan 1 00:00:00 1970 From: Weiwen Liu To: egcs@cygnus.com Subject: insn-emit.c problem on alpha-dec-osf4.0 Date: Sat, 28 Mar 1998 19:24:00 -0000 Message-id: X-SW-Source: 1998-03/msg00973.html 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