https://gcc.gnu.org/g:b0aca1d65bd1c014dad7adeffe5f3fe810d02ff2
commit r17-3824-gb0aca1d65bd1c014dad7adeffe5f3fe810d02ff2 Author: Georg-Johann Lay <[email protected]> Date: Tue Sep 1 18:30:15 2026 +0200 Fix sloppy PR93231 test. 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. gcc/testsuite/ PR testsuite/93231 * gcc.dg/pr93231.c: Require int32plus. Diff: --- gcc/testsuite/gcc.dg/pr93231.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr93231.c b/gcc/testsuite/gcc.dg/pr93231.c index cd0b3f320f78..74c17fe05c11 100644 --- a/gcc/testsuite/gcc.dg/pr93231.c +++ b/gcc/testsuite/gcc.dg/pr93231.c @@ -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)
