https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217
Bug ID: 100217 Summary: [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- The following testcase reduced from valgrind ICEs on s390x with -mlong-double-128 -march=z14 (with -O2 too): void foo (void) { register long double f0 asm ("f0"); f0 = 1.0L; asm("" : : "f" (f0)); } starting with r11-7552-g3cb8aab390ccf31e4581863b080db30c6735e51e fpext.i: In function ‘foo’: fpext.i:6:3: internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:1023 6 | asm("" : : "f" (f0)); | ^~~ 0xcbf9c2 gen_rtx_SUBREG(machine_mode, rtx_def*, poly_int<1u, unsigned long>) ../../gcc/emit-rtl.c:1023 0x1c0a54f gen_tf_to_fprx2(rtx_def*, rtx_def*) /usr/src/gcc-test/objz2/gcc/insn-emit.c:4851 0x1725bcb s390_md_asm_adjust ../../gcc/config/s390/s390.c:16786 0xb88cf4 expand_asm_stmt ../../gcc/cfgexpand.c:3424 0xb8a308 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3841 0xb8a9af expand_gimple_stmt ../../gcc/cfgexpand.c:4008 0xb92fad expand_gimple_basic_block ../../gcc/cfgexpand.c:6045 0xb94da2 execute ../../gcc/cfgexpand.c:6729