aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic-format-json.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-06-22 23:50:23 -0400
committerJason Merrill <jason@redhat.com>2022-06-23 11:06:25 -0400
commit6e4d5300c1f62c3f0cd1bf859b0ee6bb4e31e434 (patch)
treeeb39ee5a314c4cca8635295202c1feedc0a244ca /gcc/diagnostic-format-json.cc
parent8a15cd3396aa08dc2633982481fe392af0aa9e78 (diff)
downloadgcc-6e4d5300c1f62c3f0cd1bf859b0ee6bb4e31e434.zip
gcc-6e4d5300c1f62c3f0cd1bf859b0ee6bb4e31e434.tar.gz
gcc-6e4d5300c1f62c3f0cd1bf859b0ee6bb4e31e434.tar.bz2
c++: -Waddress and value-dependent expr [PR105885]
We already suppress various warnings for code that would be tautological if written directly, but not when it's the result of template substitution. It seems we need to do this for -Waddress as well. PR c++/105885 gcc/cp/ChangeLog: * pt.cc (tsubst_copy_and_build): Also suppress -Waddress for comparison of dependent operands. gcc/testsuite/ChangeLog: * g++.dg/cpp1z/constexpr-if37.C: New test.
Diffstat (limited to 'gcc/diagnostic-format-json.cc')
0 files changed, 0 insertions, 0 deletions