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

            Bug ID: 122230
           Summary: ICE: maximum number of generated reload insns per insn
                    achieved (90)
           Product: gcc
           Version: 15.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qingren2hxb at gmail dot com
  Target Milestone: ---

input:

int main() {
  __complex float x = 3.0 - 2.0i;
  asm volatile("v0 = %0" : : "f"(x));
  if (__real x != 3.0 || __imag x != -2.0) __builtin_abort();
  return 0;
}

output:
during RTL pass: reload
test.c: In function 'main':
test.c:6:1: internal compiler error: maximum number of generated reload insns
per insn achieved (90)
    6 | }
      | ^
0x2157cc5 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x2167ecf internal_error(char const*, ...)
        ???:0
0xc9f3d0 lra_constraints(bool)
        ???:0
0xc8b572 lra(_IO_FILE*, int)
        ???:0
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to