[Bug c++/88949] New: ICE in expand_expr_real_1, at expr.c:10001 with -fopenmp
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 21 14:10:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88949
Bug ID: 88949
Summary: ICE in expand_expr_real_1, at expr.c:10001 with
-fopenmp
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: openmp
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: jakub at gcc dot gnu.org
Target Milestone: ---
Probably quite old issue:
$ cat parallel_firstprivate_codegen.cpp
struct a {
int b;
a(int) {
#pragma omp parallel firstprivate(b)
--b;
}
};
int c;
int main() { a d(c); }
$ g++ parallel_firstprivate_codegen.cpp -fopenmp
during RTL pass: expand
parallel_firstprivate_codegen.cpp: In constructor ‘a::a(int)’:
parallel_firstprivate_codegen.cpp:4:37: internal compiler error: in
expand_expr_real_1, at expr.c:10001
#pragma omp parallel firstprivate(b)
^
0x7ffff6996fea __libc_start_main
../csu/libc-start.c:308
Reduced from:
https://github.com/llvm-mirror/clang/blob/master/test/OpenMP/parallel_firstprivate_codegen.cpp
More information about the Gcc-bugs
mailing list