aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-tree.cc
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-10-20 21:27:52 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-10-20 22:15:50 +0200
commit857a6ee25ff5cbb97715de4dd97e1641285c6085 (patch)
treeefa2bb606e67591bac8c90f501535212810e4c72 /gcc/rust/backend/rust-tree.cc
parent8f75e6cf583cf8db16334c0ba323801cbc9f4e7f (diff)
downloadgcc-857a6ee25ff5cbb97715de4dd97e1641285c6085.zip
gcc-857a6ee25ff5cbb97715de4dd97e1641285c6085.tar.gz
gcc-857a6ee25ff5cbb97715de4dd97e1641285c6085.tar.bz2
c: -Wincompatible-pointer-types should cover mismatches in ?:
gcc/c/ PR c/109826 PR other/44209 * c-typeck.cc (build_conditional_expr): Use OPT_Wincompatible_pointer_types for pointer mismatches. Emit location information for the operand. gcc/testsuite/ * gcc.dg/Wincompatible-pointer-types-2.c: New. * gcc.dg/Wincompatible-pointer-types-3.c: New. * gcc.dg/Wincompatible-pointer-types-4.c: New.
Diffstat (limited to 'gcc/rust/backend/rust-tree.cc')
0 files changed, 0 insertions, 0 deletions