diff options
author | ppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-18 02:25:39 +0000 |
---|---|---|
committer | ppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-18 02:25:39 +0000 |
commit | d9bd6fa2bac3d25990865b83c64acca44e3af210 (patch) | |
tree | 53117fe8689b59a9be703212885448c929b1aaab /gcc/passes.def | |
parent | ca18e0e78e8eb65b58849244b3f86d86bb744850 (diff) | |
download | gcc-d9bd6fa2bac3d25990865b83c64acca44e3af210.tar.gz |
Fix PR c++/68831 (superfluous -Waddress warning for C++ delete)
gcc/cp/ChangeLog:
PR c++/68831
* init.c (build_delete): Use a warning sentinel to disable
-Waddress warnings when building the conditional that tests
if the operand is NULL.
gcc/testsuite/ChangeLog:
PR c++/68831
* g++.dg/pr68831.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231798 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.def')
0 files changed, 0 insertions, 0 deletions