defer C++ mangling aliases
diff mbox

Message ID 554E1083.9080002@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez May 9, 2015, 1:49 p.m. UTC
On 05/09/2015 02:53 AM, Dominique Dhumieres wrote:
>> ...
>> I have tested it independently of everything else,
>> and would like permission to commit it to mainline.
>> ...
>
> This caused https://gcc.gnu.org/ml/gcc-bugs/2015-05/msg00748.html
>
> Dominique
>

Fixed with the following patch.

Committed as obvious.
commit 3e820aa6675e608371ccf4f2ae691baa15a4be7f
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Sat May 9 06:47:33 2015 -0700

    	PR bootstrap/66085
    	* decl2.c (note_mangling_alias): Declare arguments as unused.

Patch
diff mbox

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)