1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* { dg-do compile } */ /* { dg-options "-O2" } */ cblas_csyr2k (int N, void *A, int lda, float *B, int ldb, float *C, int k) { int i, j; for (;; k ++) { for (i = 0; i < N; i ++) { float t = ((float * ) A) [i]; for (j = i; j < N; j ++) { C [i + j] = B [ldb] * ((float *) A) [k]; C [lda] = 0 ; } } } }