[testsuite,pushed] Fix sloppy PR93231 test
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap |
fail
|
Patch failed to apply
|
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-aarch64-bootstrap |
fail
|
Patch failed to apply
|
Commit Message
This test failed with
gcc.dg/pr93231.c:12:48: warning: right shift count >= width of type
[-Wshift-count-overflow]
gcc.dg/pr93231.c:30:5: error: array of inappropriate type initialized
from string constant
As it's unclear how to make it work on int16, require int32plus.
Johann
--
gcc/testsuite/
PR testsuite/93231
* gcc.dg/pr93231.c: Require int32plus.
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target int32plus } } */
/* { dg-options "-O2 -fdump-tree-forwprop2-details
-Wno-shift-count-negative" } */
int ctz_ice1 (int x)