From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A83083858C50; Thu, 7 Apr 2022 09:17:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A83083858C50 From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/103938] [9/10/11/12 Regression] ICE with __builtin_prefetch and vectors Date: Thu, 07 Apr 2022 09:17:48 +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: 12.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.5 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, 07 Apr 2022 09:17:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103938 --- Comment #6 from Alex Coplan --- (In reply to Andrew Pinski from comment #5) > (In reply to Alex Coplan from comment #4) > > Confirmed on trunk. I can only reproduce the ICE with trunk, not with > > earlier released versions. >=20 > Are you sure you configured the previous released versions with > --enabled-checking=3Dyes ? That is the only way to get the ICE on released > versions. Well, I just tried a clean build of the GCC 11 branch with --enable-checking=3Dyes, and I don't see the ICE there: $ gcc/xgcc -B gcc -v Reading specs from gcc/specs COLLECT_GCC=3Dgcc/xgcc COLLECT_LTO_WRAPPER=3Dgcc/lto-wrapper Target: aarch64-linux-gnu Configured with: /home/alecop01/toolchain/src/gcc/configure --prefix=3D/data_sdb/toolchain/cc1s/gcc11-aarch64 --enable-languages=3Dc,c++ --disable-bootstrap --target=3Daarch64-linux-gnu --enable-checking=3Dyes Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.2.1 20220407 (GCC) $ cat t.c typedef unsigned long u64x2 __attribute__ ((vector_size(16))); void g (u64x2 off) { __builtin_prefetch ((void*)off[0], 0, 3); } $ gcc/xgcc -B gcc -c t.c -O2=