aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2015-05-09 13:50:21 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2015-05-09 13:50:21 +0000
commita31765efbfaff2563c0af4459d43de4c4303eec8 (patch)
tree712a394264b4514bf7f8c122d76be78f114f0a49 /gcc
parent14aeb3cd27717e1dd11ad5044e738a350e7d946b (diff)
downloadgcc-a31765efbfaff2563c0af4459d43de4c4303eec8.zip
gcc-a31765efbfaff2563c0af4459d43de4c4303eec8.tar.gz
gcc-a31765efbfaff2563c0af4459d43de4c4303eec8.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/decl2.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e776b00..fa7a1a0 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-09 Aldy Hernandez <aldyh@redhat.com>
+
+ PR bootstrap/66085
+ * decl2.c (note_mangling_alias): Declare arguments as unused.
+
2015-05-08 Jason Merrill <jason@redhat.com>
* cp-gimplify.c, parser.c: Adjust to -Wc++11-compat replacing
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 6101301..27bacab 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)