libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr99540.c
blob9136b099d94fd821e0013aab65371966757056cf
1 /* { dg-do compile } */
2 /* { dg-additional-options "-ftrapv -ffloat-store -march=armv8.2-a+sve" { target aarch64*-*-* } } */
4 float *MSalign2m2m_rec_initverticalw, *MSalign2m2m_rec_currentw;
6 void
7 match_ribosum (int MSalign2m2m_rec_i, int MSalign2m2m_rec_lgth1,
8 int MSalign2m2m_rec_lgth2)
10 float **WMMTX;
12 while (MSalign2m2m_rec_i < 1)
13 WMMTX[MSalign2m2m_rec_i++][0] = MSalign2m2m_rec_initverticalw[0];
15 while (MSalign2m2m_rec_i < MSalign2m2m_rec_lgth1)
16 MSalign2m2m_rec_initverticalw[MSalign2m2m_rec_i++] += 0.1;
18 while (MSalign2m2m_rec_i < MSalign2m2m_rec_lgth2)
19 MSalign2m2m_rec_currentw[MSalign2m2m_rec_i++] += 0.1;