Commit 19b6a33d by Tom de Vries Committed by Tom de Vries

re PR tree-optimization/50763 (ICE: verify_gimple failed: missing PHI def with -ftree-tail-merge)

2011-10-23  Tom de Vries  <tom@codesourcery.com>

	PR tree-optimization/50763
	* gcc.dg/pr50763.c: New test.

From-SVN: r180342
parent 4cbdcd40
2011-10-23 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50763
* gcc.dg/pr50763.c: New test.
2011-10-23 Uros Bizjak <ubizjak@gmail.com>
PR target/50788
......
/* { dg-do compile } */
/* { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-pre" } */
int bar (int i);
void
foo (int c, int d)
{
if (bar (c))
bar (c);
d = 33;
while (c == d);
}
/* { dg-final { scan-tree-dump-times "== 33" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
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