analyzer: enable taint state machine by default [PR103533]
[official-gcc.git] / gcc / testsuite / c-c++-common / pr95237-7.c
blob8410009d00ec55175a2c8ec2ed869cbfb6177ad1
1 /* { dg-do run } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-options "-mpreferred-stack-boundary=2" { target { i?86-*-* x86_64-*-* } } } */
4 #include <stddef.h>
5 struct test
7 char a;
8 long long b;
9 };
10 struct test global_var;
11 int main()
13 struct test local_var;
14 if (__alignof__(global_var) != 4
15 || __alignof__(local_var) != 4
16 || offsetof(struct test, b) != 4)
17 __builtin_abort();
18 return 0;