aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2007-09-29 22:41:39 -0400
committerJason Merrill <jason@gcc.gnu.org>2007-09-29 22:41:39 -0400
commitdc472c59a52d068c37cb0c14e94564da8729f232 (patch)
treef1cf66738af3f8ec706bba8578e57a6acd9d6444 /gcc/cp/decl2.c
parent38b1c01c84ae8dfe52175cf11fce0534c8643af9 (diff)
downloadgcc-dc472c59a52d068c37cb0c14e94564da8729f232.zip
gcc-dc472c59a52d068c37cb0c14e94564da8729f232.tar.gz
gcc-dc472c59a52d068c37cb0c14e94564da8729f232.tar.bz2
re PR c++/33094 (ICE on valid C++ virtual template static member in anonymous namespace)
PR c++/33094 * decl.c (make_rtl_for_nonlocal_decl): It's ok for a member constant to not have DECL_EXTERNAL if it's file-local. From-SVN: r128890
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index c00c979..ce5e528 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -1314,6 +1314,9 @@ coerce_delete_type (tree type)
return type;
}
+/* DECL is a VAR_DECL for a vtable: walk through the entries in the vtable
+ and mark them as needed. */
+
static void
mark_vtable_entries (tree decl)
{