1 /* { dg-options "-mthumb -Os -march=armv5te -mthumb-interwork -fpic" } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-prune-output "switch .* conflicts with" } */
4 /* { dg-final { scan-assembler-not "str\[\\t \]*r.,\[\\t \]*.sp," } } */
12 void func(const char*, const char*, int, const char*);
14 /* This function should not need to spill to the stack. */
15 void test(struct S
*p
)
20 const char *s
= "xyz";
21 if (*p
->addr
) s
= "pqr";
22 func("abcde", p
->addr
+ off
, off
, s
);