view gcc/testsuite/gcc.dg/torture/pr68946.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 } */
/* { dg-additional-options "-fno-vect-cost-model" } */

int printf (const char *, ...);

int a, b, g;
short c, e, h, i;
int f[8];
void fn1() {
    short j;
    for (; a;) {
	printf("%d", g);
	b = 7;
	for (; b >= 0; b--) {
	    i = 1;
	    short k = f[b];
	    e = k ? k : 3;
	    j = (i && (c |= e)) << 3;
	    int l = j, m = 0;
	    h = l < 0 || l >> m;
	    f[b] = h;
	}
    }
}