+2013-02-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR libstdc++/54314
+ * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn
+ about visibility on artificial decls.
+ * config/sol2.c (solaris_assemble_visibility): Likewise.
+
2013-02-04 Kai Tietz <ktietz@redhat.com>
PR target/56186
(return_in_memory_ms_64): Sync 16-byte sized mode handling with
handling infunction_value_64 function.
-
2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
- * gcc/reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
+ * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
2013-02-04 Richard Biener <rguenther@suse.de>
if (!decl
|| !lookup_attribute ("visibility", DECL_ATTRIBUTES (decl)))
return;
- warning (OPT_Wattributes, "visibility attribute not supported "
- "in this configuration; ignored");
+ if (!DECL_ARTIFICIAL (decl))
+ warning (OPT_Wattributes, "visibility attribute not supported "
+ "in this configuration; ignored");
}
/* This is used as a target hook to modify the DECL_ASSEMBLER_NAME
the visibility type VIS, which must not be VISIBILITY_DEFAULT. */
void
-solaris_assemble_visibility (tree decl ATTRIBUTE_UNUSED,
- int vis ATTRIBUTE_UNUSED)
+solaris_assemble_visibility (tree decl, int vis ATTRIBUTE_UNUSED)
{
#ifdef HAVE_GAS_HIDDEN
/* Sun as uses .symbolic for STV_PROTECTED. STV_INTERNAL is marked as
assemble_name (asm_out_file, name);
fprintf (asm_out_file, "\n");
#else
- warning (OPT_Wattributes, "visibility attribute not supported "
- "in this configuration; ignored");
+ if (!DECL_ARTIFICIAL (decl))
+ warning (OPT_Wattributes, "visibility attribute not supported "
+ "in this configuration; ignored");
#endif
}