From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DEB8C386103F; Wed, 25 Nov 2020 17:04:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEB8C386103F From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/97992] New: ICE in subst_asm_stack_regs, at reg-stack.c:2264 Date: Wed, 25 Nov 2020 17:04:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: Wed, 25 Nov 2020 17:04:47 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97992 Bug ID: 97992 Summary: ICE in subst_asm_stack_regs, at reg-stack.c:2264 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions down to at least r5 : $ cat z1.c long double f (long double x) { double r; asm volatile ("fsqrt" : "=3Dt"(r) : ""(x)); return f (x * x); } $ gcc-11-20201122 -c z1.c -O2 during RTL pass: stack z1.c: In function 'f': z1.c:7:1: internal compiler error: in subst_asm_stack_regs, at reg-stack.c:= 2264 7 | } | ^ 0xabde0e subst_asm_stack_regs ../../gcc/reg-stack.c:2264 0xabf8ad subst_stack_regs ../../gcc/reg-stack.c:2425 0xabfc27 convert_regs_1 ../../gcc/reg-stack.c:3080 0xabfc27 convert_regs_2 ../../gcc/reg-stack.c:3214 0xac0ddd convert_regs ../../gcc/reg-stack.c:3249 0xac0ddd reg_to_stack ../../gcc/reg-stack.c:3374 0xac0ddd rest_of_handle_stack_regs ../../gcc/reg-stack.c:3429 0xac0ddd execute ../../gcc/reg-stack.c:3460=