From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 01A303858C62; Mon, 27 Mar 2023 19:23:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01A303858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679945011; bh=vQIGTzWfNgOnOzM5A/CFVCN4ojfYhkVC79dL2lq9l58=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lHQcLB0JoyB/HlG8bGL0VC4BDCmhJBnJiCcaFcdkvL55eQeyXQziyT3YlyAGVT3p9 smZ7nVx4fu+P0NvLp5h+xrlQP3RP4lLKPtSpcl5zPJZuSWVfdsI6AMR37ozaoyonRZ Z3GgB3Xf/f7MT5PctfYM7AfejYwEa359YfpToDJ4= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109301] [13 Regression] ICE in format_helper, at real.h:233 since r13-1763 Date: Mon, 27 Mar 2023 19:23:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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=3D109301 --- Comment #3 from Jakub Jelinek --- Tried -Ofast -mavx512f #include void foo (double *a, double *b) { for (int i =3D 0; i < 1024; i++) a[i] =3D pow (a[i], b[i]); } void bar (double *a) { for (int i =3D 0; i < 1024; i++) a[i] =3D cbrt (sqrt (a[i])); } void baz (double *a) { for (int i =3D 0; i < 1024; i++) a[i] =3D cbrt (cbrt (a[i])); } but that doesn't trigger, it uses simd clones rather than internal function= s. Strangely, bar isn't vectorized while foo and baz are.=