diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-08-24 17:10:52 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-08-24 17:14:01 +0200 |
commit | 721f7e2c4e5eed645593258624dd91e6c39f3bd2 (patch) | |
tree | 9990880499ff3bfef19cc8513c735c418cbc8794 /gcc/gcc.cc | |
parent | bbdc0e0d0042ae16aa4d09ceb52c71e746d9139d (diff) | |
download | gcc-721f7e2c4e5eed645593258624dd91e6c39f3bd2.zip gcc-721f7e2c4e5eed645593258624dd91e6c39f3bd2.tar.gz gcc-721f7e2c4e5eed645593258624dd91e6c39f3bd2.tar.bz2 |
Fix tests for PR 106537.
This patch fixes the tests for PR 106537 (support for
-W[no]-compare-distinct-pointer-types) which were expecting the
warning when checking for equality/inequality of void pointers with
non-function pointers.
gcc/testsuite/ChangeLog:
PR c/106537
* gcc.c-torture/compile/pr106537-1.c: Comparing void pointers to
non-function pointers is legit.
* gcc.c-torture/compile/pr106537-2.c: Likewise.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions