* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr63995-2.c
blob89b429e7f5555ce418a902101431beec46d5243a
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-O2 -g -fcheck-pointer-bounds -mmpx -fcompare-debug" } */
4 struct ts
6 int field;
7 };
9 extern void test1 ();
10 extern void test2 (struct ts *);
12 static void
13 init (struct ts *c)
15 c->field = -1;
18 struct ts
19 test3 (const struct ts *other)
21 struct ts r;
22 if (other->field != 0)
23 test1 ();
24 init (&r);
25 test2 (&r);
26 return r;