summaryrefslogtreecommitdiffstats
path: root/gcc/config/h8300
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-12 03:06:30 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-12 03:06:30 +0000
commit574006c38f84136e586244c4a8cc7d4244e919e2 (patch)
treea51f218e63a3e610ab83885e2934f450d9444946 /gcc/config/h8300
parent938e069bfe4a844dcd80d9b02cc2900c803a2bbc (diff)
downloadppe42-gcc-574006c38f84136e586244c4a8cc7d4244e919e2.tar.gz
ppe42-gcc-574006c38f84136e586244c4a8cc7d4244e919e2.zip
* c-common.c (builtin_define_type_max): New.
(cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__. From Joseph S. Myers: * glimits.h: Rewrite to expect the double underscore definitions from the compiler. * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h, config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h, config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h, config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h, config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h, config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__, __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54544 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300')
-rw-r--r--gcc/config/h8300/h8300.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 4c34e514716..1fa64ccf1ba 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -59,12 +59,6 @@ extern const char * const *h8_reg_names;
builtin_assert ("cpu=h8300"); \
builtin_assert ("machine=h8300"); \
} \
- if (TARGET_INT32) \
- builtin_define ("__INT_MAX__=2147483647"); \
- else \
- builtin_define ("__INT_MAX__=32767"); \
- builtin_define ("__LONG_MAX__=2147483647L"); \
- builtin_define ("__LONG_LONG_MAX__=2147483647L"); \
} \
while (0)
OpenPOWER on IntegriCloud