aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-03-20 08:47:27 +0000
committerTristan Gingold <gingold@adacore.com>2012-03-20 08:47:27 +0000
commit6c7ea424de19353e49623c9d85db6082c32966eb (patch)
tree15e5a2cdf90de1c7598303847d54dcbe95549488 /gcc/defaults.h
parent9a40f4fe4db17c7fb13a38167ab16be067b0635e (diff)
2012-03-20 Tristan Gingold <gingold@adacore.com>
* tree.h (enum size_type_kind): Add stk_ prefix to constants, convert in lowercase. (sizetype_tab, sizetype, bitsizetype, ssizetype, sbitsizetype) (size_int, ssize_int, bitsize_int, sbitsize_int): Adjust. * stor-layout.c (sizetype_tab): Adjust. (initialize_sizetypes): Use SIZETYPE instead of SIZE_TYPE. * tree-streamer.c (preload_common_nodes): Use stk_type_kind_last instead of type_kind_last. * tree-scalar-evolution.c (interpret_rhs_expr): Use size_int instead of size_int_kind. * doc/tm.texi.in (Type Layout): Document SIZETYPE. * doc/tm.texi: Regenerate. * defaults.h (SIZETYPE): Provide a default value. * config/vms/vms.h (SIZE_TYPE): Define as "unsigned int". (SIZETYPE): Define. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@185561 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 1780dda3aee..296bb6a9ce6 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -582,6 +582,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define SIZE_TYPE "long unsigned int"
#endif
+#ifndef SIZETYPE
+#define SIZETYPE SIZE_TYPE
+#endif
+
#ifndef PID_TYPE
#define PID_TYPE "int"
#endif