https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79803
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Mar 3 11:53:56 2017 New Revision: 245869 URL: https://gcc.gnu.org/viewcvs?rev=245869&root=gcc&view=rev Log: Add -Wdisabled-optimization to loop prefetching pass (PR tree-optimization/79803). 2017-03-03 Martin Liska <mli...@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 <mli...@suse.cz> PR tree-optimization/79803 * gcc.dg/tree-ssa/pr79803.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr79803.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-prefetch.c