This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap failure of 19990103 ss at stage0
Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:
|> >>>>> Andreas Schwab writes:
|>
|> > Byeong-ryeol Kim <jinbo21@soback.kornet21.net> writes:
|> > |> ../../egcs-19990103/gcc/expr.c:2663: Internal compiler error in function
|> > |> emit_move_insn_1
|> > |> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|>
|> > Please try this patch, which i just sent to egcs-patches:
|>
|> > 1999-01-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|>
|> > * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Always
|> > generate the result in mode of type int.
|>
|> > --- egcs-2.92/gcc/expr.c.~1~ Wed Dec 30 17:44:10 1998
|> > +++ egcs-2.92/gcc/expr.c Wed Jan 6 00:24:40 1999
|> > @@ -9024,14 +9024,10 @@
|>
|> > /* Otherwise, emit (const (constant_p_rtx (ARG))) and let CSE
|> > get a chance to see if it can deduce whether ARG is constant. */
|> > - /* ??? We always generate the CONST in ptr_mode since that's
|> > - certain to be valid on this machine, then convert it to
|> > - whatever we need. */
|>
|> > tmp = expand_expr (arg, NULL_RTX, VOIDmode, 0);
|> > - tmp = gen_rtx_CONSTANT_P_RTX (ptr_mode, tmp);
|> > - tmp = gen_rtx_CONST (ptr_mode, tmp);
|> > - tmp = convert_to_mode (mode, tmp, 0);
|> > + tmp = gen_rtx_CONSTANT_P_RTX (TYPE_MODE (integer_type_node), tmp);
|> > + tmp = gen_rtx_CONST (TYPE_MODE (integer_type_mode), tmp);
|>
|> Shouldn't this be integer_type_node (n instead of m!)?
Oops, yes, of course. I forgot to generate a new patch.
Andreas.
--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org