This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/42029] New: [4.5 Regression] ICE with complex data type and openmp for reduction clause


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]