]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
amdgcn: Silence unused parameter warning
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 24 Oct 2022 13:05:03 +0000 (14:05 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Mon, 31 Oct 2022 12:20:52 +0000 (12:20 +0000)
gcc/ChangeLog:

* config/gcn/gcn.cc (gcn_simd_clone_compute_vecsize_and_simdlen):
Set base_type as ARG_UNUSED.

gcc/config/gcn/gcn.cc

index a9ef5c3dc02f453e320f378b1cc34e3b29dd969a..a561976d7f54235eb01b1db25eb8c5b134276948 100644 (file)
@@ -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))