public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3573] amdgcn: Silence unused parameter warning
@ 2022-10-31 13:02 Andrew Stubbs
  0 siblings, 0 replies; only message in thread
From: Andrew Stubbs @ 2022-10-31 13:02 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:12a1085644c6c5446eece41d255ca1fd569149d4

commit r13-3573-g12a1085644c6c5446eece41d255ca1fd569149d4
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Mon Oct 24 14:05:03 2022 +0100

    amdgcn: Silence unused parameter warning
    
    gcc/ChangeLog:
    
            * config/gcn/gcn.cc (gcn_simd_clone_compute_vecsize_and_simdlen):
            Set base_type as ARG_UNUSED.

Diff:
---
 gcc/config/gcn/gcn.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc
index a9ef5c3dc02..a561976d7f5 100644
--- a/gcc/config/gcn/gcn.cc
+++ b/gcc/config/gcn/gcn.cc
@@ -5026,7 +5026,7 @@ gcn_vectorization_cost (enum vect_cost_for_stmt ARG_UNUSED (type_of_cost),
 static int
 gcn_simd_clone_compute_vecsize_and_simdlen (struct cgraph_node *ARG_UNUSED (node),
 					    struct cgraph_simd_clone *clonei,
-					    tree base_type,
+					    tree ARG_UNUSED (base_type),
 					    int ARG_UNUSED (num))
 {
   if (known_eq (clonei->simdlen, 0U))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-31 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 13:02 [gcc r13-3573] amdgcn: Silence unused parameter warning Andrew Stubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).