https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116517
Bug ID: 116517 Summary: ICE in arm_print_operand_address Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pheeck at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: arm-linux-gnueabi Compiling the gcc testsuite file gfortran.dg/pr46755.f with the arm-linux-gnueabi fortran crosscompiler results in an ICE: arm-linux-gnueabi-gfortran /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/pr46755.f -Ofast -mno-pic-data-is-text-relative -fharden-control-flow-redundancy -mandroid /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/pr46755.f:7:72: 7 | ASSIGN 801 TO I800 ! { dg-warning "Deleted feature: ASSIGN" "Deleted feature: ASSIGN" } | 1 Warning: Deleted feature: ASSIGN statement at (1) /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/pr46755.f:9:33: 9 | GOTO I800 ! { dg-warning "Deleted feature: Assigned" "Assigned GO TO" } | 1 Warning: Deleted feature: Assigned GOTO statement at (1) /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/pr46755.f:11:72: 11 | ASSIGN 761 TO I760 ! { dg-warning "Deleted feature: ASSIGN" "Deleted feature: ASSIGN" } | 1 Warning: Deleted feature: ASSIGN statement at (1) /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/pr46755.f:17:72: 17 | ASSIGN 641 to I640 ! { dg-warning "Deleted feature: ASSIGN" "Deleted feature: ASSIGN" } | 1 Warning: Deleted feature: ASSIGN statement at (1) /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/pr46755.f:18:33: 18 | GOTO I760 ! { dg-warning "Deleted feature: Assigned" "Assigned GO TO" } | 1 Warning: Deleted feature: Assigned GOTO statement at (1) during RTL pass: final /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gfortran.dg/pr46755.f:23:72: 23 | END | ^ internal compiler error: in arm_print_operand_address, at config/arm/arm.cc:24913 0x1a8f29e internal_error(char const*, ...) /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/diagnostic-global-context.cc:492 0x6e0533 fancy_abort(char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/diagnostic.cc:1658 0x6cf541 arm_print_operand_address /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/config/arm/arm.cc:24913 0x9f85b3 output_address(machine_mode, rtx_def*) /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:3648 0x9f84c5 output_operand(rtx_def*, int) /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:3632 0x9f9029 output_asm_insn(char const*, rtx_def**) /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:3544 0x9faa8c output_asm_insn(char const*, rtx_def**) /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:3421 0x9faa8c final_scan_insn_1 /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:2840 0x9faeab final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:2886 0x9fb155 final_1 /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:1977 0x9fb946 rest_of_handle_final /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:4240 0x9fb946 execute /home/worker/buildworker/tiber-gcc-trunk-arm/build/gcc/final.cc:4318 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.