1 /* { dg-do compile } */
2 /* { dg-skip-if "-mpure-code and -fPIC incompatible" { *-*-* } { "-mpure-code" } } */
3 /* { dg-require-effective-target arm_thumb2_ok } */
4 /* { dg-options "-Os -fno-strict-aliasing -fPIC -mthumb -march=armv7-a -mfpu=vfp3 -mfloat-abi=softfp" } */
5 /* { dg-require-effective-target fpic } */
6
7 extern void foo (float *);
8
9 void joint_decode(float* mlt_buffer1, int t) {
10 int i;
11 float decode_buffer[1060];
12 foo(decode_buffer);
13 for (i=0; i<10 ; i++) {
14 mlt_buffer1[i] = i * decode_buffer[t];
15 }
16 }