This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: eliminate warning in i386.md
- To: gcc-patches at gcc dot gnu dot org, ghazi at caip dot rutgers dot edu
- Subject: Re: eliminate warning in i386.md
- From: Matt Kraai <kraai at alumni dot carnegiemellon dot edu>
- Date: Fri, 16 Mar 2001 09:54:59 -0700
Howdy,
The following patch implements the suggestion of Kaveh R. Ghazi as
to how to eliminate the warning in the *truncdfsf2_2 pattern. It
bootstrapped on i686-pc-linux-gnu.
Matt
2001-03-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/i386/i386.md (*truncdfsf2_2): Add missing abort().
Index: gcc/config/i386/i386.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
retrieving revision 1.237
diff -c -3 -p -r1.237 i386.md
*** i386.md 2001/03/16 13:51:49 1.237
--- i386.md 2001/03/16 16:02:26
***************
*** 3736,3741 ****
--- 3736,3743 ----
return \"fstp%z0\\t%y0\";
else
return \"fst%z0\\t%y0\";
+ default:
+ abort();
}
}"
[(set_attr "type" "sse,fmov")