aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-parse.y')
-rw-r--r--gcc/c-parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-parse.y b/gcc/c-parse.y
index ffe2aa8..4188ce4 100644
--- a/gcc/c-parse.y
+++ b/gcc/c-parse.y
@@ -207,10 +207,10 @@ static int undeclared_variable_notice;
/* For __extension__, save/restore the warning flags which are
controlled by __extension__. */
#define SAVE_WARN_FLAGS() \
- build_int_2 (pedantic | (warn_pointer_arith << 1), 0)
+ size_int (pedantic | (warn_pointer_arith << 1))
#define RESTORE_WARN_FLAGS(tval) \
do { \
- int val = tree_low_cst (tval, 0); \
+ int val = tree_low_cst (tval, 0); \
pedantic = val & 1; \
warn_pointer_arith = (val >> 1) & 1; \
} while (0)