re PR rtl-optimization/83771 (ICE: verify_flow_info failed (error: non-cold basic block 3 reachable only by paths crossing the cold partition))
PR rtl-optimization/83771 * gcc.dg/pr83771.c: New test. From-SVN: r256781
This commit is contained in:
parent
46ba991f54
commit
1b45f2600e
2 changed files with 24 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-01-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR rtl-optimization/83771
|
||||
* gcc.dg/pr83771.c: New test.
|
||||
|
||||
2018-01-17 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR tree-optimization/81184
|
||||
|
|
19
gcc/testsuite/gcc.dg/pr83771.c
Normal file
19
gcc/testsuite/gcc.dg/pr83771.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* PR rtl-optimization/83771 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -fmodulo-sched -fno-ssa-phiopt" } */
|
||||
|
||||
long int a;
|
||||
int b;
|
||||
int foo (int);
|
||||
|
||||
void
|
||||
bar (void)
|
||||
{
|
||||
int c;
|
||||
do
|
||||
{
|
||||
c = a / (!!b == 1);
|
||||
c = !!c + 1;
|
||||
}
|
||||
while (foo (c) < 1);
|
||||
}
|
Loading…
Add table
Reference in a new issue