summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-01 22:35:50 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-01 22:35:50 +0000
commit1dfa965e65d6b081e78b2b2fa7be3fb84a7f664e (patch)
treee2e2c8b7ff41d4e0a9b83ff190cf53f596eecefa /gcc/builtins.c
parent6bf5ed8d9c7340ed0e889dfaa573a5972ab15feb (diff)
downloadgcc-1dfa965e65d6b081e78b2b2fa7be3fb84a7f664e.tar.gz
* builtins.def (BUILT_IN_IMAXABS): Add.
* builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS. * c-common.c (c_common_nodes_and_builtins): Create builtin functions __builtin_imaxabs, and plain imaxabs unless flag_no_nonansi_builtin outside C99 mode. (expand_tree_builtin): Handle BUILT_IN_IMAXABS. * extend.texi: Document builtin imaxabs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37932 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 0e59904325e..154bd706284 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -3098,6 +3098,7 @@ expand_builtin (exp, target, subtarget, mode, ignore)
case BUILT_IN_ABS:
case BUILT_IN_LABS:
case BUILT_IN_LLABS:
+ case BUILT_IN_IMAXABS:
case BUILT_IN_FABS:
/* build_function_call changes these into ABS_EXPR. */
abort ();