summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-14 19:35:48 -0800
committerYamaArashi <shadow962@live.com>2016-02-14 19:35:48 -0800
commit0aebbdf6f7c204a0453892a0f946ce3821b6b6ca (patch)
treee4611e97fffed65c636464aa97ffd1fd35e6ae39 /gcc
parent62f1c8373a074a7ffb3d0f7458803bf0b07e626e (diff)
remove macros for old compilers
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/rtl.h12
-rwxr-xr-xgcc/tree.h12
-rwxr-xr-xgcc/varasm.c5
3 files changed, 0 insertions, 29 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 3ac767f..6f6367b 100755
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -97,22 +97,10 @@ typedef union rtunion_def
typedef struct rtx_def
{
-#ifdef ONLY_INT_FIELDS
-#ifdef CODE_FIELD_BUG
- unsigned int code : 16;
-#else
- unsigned short code;
-#endif
-#else
/* The kind of expression this is. */
enum rtx_code code : 16;
-#endif
/* The kind of value the expression has. */
-#ifdef ONLY_INT_FIELDS
- int mode : 8;
-#else
enum machine_mode mode : 8;
-#endif
/* 1 in an INSN if it can alter flow of control
within this function. Not yet used! */
unsigned int jump : 1;
diff --git a/gcc/tree.h b/gcc/tree.h
index 62e14a7..e5d03d1 100755
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -167,11 +167,7 @@ struct tree_common
{
union tree_node *chain;
union tree_node *type;
-#ifdef ONLY_INT_FIELDS
- unsigned int code : 8;
-#else
enum tree_code code : 8;
-#endif
unsigned side_effects_flag : 1;
unsigned constant_flag : 1;
@@ -896,11 +892,7 @@ struct tree_type
unsigned uid;
unsigned char precision;
-#ifdef ONLY_INT_FIELDS
- int mode : 8;
-#else
enum machine_mode mode : 8;
-#endif
unsigned string_flag : 1;
unsigned no_force_blk_flag : 1;
@@ -1285,11 +1277,7 @@ struct tree_decl
int linenum;
unsigned int uid;
union tree_node *size;
-#ifdef ONLY_INT_FIELDS
- int mode : 8;
-#else
enum machine_mode mode : 8;
-#endif
unsigned external_flag : 1;
unsigned nonlocal_flag : 1;
diff --git a/gcc/varasm.c b/gcc/varasm.c
index e1f83bc..e3f9b4a 100755
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -3079,13 +3079,8 @@ enum kind { RTX_DOUBLE, RTX_INT };
struct rtx_const
{
-#ifdef ONLY_INT_FIELDS
- unsigned int kind : 16;
- unsigned int mode : 16;
-#else
enum kind kind : 16;
enum machine_mode mode : 16;
-#endif
union {
union real_extract du;
struct addr_const addr;