Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/ipa/pr57347.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do run } */ /* { dg-options "-O3" } */ struct S1 { int f0; int f1 : 10; int f2 : 13; }; int i; int *j = &i; static void foo (struct S1 s) { int *p; int l[88]; int **pp = &p; *pp = &l[1]; l[0] = 1; *j = 1 && s.f2; } int main () { struct S1 s = { 0, 0, 1 }; foo (s); if (i != 1) __builtin_abort (); return 0; }