From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F100038618C7; Sun, 3 Dec 2023 19:04:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F100038618C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701630277; bh=3CsuezedwiU/0bExw+x08+GEpHPrGb5yfV/Iz1ZKDi8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yI8+5tf8holVPFWdvdEq5CyzjtTUcOxN7l3R3MP8pue0osZinSwwssRYS4KIe8jCC a+iy7VLnGIXd+KoEagOUZA6hI+1Lf/yUQVVkY4KKuGD3t7ZdvBwYCevWO1LKXKTb5d IIWcxvmc+xut0Bc1jeNVbArWGJyPDOk7OBqa+dPQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with on internal compiler error: in expand_insn, at optabs.cc:8305 after g:01c18f58d37865d5f3bbe93e666183b54ec608c7 Date: Sun, 03 Dec 2023 19:04:36 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D112406 --- Comment #25 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4c0dc30099d39ef6d1b6c8c81418c726aa660768 commit r14-6096-g4c0dc30099d39ef6d1b6c8c81418c726aa660768 Author: Jakub Jelinek Date: Sun Dec 3 20:03:27 2023 +0100 testsuite: Fix up gcc.target/aarch64/pr112406.c for modern C [PR112406] On Fri, Nov 17, 2023 at 02:04:01PM +0100, Robin Dapp wrote: > > Yes, your version is also OK. > > The attached was bootstrapped and regtested on aarch64, x86 and > regtested on riscv. Going to commit it later unless somebody objects. Unfortunately the aarch64/pr112406.c was reduced too much and is reject= ed since the switch to modern C patchset. The following patch fixes that, I've verified the testcase before/after the changes still ICEs in r14-5563 and doesn't with r14-5564 and after the changes compiles fine with even latest trunk. Everything admittedly with a cross-compiler, but that shouldn't change anything. Note, one of the modern C changes is that at least when people use cvise/creduce/delta scripts which ensure no further errors are introduc= ed during the reduction then expected originally such reductions will not appear anymore. 2023-12-03 Jakub Jelinek PR middle-end/112406 * gcc.target/aarch64/pr112406.c (MagickPixelPacket): Add missing semicolon. (GetImageChannelMoments_image): Avoid using implicit int. (SetMagickPixelPacket): Use void return type instead of implicit int. (GetImageChannelMoments): Likewise. Use __builtin_atan instead= of atan.=