builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / ssp-3.c
blob98c12da8ba222e26e55d79eb1e088b19aa8fc7d6
1 /* { dg-do assemble } */
2 /* { dg-options "-fstack-protector-strong -O1 -frename-registers" } */
3 /* { dg-require-effective-target fstack_protector } */
5 extern int bar (const char *s, int *argc);
6 extern int baz (const char *s);
8 char
9 foo (const char *s)
11 int argc;
12 int ret;
13 if ( !bar (s, &argc))
14 ret = baz (s);
15 return *s;