[Bug bootstrap/79132] False positive for -Walloc-size-larger-than= with -fsanitize=address aka. bootstrap-asan breakage

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 24 08:49:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79132

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Jan 24 08:48:36 2017
New Revision: 244857

URL: https://gcc.gnu.org/viewcvs?rev=244857&root=gcc&view=rev
Log:
Fix false positive for -Walloc-size-larger-than (PR bootstrap/79132).

2017-01-24  Martin Liska  <mliska@suse.cz>

        PR bootstrap/79132
        * tree-ssa-reassoc.c (rewrite_expr_tree_parallel): Insert assert
        that would prevent us to call alloca with -1 as argument.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-reassoc.c


More information about the Gcc-bugs mailing list