libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / reassoc-51.c
blob07175675e24db8ec9654cd2042fc7cb97c87175a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized -ftree-vectorize" } */
4 #define MODIFY
5 #define STORE
6 #define USE
7 #include "reassoc-46.h"
9 /* Check that if the loop accumulator has multiple uses inside the loop, it's
10 not forced to the end of the reassociation chain. */
11 /* { dg-final { scan-tree-dump-times {(?:vect_)?sum_[\d._]+ = (?:(?:vect_)?_[\d._]+ \+ (?:vect_)?sum_[\d._]+|(?:vect_)?sum_[\d._]+ \+ (?:vect_)?_[\d._]+)} 2 "optimized" } } */