PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr23434.c
blobe57f6f6a4260972f71b926c07387d5a4e159992e
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 void
5 cblas_csyr2k (int N, void *A, int lda, float *B, int ldb, float *C, int k)
7 int i, j;
8 for (;; k ++)
10 for (i = 0; i < N; i ++)
12 float t = ((float * ) A) [i];
13 for (j = i; j < N; j ++)
15 C [i + j] = B [ldb] * ((float *) A) [k];
16 C [lda] = 0 ;