ICE breaks glibc compilation on PPC

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Mon Sep 18 15:26:00 GMT 2000


On Sun, 17 Sep 2000, Franz Sirl wrote:
> Hi,
>
> the appended testcase breaks glibc compilation on Linux/PPC.

This is caused by this change:

2000-09-01  Alexandre Oliva  <aoliva@redhat.com>
        * stmt.c (expand_asm_operands): Likewise.  Give an
        ASM_OPERANDS rtx the mode of the output reg being set from it.

The appended patch fixes it for me, it prevents combine from stripping of the 
SUBREG of a pattern with an ASM_OPERAND like:

(subreg:SI (asm_operands/v:DF ("mffs %0") ("=f") 0[ ]
        [ ]  ("fgetexcptflg.c") 16) 1)

OK to commit?

Franz.


	* emit-rtl.c (subreg_lowpart_p): Don't return true for the SUBREG of an
	ASM_OPERAND.



More information about the Gcc-patches mailing list