https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64734
Bug ID: 64734 Summary: ICE at omp lowering Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: u17263 at att dot net CC: jakub at gcc dot gnu.org Created attachment 34533 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34533&action=edit test case gcc version: 5.0.0 / svn : r220005 gcc -Wall -fopenmp -o bug-5 bug-5.c bug-5.c: In function ‘main’: bug-5.c:5:10: warning: unused variable ‘tid’ [-Wunused-variable] int x, tid[32]; ^ bug-5.c:5:7: warning: unused variable ‘x’ [-Wunused-variable] int x, tid[32]; ^ bug-5.c:7:9: internal compiler error: Segmentation fault #pragma omp target data map (to:tid[0:32]) map (to:x) ^ 0xac672f crash_signal /home/mentor/gomp/trunk/gcc/toplev.c:381 0x9b676b build_sender_ref /home/mentor/gomp/trunk/gcc/omp-low.c:1220 0x9e533c lower_omp_target /home/mentor/gomp/trunk/gcc/omp-low.c:11406 0x9dc271 lower_omp_1 /home/mentor/gomp/trunk/gcc/omp-low.c:11765 0x9dc271 lower_omp /home/mentor/gomp/trunk/gcc/omp-low.c:11853 0x9dc0dd lower_omp_1 /home/mentor/gomp/trunk/gcc/omp-low.c:11697 0x9dc0dd lower_omp /home/mentor/gomp/trunk/gcc/omp-low.c:11853 0x9dcdcd lower_omp_1 /home/mentor/gomp/trunk/gcc/omp-low.c:11706 0x9dcdcd lower_omp /home/mentor/gomp/trunk/gcc/omp-low.c:11853 0x9dcdcd lower_omp_1 /home/mentor/gomp/trunk/gcc/omp-low.c:11706 0x9dcdcd lower_omp /home/mentor/gomp/trunk/gcc/omp-low.c:11853 0x9ded9c execute_lower_omp /home/mentor/gomp/trunk/gcc/omp-low.c:11891 0x9ded9c execute /home/mentor/gomp/trunk/gcc/omp-low.c:11928