[Bug c++/66676] New: pragma omp simd aligned(x) results in "internal compiler error: Segmentation fault"

schreiberx at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 25 23:46:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66676

            Bug ID: 66676
           Summary: pragma omp simd aligned(x) results in "internal
                    compiler error: Segmentation fault"
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schreiberx at gmail dot com
  Target Milestone: ---

Created attachment 35855
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35855&action=edit
reproducer of bug

The Compiler segfaults if declaring a function with

  #pragma omp declare simd aligned(i_x)
   void ODEBenchmark_OpenMP_ver2(double *i_x){}

By specifying the alignment such as via
   #pragma omp declare simd aligned(i_x:128)
   void ODEBenchmark_OpenMP_ver2(double *i_x){}
compiles the program.

GCC version 5.1.0

Compile attached source code with
g++ -fopenmp ODEBenchmark.cpp
to reproduce bug.



More information about the Gcc-bugs mailing list