Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr86034.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children | 1830386684a0 |
line wrap: on
line source
/* PR tree-optimization/86034 */ /* Testcase by Zhendong Su <su@cs.ucdavis.edu> */ /* { dg-do run } */ struct A { int b; int c:24; int d:10; int e; } f; int g; void h () { struct A i = { 0, 0, -1, 0 }; L: f = i; i.d = 0; if (g < 0) goto L; } int main (void) { h (); if (f.e != 0) __builtin_abort (); return 0; }