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
This commit is contained in:
parent
4cbdcd40fa
commit
19b6a33daa
2 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
16
gcc/testsuite/gcc.dg/pr50763.c
Normal file
16
gcc/testsuite/gcc.dg/pr50763.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
/* { 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" } } */
|
Loading…
Add table
Reference in a new issue