From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5706384641D; Thu, 27 Oct 2022 15:00:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5706384641D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666882836; bh=bAlqouDMWIw2VgwU+LfCBsMSX+xpsehCcOZ1pJNmywE=; h=From:To:Subject:Date:From; b=wr653zPHJcVz3Jjc6EwFPtaUaZV42Y9+AUuiO8UO0lLX5xPfh5pk8gXsEOVRf397d qVyLnOQc5UJWf8Qk+clR+nSpFDjsFrrBpvz+WjPFqmSEcYotrCJpn+ZOwVfRqr2wpT 7g/uTSqYwdqvAIbLVSDjBjCgIq9pd/W+Cx/HCBUU= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107435] New: ice in build_vector_from_val, at tree.cc:2125 Date: Thu, 27 Oct 2022 15:00:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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=3D107435 Bug ID: 107435 Summary: ice in build_vector_from_val, at tree.cc:2125 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 53780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53780&action=3Dedit C source code For the attached code, compiled with=20 -std=3Dgnu89 -O3 -march=3Dznver3 -c bug858.c recent gcc does this: during GIMPLE pass: vect src/io/trove/trove-dbpf/dbpf-open-cache.c: In function =E2=80=98dbpf_open_cache_initiali ze=E2=80=99: src/io/trove/trove-dbpf/dbpf-open-cache.c:100:6: internal compiler error: in bui ld_vector_from_val, at tree.cc:2125 0x1072d8e build_vector_from_val(tree_node*, tree_node*) ../../trunk.git/gcc/tree.cc:2124 0x100a927 vectorizable_recurr(_loop_vec_info*, _stmt_vec_info*, gimple**, _slp_t ree*, vec*) ../../trunk.git/gcc/tree-vect-loop.cc:8472 The bug first seems to occur sometime between git hash baeec7cc83b19b46 and 3bd5d9a28e1ce4d1, a day later. I have a reduction running.=