gcse creates VOIDmode pseudos.
Jeffrey A Law
law@cygnus.com
Fri May 29 01:01:00 GMT 1998
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
More information about the Gcc-bugs
mailing list