http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60534
Bug ID: 60534 Summary: ICE: in expand_GOMP_SIMD_VF, at internal-fn.c:142 with -fopenmp -O -fno-tree-loop-optimize and #pragma omp simd reduction Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 32358 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32358&action=edit reduced testcase Compiler output: $ gcc -fopenmp -O -fno-tree-loop-optimize testcase.c testcase.c: In function 'foo': testcase.c:4:1: internal compiler error: in expand_GOMP_SIMD_VF, at internal-fn.c:142 foo (int a) ^ 0x946367 expand_GOMP_SIMD_VF /mnt/svn/gcc-trunk/gcc/internal-fn.c:142 0x7561f9 expand_call_stmt /mnt/svn/gcc-trunk/gcc/cfgexpand.c:2190 0x7561f9 expand_gimple_stmt_1 /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3160 0x7561f9 expand_gimple_stmt /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3312 0x757667 expand_gimple_basic_block /mnt/svn/gcc-trunk/gcc/cfgexpand.c:5152 0x759a0e gimple_expand_cfg /mnt/svn/gcc-trunk/gcc/cfgexpand.c:5731 0x759a0e execute /mnt/svn/gcc-trunk/gcc/cfgexpand.c:5951 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r208561 - ICE 4.8 - ignoring #pragma omp simd