Fix tree-optimization/78886.
authorMartin Liska <mliska@suse.cz>
Thu, 22 Dec 2016 13:09:11 +0000 (14:09 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 22 Dec 2016 13:09:11 +0000 (13:09 +0000)
commita71dcca81e3bdc9b387a6c6d1496f1f1d414f3d7
tree2ef888a3d6c55a87765f05c3e45045737f90002d
parent7fbb9b18cc759b014a90c48f4bcd98709ea0b84b
Fix tree-optimization/78886.

PR tree-optimization/78886
* gcc.dg/tree-ssa/pr78886.c: New test.
PR tree-optimization/78886
* tree-ssa-strlen.c (handle_builtin_malloc): Return when LHS
is equal to NULL.

From-SVN: r243886
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr78886.c [new file with mode: 0644]
gcc/tree-ssa-strlen.c