Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/torture/pr86034.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* PR tree-optimization/86034 */ /* Testcase by Zhendong Su <su@cs.ucdavis.edu> */ /* { dg-do run } */ struct A { int b; __INT32_TYPE__ 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; }