Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / stack-prot-kernel.c
blob4a93e333cdd43188670e29fc7e284d3aff0c966c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-require-effective-target nonpic } */
4 /* { dg-options "-O2 -fstack-protector-all -mcmodel=kernel" } */
6 void test1 (int x)
8 char p[40];
9 int i;
10 for (i=0; i<40; i++)
11 p[i] = x;
14 /* { dg-final { scan-assembler-not "%fs" } } */