This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/69820] [6 Regression] Test miscompiled with -O3 option
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Feb 2016 15:16:06 +0000
- Subject: [Bug tree-optimization/69820] [6 Regression] Test miscompiled with -O3 option
- Auto-submitted: auto-generated
- References: <bug-69820-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69820
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
knl ICE:
int a[100], b[100];
short c[100];
void fn1() {
for (int i = 0; i < 100; ++i)
b[i] = a[i] * (bool)c[i];
}