https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78886
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Jan 3 12:09:05 2017 New Revision: 244020 URL: https://gcc.gnu.org/viewcvs?rev=244020&root=gcc&view=rev Log: Fix tree-optimization/78886. 2017-01-03 Martin Liska <mli...@suse.cz> Backport from mainline 2016-12-22 Martin Liska <mli...@suse.cz> PR tree-optimization/78886 * tree-ssa-strlen.c (handle_builtin_malloc): Return when LHS is equal to NULL. 2017-01-03 Martin Liska <mli...@suse.cz> Backport from mainline 2016-12-22 Martin Liska <mli...@suse.cz> PR tree-optimization/78886 * gcc.dg/tree-ssa/pr78886.c: New test. Added: branches/gcc-6-branch/gcc/testsuite/gcc.dg/tree-ssa/pr78886.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-ssa-strlen.c