Commit 0a300065 by Richard Kenner

(emit_float_lib_cmp): Init LIBFUNC; abort if not reset.

From-SVN: r6645
parent 870bc052
...@@ -2628,7 +2628,7 @@ emit_float_lib_cmp (x, y, comparison) ...@@ -2628,7 +2628,7 @@ emit_float_lib_cmp (x, y, comparison)
enum rtx_code comparison; enum rtx_code comparison;
{ {
enum machine_mode mode = GET_MODE (x); enum machine_mode mode = GET_MODE (x);
rtx libfunc; rtx libfunc = 0;
if (mode == SFmode) if (mode == SFmode)
switch (comparison) switch (comparison)
...@@ -2760,6 +2760,9 @@ emit_float_lib_cmp (x, y, comparison) ...@@ -2760,6 +2760,9 @@ emit_float_lib_cmp (x, y, comparison)
abort (); abort ();
} }
if (libfunc == 0)
abort ();
emit_library_call (libfunc, 1, emit_library_call (libfunc, 1,
word_mode, 2, x, mode, y, mode); word_mode, 2, x, mode, y, mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment