diff options
Diffstat (limited to 'gcc/testsuite/c-c++-common/cxxbitfields-4.c')
-rw-r--r-- | gcc/testsuite/c-c++-common/cxxbitfields-4.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/c-c++-common/cxxbitfields-4.c b/gcc/testsuite/c-c++-common/cxxbitfields-4.c deleted file mode 100644 index 7023b31654a..00000000000 --- a/gcc/testsuite/c-c++-common/cxxbitfields-4.c +++ /dev/null @@ -1,18 +0,0 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O2 --param allow-store-data-races=0" } */ - -struct bits -{ - char a; - int b:7; - int c:9; - unsigned char d; -} x; - -/* Store into <c> should not clobber <d>. */ -void update_c(struct bits *p, int val) -{ - p -> c = val; -} - -/* { dg-final { scan-assembler "mov\[bw\]" } } */ |