Compiling the attached preprocessed source using g++-rep -march=native -fopenmp -Wall -frounding-math -c task_ice.cpp
gives an ICE. Compiles fine if c_low is explicitly declared firstprivate in line 126,268 like this: #pragma omp task firstprivate(c_low) -- Summary: ICE on valid: OpenMP task construct with implicit firstprivate variables Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: singler at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37189