This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81578] New: [8 Regression] ICE in omp_reduction_init_op
- From: "asolokha at gmx dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 08:31:56 +0000
- Subject: [Bug tree-optimization/81578] New: [8 Regression] ICE in omp_reduction_init_op
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81578
Bug ID: 81578
Summary: [8 Regression] ICE in omp_reduction_init_op
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
gcc-8.0.0-alpha20170723 snapshot ICEs when compiling the following snippet w/
-O1 (-O2, -O3, -Ofast) -ftree-parallelize-loops=2:
int
j4 (int q3, int fk, int ty)
{
while (ty != 0)
{
q3 *= (fk < 0);
++ty;
}
return q3;
}
% gcc-8.0.0-alpha20170723 -O1 -ftree-parallelize-loops=2 -c gpmoajjd.c
during GIMPLE pass: parloops
gpmoajjd.c: In function 'j4':
gpmoajjd.c:2:1: internal compiler error: in omp_reduction_init_op, at
omp-low.c:3417
j4 (int q3, int fk, int ty)
^~