view gcc/testsuite/gcc.dg/torture/pr70396.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */

struct S2 {
    signed f1 : 3;
};
int a[100];
int b, c;
char d;
void fn1() {
    struct S2 e;
    b / e.f1;
    c = 2;
    for (; c < 100; c++) {
	d = 0;
	a[c] = ~e.f1 != d;
    }
}