Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/sms-compare-debug-2.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fcompare-debug -fmodulo-sched" } */ | |
3 | |
4 struct S { int f; signed int g : 2; } a[1], c = {5, 1}, d; | |
5 short b; | |
6 | |
7 __attribute__((noinline, noclone)) void | |
8 foo (int x) | |
9 { | |
10 if (x != 1) | |
11 __builtin_abort (); | |
12 } | |
13 | |
14 int | |
15 main () | |
16 { | |
17 while (b++ <= 0) | |
18 { | |
19 struct S e = {1, 1}; | |
20 d = e = a[0] = c; | |
21 } | |
22 foo (a[0].g); | |
23 return 0; | |
24 } |