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]

cleanup_subreg_operands bug


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;
 



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