]>
Commit | Line | Data |
---|---|---|
b4e9251d JG |
1 | /* { dg-do assemble } */ |
2 | /* { dg-options "-fstack-protector-strong -O1 -frename-registers" } */ | |
3 | /* { dg-require-effective-target fstack_protector } */ | |
4 | ||
5 | extern int bar (const char *s, int *argc); | |
6 | extern int baz (const char *s); | |
7 | ||
8 | char | |
9 | foo (const char *s) | |
10 | { | |
11 | int argc; | |
12 | int ret; | |
13 | if ( !bar (s, &argc)) | |
14 | ret = baz (s); | |
15 | return *s; | |
16 | } |