https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88553
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-12-19 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. GCC 8 ICEs with during GIMPLE pass: ifcvt pr81768-2.c: In function ‘foo._omp_fn.1’: pr81768-2.c:10:9: internal compiler error: in execute_todo, at passes.c:2043 #pragma omp target parallel for schedule(static, 32) collapse(3) ^~~ 0xec47fc execute_todo /space/rguenther/src/svn/gcc-8-branch/gcc/passes.c:2043 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. GCC 7 with pr81768-2.c: In function ‘foo._omp_fn.1’: pr81768-2.c:10:9: internal compiler error: in make_decl_rtl, at varasm.c:1310 #pragma omp target parallel for schedule(static, 32) collapse(3) ^~~ 0x12debba make_decl_rtl(tree_node*) /space/rguenther/src/svn/gcc-7-branch/gcc/varasm.c:1306 0xac61f0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /space/rguenther/src/svn/gcc-7-branch/gcc/expr.c:9873 0xabeec1 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /space/rguenther/src/svn/gcc-7-branch/gcc/expr.c:8141 0xaa5945 expand_expr all probably the same underlying issue of if-conversion mucking up SSA form in unexpected ways.