1 /* { dg-require-effective-target fpic } */
2 /* { dg-options "-Os -fpic" } */
3 /* { dg-final { scan-assembler-not "str\[\\t \]*r.,\[\\t \]*.sp," } } */
11 void func(const char*, const char*, int, const char*);
13 /* This function should not need to spill to the stack. */
14 void test(struct S
*p
)
19 const char *s
= "xyz";
20 if (*p
->addr
) s
= "pqr";
21 func("abcde", p
->addr
+ off
, off
, s
);