This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42029] New: [4.5 Regression] ICE with complex data type and openmp for reduction clause
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2009 10:03:55 -0000
- Subject: [Bug middle-end/42029] New: [4.5 Regression] ICE with complex data type and openmp for reduction clause
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers in ICE on trunk:
======================================================
void foo()
{
int i;
_Complex int c = 0;
#pragma omp parallel for private(i) reduction(+:c)
for (i = 0; i < 8; ++i)
c += 0;
}
======================================================
bug.c: In function 'foo.omp_fn.0':
bug.c:8:7: error: invalid rhs for gimple memory store
D.2747
*D.2746_13;
D.2747 = *D.2746_13;
bug.c:8:7: internal compiler error: verify_stmts failed
Please submit a full bug report, [etc.]
--
Summary: [4.5 Regression] ICE with complex data type and openmp
for reduction clause
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored, openmp
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42029