[Bug tree-optimization/78886] [5/6 Regression] Segmentation fault malloc and volatile

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 3 12:09:00 GMT 2017


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  <mliska@suse.cz>

        Backport from mainline
        2016-12-22  Martin Liska  <mliska@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  <mliska@suse.cz>

        Backport from mainline
        2016-12-22  Martin Liska  <mliska@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


More information about the Gcc-bugs mailing list