(emit_float_lib_cmp): Init LIBFUNC; abort if not reset.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 27 Feb 1994 15:49:00 +0000 (10:49 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 27 Feb 1994 15:49:00 +0000 (10:49 -0500)
From-SVN: r6645

gcc/optabs.c

index ff96b4c9a2231ff3277a8aaa952b3576fb3d7279..26e447c4dc42405d778625484475868daab0b6f0 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);