aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-08-19 11:17:01 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-08-19 11:17:01 +0000
commit50652ae91a0a3dd03af17d3d8c1fed92aeb33a29 (patch)
treead4155c71e19a7d7b83ab0da21f83a27f8b56962 /gcc/cp/class.c
parent31ebd7c88765448f74b92bb506b8bf81c3a3ea0e (diff)
downloadgcc-50652ae91a0a3dd03af17d3d8c1fed92aeb33a29.zip
gcc-50652ae91a0a3dd03af17d3d8c1fed92aeb33a29.tar.gz
gcc-50652ae91a0a3dd03af17d3d8c1fed92aeb33a29.tar.bz2
cp-tree.h (build_shared_int_cst): Remove.
* cp-tree.h (build_shared_int_cst): Remove. * tree.c (shared_int_cache): Remove. (build_shared_int_cst): Remove. * class.c (finish_struct_1): Use build_int_cst. From-SVN: r86249
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 7c16791..1989dca 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -5085,7 +5085,7 @@ finish_struct_1 (tree t)
thunk base function. */
DECL_VINDEX (fndecl) = NULL_TREE;
else if (TREE_CODE (DECL_VINDEX (fndecl)) != INTEGER_CST)
- DECL_VINDEX (fndecl) = build_shared_int_cst (vindex);
+ DECL_VINDEX (fndecl) = build_int_cst (NULL_TREE, vindex, 0);
}
}