From: Aldy Hernandez Date: Sat, 9 May 2015 13:50:21 +0000 (+0000) Subject: re PR bootstrap/66085 (Revision r222934 breaks bootstrap on darwin.) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a31765efbfaff2563c0af4459d43de4c4303eec8;p=gcc.git 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 --- 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)