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

            Bug ID: 121634
           Summary: internal compiler error: in new_binary_operation, at
                    vector-builder.h:300 compiling highway gtest on
                    LoongArch with -O2 -mlasx
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xry111 at gcc dot gnu.org
  Target Milestone: ---

Created attachment 62173
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62173&action=edit
compressed preprocessed test case

/root/highway-1.3.0/hwy/tests/test_util-inl.h:268:3: internal compiler error:
in new_binary_operation, at vector-builder.h:300
0x555558072c43 internal_error(char const*, ...)
        ../../gcc/gcc/diagnostic-global-context.cc:534
0x5555560dbf9b fancy_abort(char const*, int, char const*)
        ../../gcc/gcc/diagnostics/context.cc:1687
0x555556e605b7 vector_builder<rtx_def*, machine_mode,
rtx_vector_builder>::new_binary_operation(machine_mode, rtx_def*, rtx_def*,
bool)
        ../../gcc/gcc/vector-builder.h:300
0x555556e605b7 simplify_const_binary_operation(rtx_code, machine_mode,
rtx_def*, rtx_def*)
        ../../gcc/gcc/simplify-rtx.cc:5360
0x555556e5d6ab simplify_context::simplify_binary_operation(rtx_code,
machine_mode, rtx_def*, rtx_def*)
        ../../gcc/gcc/simplify-rtx.cc:2764
0x555557d2740b simplify_binary_operation(rtx_code, machine_mode, rtx_def*,
rtx_def*)
        ../../gcc/gcc/rtl.h:3559
0x555557d2740b fold_rtx
        ../../gcc/gcc/cse.cc:3728
0x555557d26c4f fold_rtx
        ../../gcc/gcc/cse.cc:3227
0x555557d28cbb cse_insn
        ../../gcc/gcc/cse.cc:4676
0x555557d2e897 cse_extended_basic_block
        ../../gcc/gcc/cse.cc:6583
0x555557d2e897 cse_main
        ../../gcc/gcc/cse.cc:6736
0x555557d2f35f rest_of_handle_cse
        ../../gcc/gcc/cse.cc:7577
0x555557d2f35f execute
        ../../gcc/gcc/cse.cc:7622
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.

Reply via email to