From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B57A385842F; Sat, 12 Feb 2022 21:21:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B57A385842F From: "rykong at tpg dot com.au" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/104516] New: internal compiler error: in leaf_function_p, at final.c:4491 Date: Sat, 12 Feb 2022 21:21:33 +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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rykong at tpg dot com.au 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 attachments.created 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: Sat, 12 Feb 2022 21:21:33 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104516 Bug ID: 104516 Summary: internal compiler error: in leaf_function_p, at final.c:4491 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: rykong at tpg dot com.au Target Milestone: --- Created attachment 52427 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D52427&action=3Dedit compiler output on screen cross gcc compiler for m32c generated from gcc-11.2.0 produced the following error when compiling an empty function: during RTL pass: pro_and_epilogue t.c: In function =E2=80=98testfun=E2=80=99: t.c:3:1: internal compiler error: in leaf_function_p, at final.c:4491 3 | } | ^ t.i: # 0 "t.c" # 0 "" # 0 "" # 1 "t.c" void testfun(void) { } running on ubuntu 20.04 uname -a Linux Phosphorus 5.13.0-28-generic #31~20.04.1-Ubuntu SMP Wed Jan 19 14:08:= 10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux=