This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fortran/3191: g77 -msse ICE on minsf pattern
- To: tprince at computer dot org, gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- Subject: Re: fortran/3191: g77 -msse ICE on minsf pattern
- From: Jan Hubicka <jh at suse dot cz>
- Date: Sat, 16 Jun 2001 12:44:40 +0200
- Cc: gcc-gnats at gcc dot gnu dot org
- References: <20010615061624.909.qmail@sourceware.cygnus.com>
> (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])