From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 249A83894C37; Thu, 22 Apr 2021 18:24:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 249A83894C37 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100217] New: [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552 Date: Thu, 22 Apr 2021 18:24:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 18:24:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100217 Bug ID: 100217 Summary: [11/12 Regression] ICE when building valgrind testsuite with -march=3Dz14 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=3Dz14 (with -O2 too): void foo (void) { register long double f0 asm ("f0"); f0 =3D 1.0L; asm("" : : "f" (f0)); } starting with r11-7552-g3cb8aab390ccf31e4581863b080db30c6735e51e fpext.i: In function =E2=80=98foo=E2=80=99: 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=