]> git.ipfire.org Git - thirdparty/gcc.git/commit
C99 testsuite readiness: Some verified test case adjustments
authorFlorian Weimer <fweimer@redhat.com>
Fri, 13 Oct 2023 07:34:55 +0000 (09:34 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 13 Oct 2023 07:37:03 +0000 (09:37 +0200)
commit24eaada73def58a6a0c8702f873d0e2320d2fba4
treef36492d5820f3ae20db185966b89280caf673ee8
parent0fef2c89d165adca4c4aafeb8d822b4d6ac8623b
C99 testsuite readiness: Some verified test case adjustments

The updated test cases still reproduce the bugs with old compilers.

gcc/testsuite/

* gcc.c-torture/compile/pc44485.c (func_21): Add missing cast.
* gcc.c-torture/compile/pr106101.c: Use builtins to avoid
calls to undeclared functions.  Change type of yyvsp to
char ** and introduce yyvsp1 to avoid type errors.
* gcc.c-torture/execute/pr111331-1.c: Add missing int.
* gcc.dg/pr100512.c: Unreduce test case and suppress only
-Wpointer-to-int-cast.
* gcc.dg/pr103003.c: Likewise.
* gcc.dg/pr103451.c: Add cast to long and suppress
-Wdiv-by-zero only.
* gcc.dg/pr68435.c: Avoid implicit int and missing
static function implementation warning.
gcc/testsuite/gcc.c-torture/compile/pc44485.c
gcc/testsuite/gcc.c-torture/compile/pr106101.c
gcc/testsuite/gcc.c-torture/execute/pr111331-1.c
gcc/testsuite/gcc.dg/pr100512.c
gcc/testsuite/gcc.dg/pr103003.c
gcc/testsuite/gcc.dg/pr103451.c
gcc/testsuite/gcc.dg/pr68435.c