summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-11 01:50:49 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-11 01:50:49 +0000
commit0e66aa759d3c9791dda9ca660fe13b6b2e78c126 (patch)
tree1746104004f6580995ab9046ee3aa23a808b8152 /gcc/optabs.c
parent68547d267ad180739043e7a57e967734df9907b0 (diff)
downloadgcc-0e66aa759d3c9791dda9ca660fe13b6b2e78c126.tar.gz
* defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED. * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c, profile.c, sdbout.c, tradcif.y, tree.c, ch/decl.c, ch/timing.c, cp/decl.c, cp/rtti.c, f/com.c, f/com.h, java/decl.c, java/expr.c: Include defaults.h if not already included. Don't define the above macros. * Makefile.in, ch/Makefile.in, cp/Makefile.in, f/Makefile.in: Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 0a64fad7499..07928d7f99d 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -39,6 +39,7 @@ Boston, MA 02111-1307, USA. */
#include "reload.h"
#include "ggc.h"
#include "real.h"
+#include "defaults.h"
/* Each optab contains info on how this target machine
can perform a particular operation
@@ -4669,9 +4670,6 @@ init_optabs ()
= init_one_libfunc ("cabs");
/* The ffs function operates on `int'. */
-#ifndef INT_TYPE_SIZE
-#define INT_TYPE_SIZE BITS_PER_WORD
-#endif
ffs_optab->handlers[(int) mode_for_size (INT_TYPE_SIZE, MODE_INT, 0)].libfunc
= init_one_libfunc ("ffs");