From b3d13cd7ae392041004db6b9bf5098372048c00e Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 6 Feb 2006 16:36:35 +0000 Subject: Merge reload-branch up to revision 101000 git-svn-id: https://gcc.gnu.org/svn/gcc/branches/reload-branch@110651 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/ns32k/ns32k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/ns32k') diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index f15e5dcc418..e4448efac65 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -1106,7 +1106,7 @@ ns32k_handle_fntype_attribute (tree *node, tree name, && TREE_CODE (*node) != FIELD_DECL && TREE_CODE (*node) != TYPE_DECL) { - warning (0, "%qs attribute only applies to functions", + warning (OPT_Wattributes, "%qs attribute only applies to functions", IDENTIFIER_POINTER (name)); *no_add_attrs = true; } -- cgit v1.2.3