https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80303
Bug ID: 80303 Summary: ICE in output_operand: cannot decompose address w/ -fsanitize=undefined Product: gcc Version: 7.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 Target Milestone: --- Host: x86_64-linux-gnu Target: s390x-linux-gnu Following test-case ICEs with cross compiler: $ s390x-linux-gnu-gfortran /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/g77/dnrm2.f -fsanitize=undefined -Os -march=zEC12 /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/g77/dnrm2.f:36:72: 10 assign 30 to next ! { dg-warning "ASSIGN" "" } 1 Warning: Deleted feature: ASSIGN statement at (1) /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/g77/dnrm2.f:40:19: 20 go to next,(30, 50, 70, 110) ! { dg-warning "Assigned GOTO" "" } 1 Warning: Deleted feature: Assigned GOTO statement at (1) /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/g77/dnrm2.f:42:72: assign 50 to next ! { dg-warning "ASSIGN" "" } 1 Warning: Deleted feature: ASSIGN statement at (1) /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/g77/dnrm2.f:46:72: assign 70 to next ! { dg-warning "ASSIGN" "" } 1 Warning: Deleted feature: ASSIGN statement at (1) /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/g77/dnrm2.f:50:72: assign 110 to next ! { dg-warning "ASSIGN" "" } 1 Warning: Deleted feature: ASSIGN statement at (1) /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/g77/dnrm2.f:76:0: end internal compiler error: output_operand: cannot decompose address 0x8b8173 output_operand_lossage(char const*, ...) .././../gcc/final.c:3457 0xf0904e print_operand_address(_IO_FILE*, rtx_def*) .././../gcc/config/s390/s390.c:7325 0x8b83a3 output_address(machine_mode, rtx_def*) .././../gcc/final.c:3907 0x8b8d3d output_asm_insn(char const*, rtx_def**) .././../gcc/final.c:3768 0x8ba12e output_asm_insn(char const*, rtx_def**) .././../gcc/final.c:3053 0x8ba12e final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) .././../gcc/final.c:3058 0x8ba4e2 final(rtx_insn*, _IO_FILE*, int) .././../gcc/final.c:2051 0x8baf67 rest_of_handle_final .././../gcc/final.c:4489 0x8baf67 execute .././../gcc/final.c:4562