re PR rtl-optimization/67447 (ICE in extract_constrain_insn (reload_cse_simplify_operands): insn does not satisfy its constraints)
PR rtl-optimization/67447 * gcc.target/i386/pr67447.c: New test. From-SVN: r228461
This commit is contained in:
parent
beabed9997
commit
bd841941ec
@ -1,3 +1,8 @@
|
||||
2015-10-04 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR rtl-optimization/67447
|
||||
* gcc.target/i386/pr67447.c: New test.
|
||||
|
||||
2015-10-04 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* gcc.target/i386/vect-pack-trunc-1.c: Require avx512bw
|
||||
|
25
gcc/testsuite/gcc.target/i386/pr67447.c
Normal file
25
gcc/testsuite/gcc.target/i386/pr67447.c
Normal file
@ -0,0 +1,25 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O3 -march=haswell" } */
|
||||
|
||||
struct _GPart {
|
||||
int *g;
|
||||
};
|
||||
static int b, d, e;
|
||||
int *c, *f, *g;
|
||||
int a;
|
||||
|
||||
int fn2(int, int);
|
||||
|
||||
int fn1(int p1) {
|
||||
int h = fn2(p1, (int)(long)&e);
|
||||
for (; d < e; d++)
|
||||
if (f[d] != a)
|
||||
h += g ? g[f[d]] : 1;
|
||||
return h;
|
||||
}
|
||||
|
||||
int main() {
|
||||
struct _GPart *i;
|
||||
for (; b < (int)(long)(i->g); b++)
|
||||
c[b] = fn1((int)(long)i->g);
|
||||
}
|
Loading…
Reference in New Issue
Block a user