aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 6a626e9..39f6557 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -1377,10 +1377,10 @@ tree
build_shared_int_cst (int i)
{
if (i >= 256)
- return build_int_2 (i, 0);
+ return build_int_cst (NULL_TREE, i, 0);
if (!shared_int_cache[i])
- shared_int_cache[i] = build_int_2 (i, 0);
+ shared_int_cache[i] = build_int_cst (NULL_TREE, i, 0);
return shared_int_cache[i];
}