aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2004-04-14 14:32:55 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2004-04-14 14:32:55 +0000
commit61218d193a20df95d34fa975b296448d382416a8 (patch)
treeb2e6c7ae95cb2b492212b0a6b74fce0105912227 /gcc/defaults.h
parenta69934e07eb54b76012e32a6aee54fe6af1faaa9 (diff)
downloadgcc-61218d193a20df95d34fa975b296448d382416a8.zip
gcc-61218d193a20df95d34fa975b296448d382416a8.tar.gz
gcc-61218d193a20df95d34fa975b296448d382416a8.tar.bz2
builtins.c (fold_builtin_isdigit): New.
* builtins.c (fold_builtin_isdigit): New. (fold_builtin): Handle BUILT_IN_ISDIGIT. * defaults.h: Add TARGET_DIGIT0 and sort. * doc/tm.texi: Add TARGET_BS and TARGET_DIGIT0. testsuite: * gcc.dg/torture/builtin-ctype-2.c: Test builtin isdigit. From-SVN: r80681
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 5867291..b238409 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -39,12 +39,13 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#ifndef TARGET_BELL
# define TARGET_BELL 007
# define TARGET_BS 010
-# define TARGET_TAB 011
-# define TARGET_NEWLINE 012
-# define TARGET_VT 013
-# define TARGET_FF 014
# define TARGET_CR 015
+# define TARGET_DIGIT0 060
# define TARGET_ESC 033
+# define TARGET_FF 014
+# define TARGET_NEWLINE 012
+# define TARGET_TAB 011
+# define TARGET_VT 013
#endif
/* Store in OUTPUT a string (made with alloca) containing an