diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-09-20 14:47:20 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-09-20 14:47:20 +0000 |
commit | c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5 (patch) | |
tree | 16c237419acab4d9dc03318e2a6013538f78d3ee /gcc/target-def.h | |
parent | bb9be5eb9c3c40851cf8db6d00ebe1ac4f04944b (diff) | |
download | gcc-c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5.zip gcc-c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5.tar.gz gcc-c2dda19b3b1e6e53a807ef3446c6fd8a38be93e5.tar.bz2 |
builtins.c (fold_builtin): Call the new omonymous target hook for machine-dependent built-ins.
2004-09-20 Paolo Bonzini <bonzini@gnu.org>
* builtins.c (fold_builtin): Call the new omonymous
target hook for machine-dependent built-ins.
* target-def.h (TARGET_FOLD_BUILTIN): New.
* target.h (struct gcc_target): Add the fold_builtin hook.
* targhooks.c (default_fold_builtin): New.
* targhooks.h (default_fold_builtin): Declare it.
From-SVN: r87756
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index 3804206..a77c3be 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -287,6 +287,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /* In builtins.c. */ #define TARGET_INIT_BUILTINS hook_void_void #define TARGET_EXPAND_BUILTIN default_expand_builtin +#define TARGET_FOLD_BUILTIN default_fold_builtin /* In varasm.c. */ #ifndef TARGET_SECTION_TYPE_FLAGS @@ -477,6 +478,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_ALIGN_ANON_BITFIELD, \ TARGET_INIT_BUILTINS, \ TARGET_EXPAND_BUILTIN, \ + TARGET_FOLD_BUILTIN, \ TARGET_MANGLE_FUNDAMENTAL_TYPE, \ TARGET_INIT_LIBFUNCS, \ TARGET_SECTION_TYPE_FLAGS, \ |