Example:
int toto() {
        int a=0;
        #pragma omp single
        {
                for (int i=0; i<10; ++i)
                        a += i;
        }
        return a;
}
int main() { return toto(); }

----
Even though we don't support openmp currently, this should not ICE.


-- 
           Summary: -fopenmp causes ICE on valid code
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25952

Reply via email to