tree-optimization/110376 - testcase for fixed bug
This is a new testcase for the fixed bug. PR tree-optimization/110376 * gcc.dg/torture/pr110376.c: New testcase.
This commit is contained in:
parent
2c12ccf800
commit
d4800a23d8
1 changed files with 39 additions and 0 deletions
39
gcc/testsuite/gcc.dg/torture/pr110376.c
Normal file
39
gcc/testsuite/gcc.dg/torture/pr110376.c
Normal file
|
@ -0,0 +1,39 @@
|
|||
/* { dg-do run } */
|
||||
|
||||
int f, g, a, c;
|
||||
unsigned char k = 204;
|
||||
unsigned char *l = &k;
|
||||
short m, n;
|
||||
static long b;
|
||||
unsigned *h = &c;
|
||||
unsigned **i = &h;
|
||||
int p(unsigned char *aa) {
|
||||
aa[0] && aa[1] && aa[2];
|
||||
return 1;
|
||||
}
|
||||
int q(unsigned char c) {
|
||||
unsigned char d[] = {c};
|
||||
int e = p(d);
|
||||
return e;
|
||||
}
|
||||
int r(int j, int h) {
|
||||
f = h / 4;
|
||||
g = f * 6;
|
||||
return g;
|
||||
}
|
||||
short s() { return **i; }
|
||||
void t() {
|
||||
for (; r(9, *l) <= 1;) {
|
||||
int j;
|
||||
long *o = &b;
|
||||
*o = 0 >= 0;
|
||||
for (; q(0) + a > 1; a++)
|
||||
*o = 0 > m;
|
||||
j = s();
|
||||
for (; a;)
|
||||
n = j;
|
||||
for (; (unsigned char)(1 + k + b) + k; --k)
|
||||
;
|
||||
}
|
||||
}
|
||||
int main() { t(); }
|
Loading…
Add table
Reference in a new issue