[Bug tree-optimization/91181] [10 Regression] Failing as_as type conversion in vect_build_slp_tree_1
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 16 14:13:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91181
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alejandro at gcc dot gnu.org
Known to fail| |10.0
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r271704.
Test-case without warnings:
$ cat pr91181.c
enum { a, b, c };
float *d, *e;
int f, g, h, i;
void j() {
float a;
for (; h; h++) {
i = h * 4;
a = d[i + b];
if (a) {
e[i + b] = g < d[i + b] * f * a ? g : d[i + b] * f * a;
e[i + c] = g < d[i + c] * f * a ? g : d[i + c] * f * a;
}
e[i + b] = e[i + c];
}
}
More information about the Gcc-bugs
mailing list