/* { dg-do compile } */ /* { dg-options "-O2 -funswitch-loops -fdump-tree-unswitch-details" } */ #include #define N 32 float *foo(int ustride, int size, float *src) { float *buffer, *p; int i, k; if (!src) return NULL; buffer = (float *) malloc(N * size * sizeof(float)); if(buffer) for(i=0, p=buffer; i