+2007-09-04 Richard Sandiford <richard@codesourcery.com>
+
+ * decl.c (cp_finish_decl): Call determine_visibility before
+ make_rtl_for_nonlocal_decl.
+
2007-09-04 Jason Merrill <jason@redhat.com>
PR c++/14032
maybe_commonize_var (decl);
}
+ /* This needs to happen after the linkage is set. */
+ determine_visibility (decl);
+
make_rtl_for_nonlocal_decl (decl, init, asmspec);
/* Check for abstractness of the type. Notice that there is no
else
abstract_virtuals_error (decl, type);
- /* This needs to happen after the linkage is set. */
- determine_visibility (decl);
-
if (TREE_CODE (decl) == FUNCTION_DECL
|| TREE_TYPE (decl) == error_mark_node)
/* No initialization required. */