projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
870bc05
)
(emit_float_lib_cmp): Init LIBFUNC; abort if not reset.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 27 Feb 1994 15:49:00 +0000
(10:49 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 27 Feb 1994 15:49:00 +0000
(10:49 -0500)
From-SVN: r6645
gcc/optabs.c
patch
|
blob
|
history
diff --git
a/gcc/optabs.c
b/gcc/optabs.c
index ff96b4c9a2231ff3277a8aaa952b3576fb3d7279..26e447c4dc42405d778625484475868daab0b6f0 100644
(file)
--- a/
gcc/optabs.c
+++ b/
gcc/optabs.c
@@
-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);