2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / cse_recip.c
blob49216620a73bdccb3c905d738c238413e46fffc6
1 /* { dg-do compile } */
2 /* { dg-options "-Ofast -fdump-tree-optimized-raw -fno-tree-slp-vectorize" } */
4 void
5 cse_recip (float x, float y, float *a)
7 a[0] = y / (5 * x);
8 a[1] = y / (3 * x);
9 a[2] = y / x;
12 /* { dg-final { scan-tree-dump-times "rdiv_expr" 1 "optimized" } } */