This is the mail archive of the gcc-patches@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]

Re: gcse creates VOIDmode pseudos.



  In message <Pine.SOL.3.90.980528104457.28555G-100000@matlock.informatik.rwth-aachen.de>you write:
  > I tried compiling a Linux-2.1.103 kernel with the new gcse optimizations.
  > I got tons of internal compiler errors which were caused by VOIDmode
  > pseudo regs which were created by the line
  >   expr->reaching_reg = gen_reg_rtx (GET_MODE (expr->expr))
  > in gcse.c. "expr->expr" was an ASM_OPERANDS in those cases. The following
  > patch fixes the problem for me. The resulting kernel even boots ;)
Thanks.  I fixed this in a different, simpler way (get the mode from
the destination of the original set).

jeff


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