https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87133
Bug ID: 87133 Summary: ICE in aggregate_value_p with -frounding-math on ppc64le Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: segher at gcc dot gnu.org Target Milestone: --- Following causes ICE: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/real_do_1.f90 -frounding-math /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/real_do_1.f90:13:5: 13 | do x = 1.0, 2.05, 0.1 | 1 Warning: Deleted feature: Loop variable at (1) must be integer /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/real_do_1.f90:13:8: 13 | do x = 1.0, 2.05, 0.1 | 1 Warning: Deleted feature: Start expression in DO loop at (1) must be integer /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/real_do_1.f90:13:13: 13 | do x = 1.0, 2.05, 0.1 | 1 Warning: Deleted feature: End expression in DO loop at (1) must be integer /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/real_do_1.f90:13:19: 13 | do x = 1.0, 2.05, 0.1 | 1 Warning: Deleted feature: Step expression in DO loop at (1) must be integer during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/real_do_1.f90:13:0: 13 | do x = 1.0, 2.05, 0.1 | internal compiler error: Segmentation fault 0x10fff2c crash_signal /home/marxin/Programming/gcc/gcc/toplev.c:325 0x7ffff69d810f ??? /usr/src/debug/glibc-2.27-6.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0xccabbd aggregate_value_p(tree_node const*, tree_node const*) /home/marxin/Programming/gcc/gcc/function.c:2046 0xa92e21 emit_library_call_value_1(int, rtx_def*, rtx_def*, libcall_type, machine_mode, int, std::pair<rtx_def*, machine_mode>*) /home/marxin/Programming/gcc/gcc/calls.c:4745 0xc0fd85 emit_library_call_value(rtx_def*, rtx_def*, libcall_type, machine_mode, rtx_def*, machine_mode) /home/marxin/Programming/gcc/gcc/rtl.h:4185 0xc2ddb2 convert_mode_scalar /home/marxin/Programming/gcc/gcc/expr.c:329 0xc2d8e4 convert_move(rtx_def*, rtx_def*, int) /home/marxin/Programming/gcc/gcc/expr.c:271 0xc306d7 convert_modes(machine_mode, machine_mode, rtx_def*, int) /home/marxin/Programming/gcc/gcc/expr.c:712 0xc2fc57 convert_to_mode(machine_mode, rtx_def*, int) /home/marxin/Programming/gcc/gcc/expr.c:637 0xf81a00 expand_fix(rtx_def*, rtx_def*, int) /home/marxin/Programming/gcc/gcc/optabs.c:4930 0xc515e6 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/marxin/Programming/gcc/gcc/expr.c:8961 0xab0412 expand_gimple_stmt_1 /home/marxin/Programming/gcc/gcc/cfgexpand.c:3673 0xab068f expand_gimple_stmt /home/marxin/Programming/gcc/gcc/cfgexpand.c:3734 0xab93b3 expand_gimple_basic_block /home/marxin/Programming/gcc/gcc/cfgexpand.c:5770 0xabadb2 execute /home/marxin/Programming/gcc/gcc/cfgexpand.c:6373