https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240

            Bug ID: 108240
           Summary: ICE in emit_library_call_value_1 at gcc/calls.cc:4181
                    since r13-4894-gacc727cf02a144
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: linkw at gcc dot gnu.org
  Target Milestone: ---

Since the revision, I see:

$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/minloc_string_1.f90
-mmodulo -mcpu=401
during RTL pass: expand
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/minloc_string_1.f90:21:16:

   21 |   a = int(r*100)
      |                ^
internal compiler error: Segmentation fault
0x11c81f8 crash_signal
        /home/marxin/Programming/gcc2/gcc/toplev.cc:314
0x7ffff78d18df ???
       
/usr/src/debug/glibc-2.36/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xe00886 aggregate_value_p(tree_node const*, tree_node const*)
        /home/marxin/Programming/gcc2/gcc/function.cc:2056
0xc442d3 emit_library_call_value_1(int, rtx_def*, rtx_def*, libcall_type,
machine_mode, int, std::pair<rtx_def*, machine_mode>*)
        /home/marxin/Programming/gcc2/gcc/calls.cc:4181
0xda7819 emit_library_call_value(rtx_def*, rtx_def*, libcall_type,
machine_mode, rtx_def*, machine_mode)
        /home/marxin/Programming/gcc2/gcc/rtl.h:4399
0xda7819 convert_mode_scalar
        /home/marxin/Programming/gcc2/gcc/expr.cc:529
0xda8c30 convert_modes(machine_mode, machine_mode, rtx_def*, int)
        /home/marxin/Programming/gcc2/gcc/expr.cc:931
0x107f7ab expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)
        /home/marxin/Programming/gcc2/gcc/optabs.cc:1671
0xd8c0a7 expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool)
        /home/marxin/Programming/gcc2/gcc/expmed.cc:3600
0xc5b080 expand_gimple_stmt_1
        /home/marxin/Programming/gcc2/gcc/cfgexpand.cc:3983
0xc5b080 expand_gimple_stmt
        /home/marxin/Programming/gcc2/gcc/cfgexpand.cc:4044
0xc605be expand_gimple_basic_block
        /home/marxin/Programming/gcc2/gcc/cfgexpand.cc:6096
0xc61ec6 execute
        /home/marxin/Programming/gcc2/gcc/cfgexpand.cc:6822
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

while the code was rejected before the revision with:
f951: Error: ‘-m64’ requires a PowerPC64 cpu

Reply via email to