base-files: add a default /etc/services files
[openwrt.git] / toolchain / gcc / patches / 4.3.5 / 995-short-enums.diff
1 see gcc PR34205
2 --- a/gcc/tree.h
3 +++ b/gcc/tree.h
4 @@ -39,6 +39,7 @@ enum tree_code {
5
6 LAST_AND_UNUSED_TREE_CODE /* A convenient way to get a value for
7 NUM_TREE_CODES. */
8 + ,__LAST_AND_UNUSED_TREE_CODE=32767 /* Force 16bit width. */
9 };
10
11 #undef DEFTREECODE
12 --- a/gcc/rtl.h
13 +++ b/gcc/rtl.h
14 @@ -48,9 +48,11 @@ enum rtx_code {
15 #include "rtl.def" /* rtl expressions are documented here */
16 #undef DEF_RTL_EXPR
17
18 - LAST_AND_UNUSED_RTX_CODE}; /* A convenient way to get a value for
19 + LAST_AND_UNUSED_RTX_CODE /* A convenient way to get a value for
20 NUM_RTX_CODE.
21 Assumes default enum value assignment. */
22 + ,__LAST_AND_UNUSED_RTX_CODE=32767 /* Force 16bit width. */
23 +};
24
25 #define NUM_RTX_CODE ((int) LAST_AND_UNUSED_RTX_CODE)
26 /* The cast here, saves many elsewhere. */
27 --- a/gcc/c-common.h
28 +++ b/gcc/c-common.h
29 @@ -125,6 +125,7 @@ enum rid
30 RID_LAST_AT = RID_AT_IMPLEMENTATION,
31 RID_FIRST_PQ = RID_IN,
32 RID_LAST_PQ = RID_ONEWAY
33 + ,__LAST_AND_UNUSED_RID=32767 /* Force 16bit width. */
34 };
35
36 #define OBJC_IS_AT_KEYWORD(rid) \
This page took 0.050964 seconds and 5 git commands to generate.