From a31765efbfaff2563c0af4459d43de4c4303eec8 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Sat, 9 May 2015 13:50:21 +0000 Subject: [PATCH] re PR bootstrap/66085 (Revision r222934 breaks bootstrap on darwin.) PR bootstrap/66085 * decl2.c (note_mangling_alias): Declare arguments as unused. From-SVN: r222969 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/decl2.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e776b00f5d8..fa7a1a0a4d2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2015-05-09 Aldy Hernandez + + PR bootstrap/66085 + * decl2.c (note_mangling_alias): Declare arguments as unused. + 2015-05-08 Jason Merrill * cp-gimplify.c, parser.c: Adjust to -Wc++11-compat replacing diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 6101301bee2..27bacabb847 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -4327,7 +4327,7 @@ generate_mangling_alias (tree decl, tree id2) implementation. */ void -note_mangling_alias (tree decl, tree id2) +note_mangling_alias (tree decl ATTRIBUTE_UNUSED, tree id2 ATTRIBUTE_UNUSED) { #ifdef ASM_OUTPUT_DEF if (at_eof) -- 2.30.2