Commit 3fe126af by H.J. Lu Committed by H.J. Lu

Add a testcase for PR 84799

This was introduced by r258390 and fixed by r258415.

	* gcc.dg/pr84799.c: New test.

From-SVN: r258448
parent 11b782f7
2018-03-12 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/pr84799.c: New test.
2018-03-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/84803
......
/* { dg-do compile } */
/* { dg-options "-O" } */
int a, g;
long b, f;
short c, d, e;
static void fn1 ()
{
if (a)
{
long i = 5, j = b / i | c;
int k = b % (d % i) & j;
short l = ~f % (-d / j ^ -e), m = e << (d - l);
if (k)
m = d;
i = d | (i & b);
g = (c | ~f) % i + l;
e = (c - f) & e;
d = m;
}
}
int main ()
{
b |= 1;
fn1 ();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment