On 01/19/2017 04:46 AM, Martin Liška wrote:
Hello.
Following patch fixes asan bootstrap, as mentioned in the PR.
Ready to be installed?
Thanks,
Martin
0001-Fix-false-positive-for-Walloc-size-larger-than-PR-bo.patch
From 6a3d1b85e124751fdb804ae86596d30ea98b54af Mon Sep 17 00:00:00 2001
From: marxin <mli...@suse.cz>
Date: Thu, 19 Jan 2017 10:25:55 +0100
Subject: [PATCH] Fix false positive for -Walloc-size-larger-than (PR
bootstrap/79132).
gcc/ChangeLog:
2017-01-19 Martin Liska <mli...@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.
Maybe one day we'll be able to use the array index into STMTS to derive
a range for stmt_num. But we don't right now.
Otherwise I don't see any way to derive a range for stmt_num that if
rewrite_expr_tree_parallel is not inlined into its caller.
OK for the trunk.
jeff