OSDN Git Service

(emit_float_lib_cmp): Init LIBFUNC; abort if not reset.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Feb 1994 15:49:00 +0000 (15:49 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Feb 1994 15:49:00 +0000 (15:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6645 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/optabs.c

index ff96b4c..26e447c 100644 (file)
@@ -2628,7 +2628,7 @@ emit_float_lib_cmp (x, y, comparison)
      enum rtx_code comparison;
 {
   enum machine_mode mode = GET_MODE (x);
-  rtx libfunc;
+  rtx libfunc = 0;
 
   if (mode == SFmode)
     switch (comparison)
@@ -2760,6 +2760,9 @@ emit_float_lib_cmp (x, y, comparison)
       abort ();
     }
 
+  if (libfunc == 0)
+    abort ();
+
   emit_library_call (libfunc, 1,
                     word_mode, 2, x, mode, y, mode);