summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-02 20:13:44 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-02 20:13:44 +0000
commitf77159051a261e8815508a32b656ff1757cc07c4 (patch)
tree18a4c2a3589ba33be4975b081fec3a1e5b53a891 /gcc/config
parentec42ae9cd9aa343e82395d901e30d19a5da5bf38 (diff)
downloadgcc-f77159051a261e8815508a32b656ff1757cc07c4.tar.gz
* expr.h: Remove prototypes of functions defined in builtins.c.
* tree.h: (build_call_expr_*, build_string_literal): Add prototypes. Remove prototypes of functions defined in builtins.c. * builtins.h: Update prototype list to include all exported functions. * builtins.c: (default_libc_has_function, gnu_libc_has_function, no_c99_libc_has_function): Move to targhooks.c (build_string_literal, build_call_expr_loc_array, build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move to tree.c. (expand_builtin_object_size, fold_builtin_object_size): Make static. * targhooks.c (default_libc_has_function, gnu_libc_has_function, no_c99_libc_has_function): Relocate from builtins.c. * tree.c: Include builtins.h. (build_call_expr_loc_array, build_call_expr_loc_vec, build_call_expr_loc, build_call_expr, build_string_literal): Relocate from builtins.c. * fold-const.h (fold_fma): Move prototype to builtins.h. * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h. * fortran/trans.c (trans_runtime_error_vararg): Call fold_build_call_array_loc instead of fold_builtin_call_array. * asan.c: Include builtins.h. * cfgexpand.c: Likewise. * convert.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * gimple-fold.c: Likewise. * gimple-ssa-strength-reduction.c: Likewise. * gimplify.c: Likewise. * ipa-inline.c: Likewise. * ipa-prop.c: Likewise. * lto-streamer-out.c: Likewise. * stmt.c: Likewise. * tree-inline.c: Likewise. * tree-object-size.c: Likewise. * tree-sra.c: Likewise. * tree-ssa-ccp.c: Likewise. * tree-ssa-forwprop.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-math-opts.c: Likewise. * tree-ssa-reassoc.c: Likewise. * tree-ssa-threadedge.c: Likewise. * tree-streamer-in.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-patterns.c: Likewise. * tree-vect-stmts.c: Likewise. c * c-decl.c: Include builtins.h. * c-parser.c: Likewise. cp * decl.c: Include builtins.h. * semantics.c: Likewise. go * go-gcc.cc: Include builtins.h. lto * lto-symtab.c: Include builtins.h. config * aarch64/aarch64.c: Include builtins.h. * alpha/alpha.c: Likewise. * arc/arc.c: Likewise. * arm/arm.c: Likewise. * avr/avr.c: Likewise. * bfin/bfin.c: Likewise. * c6x/c6x.c: Likewise. * cr16/cr16.c: Likewise. * cris/cris.c: Likewise. * epiphany/epiphany.c: Likewise. * fr30/fr30.c: Likewise. * frv/frv.c: Likewise. * h8300/h8300.c: Likewise. * i386/i386.c: Likewise. * i386/winnt.c: Likewise. * ia64/ia64.c: Likewise. * iq2000/iq2000.c: Likewise. * lm32/lm32.c: Likewise. * m32c/m32c.c: Likewise. * m32r/m32r.c: Likewise. * m68k/m68k.c: Likewise. * mcore/mcore.c: Likewise. * mep/mep.c: Likewise. * microblaze/microblaze.c: Likewise. * mips/mips.c: Likewise. * mmix/mmix.c: Likewise. * mn10300/mn10300.c: Likewise. * moxie/moxie.c: Likewise. * msp430/msp430.c: Likewise. * nds32/nds32.c: Likewise. * pa/pa.c: Likewise. * pdp11/pdp11.c: Likewise. * picochip/picochip.c: Likewise. * rl78/rl78.c: Likewise. * rs6000/rs6000.c: Likewise. * rx/rx.c: Likewise. * s390/s390.c: Likewise. * score/score.c: Likewise. * sh/sh.c: Likewise. * sparc/sparc.c: Likewise. * spu/spu.c: Likewise. * stormy16/stormy16.c: Likewise. * tilegx/tilegx.c: Likewise. * tilepro/tilepro.c: Likewise. * v850/v850.c: Likewise. * vax/vax.c: Likewise. * xtensa/xtensa.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211145 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/aarch64/aarch64.c1
-rw-r--r--gcc/config/alpha/alpha.c1
-rw-r--r--gcc/config/arc/arc.c1
-rw-r--r--gcc/config/arm/arm.c1
-rw-r--r--gcc/config/avr/avr.c1
-rw-r--r--gcc/config/bfin/bfin.c1
-rw-r--r--gcc/config/c6x/c6x.c1
-rw-r--r--gcc/config/cr16/cr16.c1
-rw-r--r--gcc/config/cris/cris.c1
-rw-r--r--gcc/config/epiphany/epiphany.c1
-rw-r--r--gcc/config/fr30/fr30.c1
-rw-r--r--gcc/config/frv/frv.c1
-rw-r--r--gcc/config/h8300/h8300.c1
-rw-r--r--gcc/config/i386/i386.c1
-rw-r--r--gcc/config/i386/winnt.c1
-rw-r--r--gcc/config/ia64/ia64.c1
-rw-r--r--gcc/config/iq2000/iq2000.c1
-rw-r--r--gcc/config/lm32/lm32.c1
-rw-r--r--gcc/config/m32c/m32c.c1
-rw-r--r--gcc/config/m32r/m32r.c1
-rw-r--r--gcc/config/m68k/m68k.c1
-rw-r--r--gcc/config/mcore/mcore.c1
-rw-r--r--gcc/config/mep/mep.c1
-rw-r--r--gcc/config/microblaze/microblaze.c1
-rw-r--r--gcc/config/mips/mips.c1
-rw-r--r--gcc/config/mmix/mmix.c1
-rw-r--r--gcc/config/mn10300/mn10300.c1
-rw-r--r--gcc/config/moxie/moxie.c1
-rw-r--r--gcc/config/msp430/msp430.c1
-rw-r--r--gcc/config/nds32/nds32.c1
-rw-r--r--gcc/config/pa/pa.c1
-rw-r--r--gcc/config/pdp11/pdp11.c1
-rw-r--r--gcc/config/picochip/picochip.c1
-rw-r--r--gcc/config/rl78/rl78.c1
-rw-r--r--gcc/config/rs6000/rs6000.c1
-rw-r--r--gcc/config/rx/rx.c1
-rw-r--r--gcc/config/s390/s390.c1
-rw-r--r--gcc/config/score/score.c1
-rw-r--r--gcc/config/sh/sh.c1
-rw-r--r--gcc/config/sparc/sparc.c1
-rw-r--r--gcc/config/spu/spu.c1
-rw-r--r--gcc/config/stormy16/stormy16.c1
-rw-r--r--gcc/config/tilegx/tilegx.c1
-rw-r--r--gcc/config/tilepro/tilepro.c1
-rw-r--r--gcc/config/v850/v850.c1
-rw-r--r--gcc/config/vax/vax.c1
-rw-r--r--gcc/config/xtensa/xtensa.c1
47 files changed, 47 insertions, 0 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index a1d84869643..bb33304a2fd 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -64,6 +64,7 @@
#include "tree-vectorizer.h"
#include "config/arm/aarch-cost-tables.h"
#include "dumpfile.h"
+#include "builtins.h"
/* Defined for convenience. */
#define POINTER_BYTES (POINTER_SIZE / BITS_PER_UNIT)
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 7663e20ea53..77ba003add5 100644
--- a/gcc/config/alpha/alpha.c
+++ b/gcc/config/alpha/alpha.c
@@ -73,6 +73,7 @@ along with GCC; see the file COPYING3. If not see
#include "libfuncs.h"
#include "opts.h"
#include "params.h"
+#include "builtins.h"
/* Specify which cpu to schedule for. */
enum processor_type alpha_tune;
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index 3b3e82080e6..0aa43c2ce2e 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -66,6 +66,7 @@ along with GCC; see the file COPYING3. If not see
#include "context.h"
#include "pass_manager.h"
#include "wide-int.h"
+#include "builtins.h"
/* Which cpu we're compiling for (A5, ARC600, ARC601, ARC700). */
static const char *arc_cpu_string = "";
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index f8575b9de6a..98a8d891f23 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -61,6 +61,7 @@
#include "opts.h"
#include "dumpfile.h"
#include "gimple-expr.h"
+#include "builtins.h"
/* Forward definitions of types. */
typedef struct minipool_node Mnode;
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 2b6b4878e3c..9285ccd1148 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -51,6 +51,7 @@
#include "target-def.h"
#include "params.h"
#include "df.h"
+#include "builtins.h"
/* Maximal allowed offset for an address in the LD command */
#define MAX_LD_OFFSET(MODE) (64 - (signed)GET_MODE_SIZE (MODE))
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 7945de4d873..35408eb68cf 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -59,6 +59,7 @@
#include "hw-doloop.h"
#include "opts.h"
#include "dumpfile.h"
+#include "builtins.h"
/* A C structure for machine-specific, per-function data.
This is added to the cfun structure. */
diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c
index 339da13e23b..f0d8cbb42fd 100644
--- a/gcc/config/c6x/c6x.c
+++ b/gcc/config/c6x/c6x.c
@@ -57,6 +57,7 @@
#include "regrename.h"
#include "dumpfile.h"
#include "gimple-expr.h"
+#include "builtins.h"
/* Table of supported architecture variants. */
typedef struct
diff --git a/gcc/config/cr16/cr16.c b/gcc/config/cr16/cr16.c
index f5a444bec48..e9bfc8917f0 100644
--- a/gcc/config/cr16/cr16.c
+++ b/gcc/config/cr16/cr16.c
@@ -45,6 +45,7 @@
#include "target.h"
#include "target-def.h"
#include "df.h"
+#include "builtins.h"
/* Definitions. */
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 194dd14f9bf..cbed2df8ead 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -51,6 +51,7 @@ along with GCC; see the file COPYING3. If not see
#include "df.h"
#include "opts.h"
#include "cgraph.h"
+#include "builtins.h"
/* Usable when we have an amount to add or subtract, and want the
optimal size of the insn. */
diff --git a/gcc/config/epiphany/epiphany.c b/gcc/config/epiphany/epiphany.c
index 598f61b4e52..5a4d89e4ebc 100644
--- a/gcc/config/epiphany/epiphany.c
+++ b/gcc/config/epiphany/epiphany.c
@@ -51,6 +51,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h" /* for current_pass */
#include "context.h"
#include "pass_manager.h"
+#include "builtins.h"
/* Which cpu we're compiling for. */
int epiphany_cpu_type;
diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c
index 65084f69c1d..37759cc7bd4 100644
--- a/gcc/config/fr30/fr30.c
+++ b/gcc/config/fr30/fr30.c
@@ -45,6 +45,7 @@
#include "tm_p.h"
#include "target.h"
#include "target-def.h"
+#include "builtins.h"
/*}}}*/
/*{{{ Function Prologues & Epilogues */
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index 2b0a0b233a5..fda2c1fd857 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -51,6 +51,7 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "df.h"
#include "dumpfile.h"
+#include "builtins.h"
#ifndef FRV_INLINE
#define FRV_INLINE inline
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index e7ed03a6628..a0ff81b20b1 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -48,6 +48,7 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "target-def.h"
#include "df.h"
+#include "builtins.h"
/* Classifies a h8300_src_operand or h8300_dst_operand.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 6f235f7f5f7..84f79dd1d7f 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -84,6 +84,7 @@ along with GCC; see the file COPYING3. If not see
#include "target-globals.h"
#include "tree-vectorizer.h"
#include "shrink-wrap.h"
+#include "builtins.h"
static rtx legitimize_dllimport_symbol (rtx, bool);
static rtx legitimize_pe_coff_extern_decl (rtx, bool);
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c
index 03e77aa80a7..de607179715 100644
--- a/gcc/config/i386/winnt.c
+++ b/gcc/config/i386/winnt.c
@@ -50,6 +50,7 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "lto-streamer.h"
#include "lto-section-names.h"
+#include "builtins.h"
/* i386/PE specific attribute support.
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 4c5390b5f0c..cb9a9ca8af8 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -74,6 +74,7 @@ along with GCC; see the file COPYING3. If not see
#include "reload.h"
#include "opts.h"
#include "dumpfile.h"
+#include "builtins.h"
/* This is used for communication between ASM_OUTPUT_LABEL and
ASM_OUTPUT_LABELREF. */
diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c
index 717df2e9d38..49896e8a198 100644
--- a/gcc/config/iq2000/iq2000.c
+++ b/gcc/config/iq2000/iq2000.c
@@ -47,6 +47,7 @@ along with GCC; see the file COPYING3. If not see
#include "target-def.h"
#include "langhooks.h"
#include "df.h"
+#include "builtins.h"
/* Enumeration for all of the relational tests, so that we can build
arrays indexed by the test type, and not worry about the order
diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c
index 4f6aba1e764..fe3dcf4057f 100644
--- a/gcc/config/lm32/lm32.c
+++ b/gcc/config/lm32/lm32.c
@@ -50,6 +50,7 @@
#include "langhooks.h"
#include "tm-constrs.h"
#include "df.h"
+#include "builtins.h"
struct lm32_frame_info
{
diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c
index 75f67f741e2..0d7dcee1bc9 100644
--- a/gcc/config/m32c/m32c.c
+++ b/gcc/config/m32c/m32c.c
@@ -61,6 +61,7 @@
#include "gimple.h"
#include "df.h"
#include "tm-constrs.h"
+#include "builtins.h"
/* Prototypes */
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index 2b84b0ff1eb..71ce534e802 100644
--- a/gcc/config/m32r/m32r.c
+++ b/gcc/config/m32r/m32r.c
@@ -46,6 +46,7 @@
#include "target-def.h"
#include "tm-constrs.h"
#include "opts.h"
+#include "builtins.h"
/* Array of valid operand punctuation characters. */
static char m32r_punct_chars[256];
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 7f7d668478b..90ffeb497ad 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -49,6 +49,7 @@ along with GCC; see the file COPYING3. If not see
#include "ggc.h"
#include "opts.h"
#include "optabs.h"
+#include "builtins.h"
enum reg_class regno_reg_class[] =
{
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index b2ac47e03fe..717591e4324 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -46,6 +46,7 @@
#include "target.h"
#include "target-def.h"
#include "df.h"
+#include "builtins.h"
/* For dumping information about frame sizes. */
char * mcore_current_function_name = 0;
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index 107f1fa02d7..558883c47c3 100644
--- a/gcc/config/mep/mep.c
+++ b/gcc/config/mep/mep.c
@@ -65,6 +65,7 @@ along with GCC; see the file COPYING3. If not see
#include "gimplify.h"
#include "opts.h"
#include "dumpfile.h"
+#include "builtins.h"
/* Structure of this file:
diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
index b12b7bf047f..cf2dc74cccc 100644
--- a/gcc/config/microblaze/microblaze.c
+++ b/gcc/config/microblaze/microblaze.c
@@ -51,6 +51,7 @@
#include "optabs.h"
#include "diagnostic-core.h"
#include "cgraph.h"
+#include "builtins.h"
#define MICROBLAZE_VERSION_COMPARE(VA,VB) strcasecmp (VA, VB)
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 804112cb074..0d6bbf16ad1 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -72,6 +72,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "context.h"
#include "cgraph.h"
+#include "builtins.h"
/* True if X is an UNSPEC wrapper around a SYMBOL_REF or LABEL_REF. */
#define UNSPEC_ADDRESS_P(X) \
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index 9b616eb1efe..e0b8ce76f09 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -46,6 +46,7 @@ along with GCC; see the file COPYING3. If not see
#include "target-def.h"
#include "df.h"
#include "tm-constrs.h"
+#include "builtins.h"
/* First some local helper definitions. */
#define MMIX_FIRST_GLOBAL_REGNUM 32
diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c
index eb000776750..d229ca9638b 100644
--- a/gcc/config/mn10300/mn10300.c
+++ b/gcc/config/mn10300/mn10300.c
@@ -49,6 +49,7 @@
#include "opts.h"
#include "cfgloop.h"
#include "dumpfile.h"
+#include "builtins.h"
/* This is used in the am33_2.0-linux-gnu port, in which global symbol
names are not prefixed by underscores, to tell whether to prefix a
diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c
index a5eaa5f59b0..1e289068179 100644
--- a/gcc/config/moxie/moxie.c
+++ b/gcc/config/moxie/moxie.c
@@ -49,6 +49,7 @@
#include "tm_p.h"
#include "langhooks.h"
#include "df.h"
+#include "builtins.h"
#define LOSE_AND_RETURN(msgid, x) \
do \
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
index 0f6114c1ee8..52195c90a7e 100644
--- a/gcc/config/msp430/msp430.c
+++ b/gcc/config/msp430/msp430.c
@@ -51,6 +51,7 @@
#include "msp430-protos.h"
#include "dumpfile.h"
#include "opts.h"
+#include "builtins.h"
static void msp430_compute_frame_info (void);
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index 47b1318bb0e..8516221b25d 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -50,6 +50,7 @@
#include "target-def.h"
#include "langhooks.h" /* For add_builtin_function(). */
#include "ggc.h"
+#include "builtins.h"
/* ------------------------------------------------------------------------ */
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 95dcbb917cf..fe3881e8092 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -52,6 +52,7 @@ along with GCC; see the file COPYING3. If not see
#include "langhooks.h"
#include "df.h"
#include "opts.h"
+#include "builtins.h"
/* Return nonzero if there is a bypass for the output of
OUT_INSN and the fp store IN_INSN. */
diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c
index 677160aac3d..f10d28a2560 100644
--- a/gcc/config/pdp11/pdp11.c
+++ b/gcc/config/pdp11/pdp11.c
@@ -44,6 +44,7 @@ along with GCC; see the file COPYING3. If not see
#include "df.h"
#include "opts.h"
#include "dbxout.h"
+#include "builtins.h"
/* this is the current value returned by the macro FIRST_PARM_OFFSET
defined in tm.h */
diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c
index 8738564d3fc..6433acb49d5 100644
--- a/gcc/config/picochip/picochip.c
+++ b/gcc/config/picochip/picochip.c
@@ -65,6 +65,7 @@ along with GCC; see the file COPYING3. If not, see
#include "libfuncs.h" /* For memcpy_libfuncs, etc. */
#include "df.h" /* For df_regs_ever_live_df_regs_ever_live_pp, etc. */
#include "dbxout.h"
+#include "builtins.h"
/* Target AE ISA information. */
diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c
index 09baa76b984..b9e6d00ad73 100644
--- a/gcc/config/rl78/rl78.c
+++ b/gcc/config/rl78/rl78.c
@@ -55,6 +55,7 @@
#include "context.h"
#include "tm-constrs.h" /* for satisfies_constraint_*(). */
#include "insn-flags.h" /* for gen_*(). */
+#include "builtins.h"
static inline bool is_interrupt_func (const_tree decl);
static inline bool is_brk_interrupt_func (const_tree decl);
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 8d801467819..4dcbaf83153 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -79,6 +79,7 @@
#include "dumpfile.h"
#include "cgraph.h"
#include "target-globals.h"
+#include "builtins.h"
#if TARGET_XCOFF
#include "xcoffout.h" /* get declarations of xcoff_*_section_name */
#endif
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c
index c81b2d4a410..9f834481b4f 100644
--- a/gcc/config/rx/rx.c
+++ b/gcc/config/rx/rx.c
@@ -55,6 +55,7 @@
#include "langhooks.h"
#include "opts.h"
#include "cgraph.h"
+#include "builtins.h"
static unsigned int rx_gp_base_regnum_val = INVALID_REGNUM;
static unsigned int rx_pid_base_regnum_val = INVALID_REGNUM;
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 417e2a826b7..85a6ca9f67f 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -70,6 +70,7 @@ along with GCC; see the file COPYING3. If not see
#include "opts.h"
#include "tree-pass.h"
#include "context.h"
+#include "builtins.h"
/* Define the specific costs for a given cpu. */
diff --git a/gcc/config/score/score.c b/gcc/config/score/score.c
index e42960289c7..576a2a0cde9 100644
--- a/gcc/config/score/score.c
+++ b/gcc/config/score/score.c
@@ -51,6 +51,7 @@
#include "langhooks.h"
#include "df.h"
#include "opts.h"
+#include "builtins.h"
#define SCORE_SDATA_MAX score_sdata_max
#define SCORE_STACK_ALIGN(LOC) (((LOC) + 3) & ~3)
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index a5118c63f99..caa558ecea5 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -73,6 +73,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "pass_manager.h"
#include "context.h"
+#include "builtins.h"
int code_for_indirect_jump_scratch = CODE_FOR_indirect_jump_scratch;
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 7bfd3c1d73c..8b1dfa6d3b0 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -70,6 +70,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pass.h"
#include "context.h"
#include "wide-int.h"
+#include "builtins.h"
/* Processor costs */
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index 41d3c2c5e03..a32a3a33bdf 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -66,6 +66,7 @@
#include "df.h"
#include "dumpfile.h"
#include "cfgloop.h"
+#include "builtins.h"
/* Builtin types, data and prototypes. */
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c
index 6a64fccbe11..1463d52ef01 100644
--- a/gcc/config/stormy16/stormy16.c
+++ b/gcc/config/stormy16/stormy16.c
@@ -62,6 +62,7 @@
#include "gimplify.h"
#include "df.h"
#include "reload.h"
+#include "builtins.h"
static rtx emit_addhi3_postreload (rtx, rtx, rtx);
static void xstormy16_asm_out_constructor (rtx, int);
diff --git a/gcc/config/tilegx/tilegx.c b/gcc/config/tilegx/tilegx.c
index 70fce93bd6a..ab53fab26b8 100644
--- a/gcc/config/tilegx/tilegx.c
+++ b/gcc/config/tilegx/tilegx.c
@@ -61,6 +61,7 @@
#include "tilegx-builtins.h"
#include "tilegx-multiply.h"
#include "diagnostic.h"
+#include "builtins.h"
/* SYMBOL_REF for GOT */
static GTY(()) rtx g_got_symbol = NULL;
diff --git a/gcc/config/tilepro/tilepro.c b/gcc/config/tilepro/tilepro.c
index e89a733746b..1749556a557 100644
--- a/gcc/config/tilepro/tilepro.c
+++ b/gcc/config/tilepro/tilepro.c
@@ -62,6 +62,7 @@
#include "tilepro-builtins.h"
#include "tilepro-multiply.h"
#include "diagnostic.h"
+#include "builtins.h"
/* SYMBOL_REF for GOT */
static GTY(()) rtx g_got_symbol = NULL;
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index eb193265700..e164586bfdc 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -45,6 +45,7 @@
#include "target-def.h"
#include "df.h"
#include "opts.h"
+#include "builtins.h"
#ifndef streq
#define streq(a,b) (strcmp (a, b) == 0)
diff --git a/gcc/config/vax/vax.c b/gcc/config/vax/vax.c
index 818137baceb..4897ac2d62c 100644
--- a/gcc/config/vax/vax.c
+++ b/gcc/config/vax/vax.c
@@ -46,6 +46,7 @@ along with GCC; see the file COPYING3. If not see
#include "target.h"
#include "target-def.h"
#include "wide-int.h"
+#include "builtins.h"
static void vax_option_override (void);
static bool vax_legitimate_address_p (enum machine_mode, rtx, bool);
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index 6b6693ff341..540ffecd391 100644
--- a/gcc/config/xtensa/xtensa.c
+++ b/gcc/config/xtensa/xtensa.c
@@ -61,6 +61,7 @@ along with GCC; see the file COPYING3. If not see
#include "gimple.h"
#include "gimplify.h"
#include "df.h"
+#include "builtins.h"
/* Enumeration for all of the relational tests, so that we can build