diff options
author | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-03 16:13:54 +0000 |
---|---|---|
committer | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-03 16:13:54 +0000 |
commit | 0b7282f1dc4ef1aada023583990e5b882b8f9873 (patch) | |
tree | 626a1783dbadedeb04e9dc7b74807b9ad23cc8c7 /gcc/c-family/c.opt | |
parent | 0b16079d696548110f01dcbd6dcb381f66708602 (diff) | |
download | ppe42-gcc-0b7282f1dc4ef1aada023583990e5b882b8f9873.tar.gz ppe42-gcc-0b7282f1dc4ef1aada023583990e5b882b8f9873.zip |
2013-10-03 Marc Glisse <marc.glisse@inria.fr>
PR c++/19476
gcc/c-family/
* c.opt (fcheck-new): Move to common.opt.
gcc/
* common.opt (fcheck-new): Moved from c.opt. Make it 'Common'.
* calls.c (alloca_call_p): Use get_callee_fndecl.
* fold-const.c (tree_expr_nonzero_warnv_p): Handle operator new.
* tree-vrp.c (gimple_stmt_nonzero_warnv_p, stmt_interesting_for_vrp):
Likewise.
(vrp_visit_stmt): Remove duplicated code.
gcc/testsuite/
* g++.dg/tree-ssa/pr19476-1.C: New file.
* g++.dg/tree-ssa/pr19476-2.C: Likewise.
* g++.dg/tree-ssa/pr19476-3.C: Likewise.
* g++.dg/tree-ssa/pr19476-4.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c.opt')
-rw-r--r-- | gcc/c-family/c.opt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 24d1b87d11f..e8dde935c16 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -855,10 +855,6 @@ fcilkplus C ObjC C++ ObjC++ LTO Report Var(flag_enable_cilkplus) Init(0) Enable Cilk Plus -fcheck-new -C++ ObjC++ Var(flag_check_new) -Check the return value of new - fcond-mismatch C ObjC C++ ObjC++ Allow the arguments of the '?' operator to have different types |