2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr44788.c
blob9ce44a8e765f47419f80143e390084745ef7ad25
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb2_ok } */
3 /* { dg-options "-Os -fno-strict-aliasing -fPIC -mthumb -march=armv7-a -mfpu=vfp3 -mfloat-abi=softfp" } */
5 extern void foo (float *);
7 void joint_decode(float* mlt_buffer1, int t) {
8 int i;
9 float decode_buffer[1060];
10 foo(decode_buffer);
11 for (i=0; i<10 ; i++) {
12 mlt_buffer1[i] = i * decode_buffer[t];