Commit 4807c076 by Andrey Belevantsev Committed by Andrey Belevantsev

re PR rtl-optimization/83852 (ICE in sel_redirect_edge_and_branch, at…

re PR rtl-optimization/83852 (ICE in sel_redirect_edge_and_branch, at sel-sched-ir.c:5644 on 32-bit BE powerpc targets)

        PR rtl-optimization/83852
        * gcc.dg/pr83852.c: New testcase.

From-SVN: r259373
parent 06258a7f
2018-04-13 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/83852
* gcc.dg/pr83852.c: New testcase.
2018-04-13 Andreas Krebbel <krebbel@linux.ibm.com> 2018-04-13 Andreas Krebbel <krebbel@linux.ibm.com>
PR testsuite/85326 PR testsuite/85326
......
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-std=gnu99 -O2 -fselective-scheduling -fno-if-conversion -fno-tree-dse -w" } */
long long int uo;
unsigned int vt;
void
r5 (long long int h8, long long int pu)
{
short int wj;
long long int *mh = h8;
for (wj = 0; wj < 3; ++wj)
{
int oq;
long long int ns, xf;
h8 += 2;
oq = !!h8 && !!wj;
++uo;
vt ^= oq + uo;
ns = !!uo && !!vt;
xf = (h8 != 0) ? mh : 1;
pu += ns < xf;
}
for (pu = 0; pu < 1; ++pu)
{
int *sc;
sc = (int *)&pu;
*sc = 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