This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcse creates VOIDmode pseudos.
- To: Bernd Schmidt <crux at Pool dot Informatik dot RWTH-Aachen dot DE>
- Subject: Re: gcse creates VOIDmode pseudos.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 29 May 1998 01:52:46 -0600
- cc: egcs-patches at cygnus dot com, egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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