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]

Re: fortran/3191: g77 -msse ICE on minsf pattern


> (insn 8283 8282 8285 (parallel[ 
>             (set (reg:SF 21 exmm0 [2315])
>                 (if_then_else:SF (lt (reg:SF 21 exmm0 [2315])
>                         (mem:SF (const:SI (plus:SI (symbol_ref:SI ("spacer_"))
>                                     (const_int 140 [0x8c]))) 0))
>                     (reg:SF 21 exmm0 [2315])
>                     (mem:SF (const:SI (plus:SI (symbol_ref:SI ("spacer_"))
>                                 (const_int 140 [0x8c]))) 0)))
>             (clobber (reg:CC 17 flags))
>         ] ) 611 {*minsf} (nil)
>     (expr_list:REG_UNUSED (reg:CC 17 flags)
>         (nil)))
> k77s.f:822: Internal compiler error in final_scan_insn, at final.c:2911
It is an pasto.
I am installing the fix as obvious.

Sat Jun 16 12:43:21 CEST 2001  Jan Hubicka  <jh@suse.cz>
	* i386.md (minsf): Fix splitter. (PR 3191)

Index: i386.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.md,v
retrieving revision 1.275
diff -c -3 -p -r1.275 i386.md
*** i386.md	2001/06/13 00:54:41	1.275
--- i386.md	2001/06/16 10:42:44
***************
*** 15840,15847 ****
    [(set (match_operand:SF 0 "register_operand" "")
  	(if_then_else:SF (lt (match_operand:SF 1 "register_operand" "")
  			     (match_operand:SF 2 "nonimmediate_operand" ""))
! 			 (match_operand:DF 3 "register_operand" "")
! 			 (match_operand:DF 4 "nonimmediate_operand" "")))
     (clobber (reg:CC 17))]
    "SSE_REG_P (operands[0]) && reload_completed
     && ((operands_match_p (operands[1], operands[3])
--- 15840,15847 ----
    [(set (match_operand:SF 0 "register_operand" "")
  	(if_then_else:SF (lt (match_operand:SF 1 "register_operand" "")
  			     (match_operand:SF 2 "nonimmediate_operand" ""))
! 			 (match_operand:SF 3 "register_operand" "")
! 			 (match_operand:SF 4 "nonimmediate_operand" "")))
     (clobber (reg:CC 17))]
    "SSE_REG_P (operands[0]) && reload_completed
     && ((operands_match_p (operands[1], operands[3])


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