--- /dev/null
+++ b/gcc/testsuite/gcc.dg/vect/no-tree-pre-pr45241.c
@@ -0,0 +1,20 @@
+/* PR tree-optimization/45241 */
+/* { dg-do compile } */
+/* { dg-options "-O3 -fno-tree-pre" } */

This line is redundant. vect.exp applies -fno-tree-pre to tests named
no-tree-pre-*. And there is no need in -O3, the default -O2
-ftree-vectorize are enough.

OK for trunk with this fix.

Thanks,
Ira


>
> Thanks,
>
> Changpeng
>
>
> ________________________________________
