comparison gcc/testsuite/c-c++-common/cxxbitfields-6.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 1830386684a0
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR middle-end/50141 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 --param allow-store-data-races=0" } */
4
5 struct S
6 {
7 int i:8;
8 };
9
10 void bar (struct S, int);
11
12 void
13 foo (struct S s, int i)
14 {
15 s.i = i;
16 bar (s, i);
17 }