-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
The following code:
// test.c
void crash_compiler(const int *dimensions)
{
const int n = dimensions[0];
const int m = dimensions[1];
#pragma omp parallel
{
const float data[m];
}
}
produces the following internal compiler error when compiled with OpenMP enabled:
$ gcc -fopenmp -c test.c
during GIMPLE pass: local-fnsummary
test.c: In function 'crash_compiler':
test.c:11:1: internal compiler error: in estimate_move_cost, at tree-inline.cc:4249
11 | }
| ^
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://trac.macports.org/newticket> for instructions.
This ICE bug looks like it was introduced by abc4000.
Reported to MacPorts as https://trac.macports.org/ticket/73267 and to GCC as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122877.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels