aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in
index 1317889..f159730 100644
--- a/gcc/c-parse.in
+++ b/gcc/c-parse.in
@@ -704,7 +704,8 @@ primary:
e2 = TYPE_MAIN_VARIANT (groktypename ($5));
$$.value = comptypes (e1, e2)
- ? build_int_2 (1, 0) : build_int_2 (0, 0);
+ ? build_int_cst (NULL_TREE, 1, 0)
+ : build_int_cst (NULL_TREE, 0, 0);
$$.original_code = ERROR_MARK;
}
| TYPES_COMPATIBLE_P '(' error ')'