diff mbox

C++ PATCH for c++/66255 (ICE with non-type template parameter of typedef type)

Message ID m2fv5dk11n.fsf@linux-m68k.org
State New
Headers show

Commit Message

Andreas Schwab June 27, 2015, 8:28 a.m. UTC
* pt.c (check_unstripped_args): Mark parameter as unused.

Comments

Jason Merrill June 29, 2015, 6:40 p.m. UTC | #1
On 06/27/2015 04:28 AM, Andreas Schwab wrote:
> 	* pt.c (check_unstripped_args): Mark parameter as unused.

Thanks.

Jason
diff mbox

Patch

diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 082e04c..ad2970d 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -1023,7 +1023,7 @@  optimize_specialization_lookup_p (tree tmpl)
    gone through coerce_template_parms by now.  */
 
 static void
-check_unstripped_args (tree args)
+check_unstripped_args (tree args ATTRIBUTE_UNUSED)
 {
 #ifdef ENABLE_CHECKING
   ++processing_template_decl;