testsuite: Tweak some further tests for modern C changes
commit9e6885467476da963e941986b14ffb57fee6bf50
authorJakub Jelinek <jakub@redhat.com>
Fri, 1 Dec 2023 11:45:58 +0000 (1 12:45 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 1 Dec 2023 11:45:58 +0000 (1 12:45 +0100)
treeb3084fc6ec9fe2b58726c8cdd15708893aecad28
parentb1fe98dee21773b9d908469effe2580567b903fb
testsuite: Tweak some further tests for modern C changes

On IRC Richi mentioned some FAILs in gcc.target/x86_64 and in pr83126.c.

The following patch fixes the former ones (they need recent binutils to
be enabled), for pr83126.c because I didn't have graphite configured I've
just verified that the test compiles (didn't without the patch) and that
the gimple dump is identical with one from yesterday's gcc (as it was a
tree-parloops.cc ICE, I guess identical gimple is all we care about
and no need to verify it further).

2023-12-01  Jakub Jelinek  <jakub@redhat.com>

* gcc.target/x86_64/abi/avx512fp16/m512h/test_passing_m512.c
(fun_check_passing_m512_8_values, fun_check_passing_m512h_8_values):
Add missing void return type.
* gcc.target/x86_64/abi/avx512fp16/m256h/test_passing_m256.c
(fun_check_passing_m256_8_values, fun_check_passing_m256h_8_values):
Likewise.
* gcc.dg/graphite/pr83126.c (ew): Add missing casts to __INTPTR_TYPE__
and then to int *.
gcc/testsuite/gcc.dg/graphite/pr83126.c
gcc/testsuite/gcc.target/x86_64/abi/avx512fp16/m256h/test_passing_m256.c
gcc/testsuite/gcc.target/x86_64/abi/avx512fp16/m512h/test_passing_m512.c