https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84217
--- Comment #1 from G. Steinmetz <gs...@t-online.de> --- When configured with --enable-checking=release, an additional -ftrapv is necessary : $ gfortran-8-20180204 -c z1.f90 -fopenacc $ $ gfortran-8-20180204 -c z1.f90 -fopenacc -ftrapv during RTL pass: expand z1.f90:3:0: !$acc parallel loop tile(2,3) internal compiler error: in emit_library_call_value_1, at calls.c:4865 0x7f4732 emit_library_call_value_1(int, rtx_def*, rtx_def*, libcall_type, machine_mode, int, std::pair<rtx_def*, machine_mode>*) ../../gcc/calls.c:4864 0xab5eb7 emit_library_call_value(rtx_def*, rtx_def*, libcall_type, machine_mode, rtx_def*, machine_mode, rtx_def*, machine_mode) ../../gcc/rtl.h:4162 0xab5eb7 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) ../../gcc/optabs.c:1794 0x8e0cd7 expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool) ../../gcc/expmed.c:3536 0x900454 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) ../../gcc/expr.c:8948 0x80197d expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3729 0x80197d expand_gimple_stmt ../../gcc/cfgexpand.c:3790 0x802d5b expand_gimple_basic_block ../../gcc/cfgexpand.c:5810 0x808166 execute ../../gcc/cfgexpand.c:6416