From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ACFDE3858429; Thu, 11 Aug 2022 10:19:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACFDE3858429 From: "jankowski938 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106582] Wrong code generation resulting in HardFault Date: Thu, 11 Aug 2022 10:19:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jankowski938 at gmail dot com X-Bugzilla-Status: WAITING 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: Message-ID: In-Reply-To: References: 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, 11 Aug 2022 10:19:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106582 --- Comment #3 from Piotr --- (In reply to Richard Biener from comment #1) > Can you provide preprocessed source of the file where the crash occurs and > the compiler commandline? Can you also try GCC 10.4 (or a compiler built > from > the GCC 10 branch head) or possibly even GCC 12.1 to see if the issue sti= ll > reproduces there? Attached preprocessed file.=20 The compiler comes with STMCubeIDE and I would not manually change it. Full command line is in the original post (excluding include and library files a= nd paths)=