cleanup_subreg_operands bug

Bernd Schmidt crux@pool.informatik.rwth-aachen.de
Wed Oct 28 01:45:00 GMT 1998


Currently, the compiler does not bootstrap on sparc-sun-solaris2.6 due to
a small oversight in cleanup_subreg_operands.  Feeding an ASM_INPUT to
insn_extract will cause it to call fatal_insn.

Bernd

	* final.c (cleanup_subreg_operands):  ASM_INPUTs need no treatment.

Index: final.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/final.c,v
retrieving revision 1.59
diff -u -p -r1.59 final.c
--- final.c	1998/10/27 23:19:27	1.59
+++ final.c	1998/10/28 09:43:38
@@ -3037,6 +3037,7 @@ cleanup_subreg_operands (insn)
       || GET_CODE (PATTERN (insn)) == USE
       || GET_CODE (PATTERN (insn)) == ADDR_VEC
       || GET_CODE (PATTERN (insn)) == ADDR_DIFF_VEC
+      || GET_CODE (PATTERN (insn)) == ASM_INPUT
       || asm_noperands (PATTERN (insn)) >= 0)
     return;
 




More information about the Gcc-patches mailing list