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: eliminate warning in i386.md


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")


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