From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B997C385782D; Mon, 10 Oct 2022 13:23:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B997C385782D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665408202; bh=8ETdSc/iAfkbqQEYJ8TZsXpZjaEt+CQvxc07BndTKME=; h=From:To:Subject:Date:In-Reply-To:References:From; b=asVMcLDwAPuaS7g+CAKCc2hMEo/2Kc2Bp7MsjlGnWQGC4UBN6ow6Go/O+3dKuMXwH zRVybhpkD5eGEAy+wk5lzZl8WRTTiBwjFmCmkj7+DGgD9swAROwtju5KP6E2FXtZbD 2eNe2ys7DtC+AViEmI69bt9hxY8tgk6lY+0f+WMA= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99723] [11/12/13 Regression] arm: ICE in build_function_type during selftests Date: Mon, 10 Oct 2022 13:23:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: akrl at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.4 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99723 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Andrea Corallo : https://gcc.gnu.org/g:248c8aeebc49aae3fd96bd587367d12e7c8b3c3a commit r13-3201-g248c8aeebc49aae3fd96bd587367d12e7c8b3c3a Author: Andrea Corallo Date: Tue Sep 27 16:20:28 2022 +0200 Don't ICE running selftests if errors were raised [PR99723] Hi all this is to address PR 99723. In the PR GCC crashes as the initialization of common trees is not performed as no compilation is happening, this is because we raise an error earlier while processing the arch flags. This patch changes the code to execute selftests only if no errors where raised before. Bootstrapped on aarch64, okay for trunk? Best Regards Andrea 2022-09-27 Andrea Corallo PR other/99723 * toplev.cc (toplev::main): Don't run self tests in case of previous error.=