From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D4E6B3858D28; Fri, 12 Aug 2022 06:37:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4E6B3858D28 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/106582] Wrong code generation resulting in HardFault Date: Fri, 12 Aug 2022 06:37:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: Fri, 12 Aug 2022 06:37:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106582 --- Comment #8 from Richard Biener --- (In reply to Piotr from comment #3) > (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 bui= lt > > from > > the GCC 10 branch head) or possibly even GCC 12.1 to see if the issue s= till > > reproduces there? >=20 > Attached preprocessed file.=20 >=20 > The compiler comes with STMCubeIDE and I would not manually change it. Fu= ll > command line is in the original post (excluding include and library files > and paths) Just to note besides the conversation with Andrew - if you got the compiler from some vendor and are not willing to try a plain version from upstream it might be useful to report it to the vendor - those often apply changes to G= CC we do not know about and of course those might also introduce bugs (and I h= ope they are interested in such bugreports).=