]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Suppress warnings in pr99766.C
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 26 Jan 2023 15:50:59 +0000 (15:50 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 26 Jan 2023 15:50:59 +0000 (15:50 +0000)
pr99766.C is an ICE regression test that now triggers a warning
about converting float to _Float16.

gcc/testsuite/
* g++.target/aarch64/sve/pr99766.C: Disable warnings.

gcc/testsuite/g++.target/aarch64/sve/pr99766.C

index 0ca8aee5798741ec62737640ba72c61e05d482f2..528d9ddd0070e4a644b2cd2233473ab76046c55c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-additional-options "-O3 -march=armv8.2-a+sve" } */
+/* { dg-additional-options "-O3 -march=armv8.2-a+sve -w" } */
 typedef float a __attribute__((__mode__(HF)));
 typedef struct {
   a b;