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]

egcs-980328: bootstrap fail on powerpc-ibm-aix4.2.1.0


Hi,
Below is a tail of egcs-980328 bootstrap log on my
powerpc-ibm-aix4.2.1.0 (native configuration with
--enable-shared). Lines 1092-1094 of insn-emit.c
are following:

  else if (TARGET_POWER)
    FAIL;
  else

and preprocessed:

  else if ((target_flags & 0x00000001 ) )
    {end_sequence (); return _val;} ;
  else

We can see that semicolon after FAIL is invalid. The same
errors are at lines 5554-5557: we don't need semicolon after
DONE and FAIL. Fixing these errors insn-emit.c compiles
fine.

Regards,
Andrey.

-----------------------------------------------------------------------
gcc  -DIN_GCC    -g  -DHAVE_CONFIG_H -DHAIFA    -I. -I. -I./config -c
insn-emit.c
insn-emit.c: In function `gen_divsi3':
insn-emit.c:1094: parse error before `else'
insn-emit.c: At top level:
insn-emit.c:1103: `emit_operand' undeclared here (not in a function)
insn-emit.c:1103: warning: data definition has no type or storage class
insn-emit.c:1104: `emit_operand' undeclared here (not in a function)
insn-emit.c:1104: warning: data definition has no type or storage class
insn-emit.c:1105: `emit_operand' undeclared here (not in a function)
insn-emit.c:1105: warning: data definition has no type or storage class
insn-emit.c:1106: parse error before `('
insn-emit.c:1106: conflicting types for `emit_insn'
rtl.h:775: previous declaration of `emit_insn'
insn-emit.c:1108: parse error before `('
insn-emit.c:1111: warning: initialization makes integer from pointer without a c
ast
insn-emit.c:1111: initializer element is not constant
insn-emit.c:1111: warning: data definition has no type or storage class
insn-emit.c:1112: conflicting types for `end_sequence'
rtl.h:748: previous declaration of `end_sequence'
insn-emit.c:1112: warning: data definition has no type or storage class
insn-emit.c:1113: parse error before `return'
insn-emit.c: In function `gen_movstrsi':
insn-emit.c:5555: parse error before `else'
insn-emit.c: At top level:
insn-emit.c:5558: redefinition of `operand0'
insn-emit.c:1103: `operand0' previously defined here
insn-emit.c:5558: `emit_operand' undeclared here (not in a function)
insn-emit.c:5558: warning: data definition has no type or storage class
insn-emit.c:5559: redefinition of `operand1'
insn-emit.c:1104: `operand1' previously defined here
insn-emit.c:5559: `emit_operand' undeclared here (not in a function)
insn-emit.c:5559: warning: data definition has no type or storage class
insn-emit.c:5560: redefinition of `operand2'
insn-emit.c:1105: `operand2' previously defined here
insn-emit.c:5560: `emit_operand' undeclared here (not in a function)
insn-emit.c:5560: warning: data definition has no type or storage class
insn-emit.c:5561: `emit_operand' undeclared here (not in a function)
insn-emit.c:5561: warning: data definition has no type or storage class
insn-emit.c:5562: parse error before `('
insn-emit.c:5562: conflicting types for `emit'
rtl.h:1170: previous declaration of `emit'
insn-emit.c:5563: parse error before `3'
insn-emit.c:5571: redefinition of `_val'
insn-emit.c:1111: `_val' previously defined here
insn-emit.c:5571: warning: initialization makes integer from pointer without a c
ast
insn-emit.c:5571: initializer element is not constant
insn-emit.c:5571: warning: data definition has no type or storage class
insn-emit.c:5572: warning: data definition has no type or storage class
insn-emit.c:5573: parse error before `return'
make[2]: *** [insn-emit.o] Error 1
make[2]: Leaving directory `/home/pooh/src/egcs-980328/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/pooh/src/egcs-980328/gcc'
make: *** [bootstrap] Error 2


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