This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66676] New: pragma omp simd aligned(x) results in "internal compiler error: Segmentation fault"
- From: "schreiberx at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Jun 2015 23:46:12 +0000
- Subject: [Bug c++/66676] New: pragma omp simd aligned(x) results in "internal compiler error: Segmentation fault"
- Auto-submitted: auto-generated
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.