diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2017-05-05 13:21:28 +0000 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh3492@gcc.gnu.org> | 2017-05-05 13:21:28 +0000 |
commit | c02d2d0adb153f819e75b0d9f62fcdf43ff1954d (patch) | |
tree | f60034e357bc1a5cb91a34e1a56ed0864207ebcd /gcc/tree-ssa-dce.c | |
parent | 79bed25b2337df900dfa4d145883777112a0ee58 (diff) | |
download | gcc-c02d2d0adb153f819e75b0d9f62fcdf43ff1954d.zip gcc-c02d2d0adb153f819e75b0d9f62fcdf43ff1954d.tar.gz gcc-c02d2d0adb153f819e75b0d9f62fcdf43ff1954d.tar.bz2 |
re PR tree-optimization/80613 (ICE in is_gimple_reg_type with -O2)
2017-05-05 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
PR tree-optimization/80613
* tree-ssa-dce.c (propagate_necessity): Remove cases for
BUILT_IN_STRDUP and BUILT_IN_STRNDUP.
testsuite/
* gcc.dg/tree-ssa/pr79697.c (k): Remove.
From-SVN: r247635
Diffstat (limited to 'gcc/tree-ssa-dce.c')
-rw-r--r-- | gcc/tree-ssa-dce.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c index e17659d..4225c3c 100644 --- a/gcc/tree-ssa-dce.c +++ b/gcc/tree-ssa-dce.c @@ -782,9 +782,7 @@ propagate_necessity (bool aggressive) && DECL_BUILT_IN_CLASS (def_callee) == BUILT_IN_NORMAL && (DECL_FUNCTION_CODE (def_callee) == BUILT_IN_ALIGNED_ALLOC || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_MALLOC - || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_CALLOC - || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_STRDUP - || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_STRNDUP)) + || DECL_FUNCTION_CODE (def_callee) == BUILT_IN_CALLOC)) { gimple *bounds_def_stmt; tree bounds; |