This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28158] ICE on complex operation with -O1 -msse
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2006 22:00:49 -0000
- Subject: [Bug target/28158] ICE on complex operation with -O1 -msse
- References: <bug-28158-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-06-24 22:00 -------
(In reply to comment #1)
> Index: config/i386/i386.md
> ===================================================================
> --- config/i386/i386.md (revision 114974)
> +++ config/i386/i386.md (working copy)
> @@ -9913,7 +9913,7 @@ (define_insn "*negsf2_1"
> (define_insn "*negdf2_1"
> [(set (match_operand:DF 0 "register_operand" "=f")
> (neg:DF (match_operand:DF 1 "register_operand" "0")))]
> - "TARGET_80387 && (reload_completed || !TARGET_SSE_MATH)"
> + "TARGET_80387 && (reload_completed || !(TARGET_SSE2 && TARGET_SSE_MATH))"
> "fchs"
> [(set_attr "type" "fsgn")
> (set_attr "mode" "DF")])
> @@ -9937,7 +9937,7 @@ (define_insn "*abssf2_1"
> (define_insn "*absdf2_1"
> [(set (match_operand:DF 0 "register_operand" "=f")
> (abs:DF (match_operand:DF 1 "register_operand" "0")))]
> - "TARGET_80387 && (reload_completed || !TARGET_SSE_MATH)"
> + "TARGET_80387 && (reload_completed || !(TARGET_SSE2 && TARGET_SSE_MATH))"
> "fabs"
> [(set_attr "type" "fsgn")
> (set_attr "mode" "DF")])
That does fix it for me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28158