diff options
author | Alexandre Oliva <oliva@adacore.com> | 2023-03-03 01:46:56 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2023-03-03 01:46:56 -0300 |
commit | 2e8686cb51896e0f89b353ae599c2c1ac5b960d6 (patch) | |
tree | e9975d689b75ff71cea184e17cfc6b3e0eac64a7 /gcc/gdbhooks.py | |
parent | dc1be3eb33c7f37ac45ad0ccf5be063134a513be (diff) | |
download | gcc-2e8686cb51896e0f89b353ae599c2c1ac5b960d6.zip gcc-2e8686cb51896e0f89b353ae599c2c1ac5b960d6.tar.gz gcc-2e8686cb51896e0f89b353ae599c2c1ac5b960d6.tar.bz2 |
[c++] suppress redundant null-addr warn in pfn from pmfn
When TARGET_PTRMEMFUNC_VBIT_LOCATION == ptrmemfunc_vbit_in_delta, when
we warn about comparing a pointer-to-member-function with NULL, we
also warn about comparing the pointer-to-function extracted from it
with NULL, which is redundant. Suppress the redundant warning.
for gcc/cp/ChangeLog
* typeck.cc (cp_build_binary_op): Suppress redundant warning
for pfn null test in pmfn test with vbit-in-delta.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions