[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / 20131120.c
blobe671ca459d07c9d6bc2ba07d9f1f9320e4cb95d8
1 /* Check that CONST_INT is not forced into REG before PLUS. */
2 /* { dg-do compile { target { arm_arm_ok || arm_thumb2_ok} } } */
3 /* { dg-options "-O2 -fdump-rtl-expand" } */
5 typedef int Arr2[50][50];
7 void
8 foo (Arr2 a2, int i)
10 a2[i+20][i] = 1;
13 /* { dg-final { scan-rtl-dump-not "\\\(set \\\(reg:SI \[0-9\]*\\\)\[\n\r\]+\[ \t]*\\\(const_int 4000" "expand" } } */