aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.y
diff options
context:
space:
mode:
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>2000-03-20 13:22:38 +0000
committerMartin v. Löwis <loewis@gcc.gnu.org>2000-03-20 13:22:38 +0000
commit949d707dcf9b774b3fd402d92db829cd9d47ee05 (patch)
tree27a88ee0c21f912b16068382504a3d3ea6f79c3c /gcc/c-parse.y
parent4b6baf0ec044f10b4f03aa921983d5c2cf7ecee7 (diff)
downloadgcc-949d707dcf9b774b3fd402d92db829cd9d47ee05.zip
gcc-949d707dcf9b774b3fd402d92db829cd9d47ee05.tar.gz
gcc-949d707dcf9b774b3fd402d92db829cd9d47ee05.tar.bz2
c-parse.in (SAVE_WARN_FLAGS): Use size_int.
* c-parse.in (SAVE_WARN_FLAGS): Use size_int. * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c: Regenerated. From-SVN: r32648
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)