Add -Wdisabled-optimization to loop prefetching pass (PR tree-optimization/79803).
authorMartin Liska <mliska@suse.cz>
Fri, 3 Mar 2017 11:53:56 +0000 (12:53 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 3 Mar 2017 11:53:56 +0000 (11:53 +0000)
commitd78a1c01dbb859cb406ffdea3bc2ced2963cae9a
tree819e4d40f5b3dd8e071eb7d0b6bab9fc6953394a
parentec7f796e87db1b01ce4fbaabc6f0d73000ad4001
Add -Wdisabled-optimization to loop prefetching pass (PR tree-optimization/79803).

2017-03-03  Martin Liska  <mliska@suse.cz>

PR tree-optimization/79803
* tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Remove
assert.
(pass_loop_prefetch::execute): Disabled optimization if an
assumption about L1 cache size is not met.
2017-03-03  Martin Liska  <mliska@suse.cz>

PR tree-optimization/79803
* gcc.dg/tree-ssa/pr79803.c: New test.

From-SVN: r245869
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr79803.c [new file with mode: 0644]
gcc/tree-ssa-loop-prefetch.c