Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr66922.c

raw
1 /* { dg-do run } */
2 /* { dg-options "-O1 -msse2" } */
3 /* { dg-require-effective-target sse2 } */
4
5 #include "sse2-check.h"
6
7 struct S
8 {
9 int:31;
10 int:2;
11 int f0:16;
12 int f1;
13 int f2;
14 };
15
16 static void
17 sse2_test (void)
18 {
19 struct S a = { 1, 0, 0 };
20
21 if (a.f0 != 1)
22 __builtin_abort();
23 }