PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / g++.dg / graphite / pr41562.C
blobc41c7006f6121d134aaff8f228c9279aaf774565
1 /* { dg-do compile } */
2 /* { dg-options "-O -ftree-loop-distribution -floop-block -Wno-return-type" } */
4 typedef struct stSirenEncoder { } *SirenEncoder;
6 int Siren7_EncodeFrame(SirenEncoder encoder, unsigned char *DataIn, unsigned char *DataOut) {
7    int number_of_regions;
8    static int absolute_region_power_index[28] = {0};
9    static int region_mlt_bit_counts[28] = {0};
10    int dwRes = 0;
11    int region;
12    if (dwRes != 0) return dwRes;
13    for(region = 0; region < number_of_regions; region++)
14    {
15      absolute_region_power_index[region] += 24;
16      region_mlt_bit_counts[region] = 0;
17    }