1 /* { dg-do compile { target { little_endian } } } */
2 /* { dg-options "-O0" } */
3 /* { dg-final { scan-assembler-not "add\tr0,r0" } } */
5 /* This test checks chain reloads conflicts. If they don't
6 conflict, the same hard register R0 is used for the both reloads
7 but in this case the second reload needs an intermediate register
8 (which is the reload register). As the result we have the
11 mov #4,r0 -- first reload
12 mov r14,r0 -- second reload
13 add r0,r0 -- second reload
15 The right code should be
17 mov #4,r0 -- first reload
18 mov r14,r1 -- second reload
19 add r0,r1 -- second reload
23 _Complex
float foo_float ();