From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BE81B3858D37; Thu, 29 Jun 2023 07:43:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE81B3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688024595; bh=gJAhLutmNc9nBhDCtf9WvaE5B5MqPNCe+cn8Uxl6Wt0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=twtH4VZXKXY77hj/f+EZ6ImYVtxsPHqxWmEQXJiPFwuvVv6fVpQGdbQlpCidIJu3N QVmspzZv95pVyJB+cC/pVeQJaRmUmtnlHDnSobF5YgAPaXv9MrqU2FJx7t7MVgFhb6 TAnkgsUYNYMvQ6s51xLV9MiHyLvn8rFEYm2uQJG0= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking Date: Thu, 29 Jun 2023 07:43:15 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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=3D110461 --- Comment #12 from David Binderman --- Here is a test case which seems to demonstrate the problem: $ /home/dcb38/gcc/results/bin/gcc -c -w -O1 -march=3Dznver1 bug935.c during GIMPLE pass: fre bug935.c: In function =E2=80=98func_63=E2=80=99: bug935.c:5:6: internal compiler error: tree check: expected none of vector_type, have vector_type in gimple_simplify_144, at gimple-match-3.cc:1027 5 | void func_63() { | ^~~~~~~ 0x11656f9 tree_not_check_failed(tree_node const*, char const*, int, char const*, ...) ../../trunk.year/gcc/tree.cc:8936 0x1dc7c8b gimple_simplify_144(gimple_match_op*, gimple**, tree_node* (*)(tree_no de*), tree_node*, tree_node**, tree_code) /home/dcb38/gcc/working/gcc/gimple-match-3.cc:1027 0x1db5e1a gimple_simplify_BIT_AND_EXPR(gimple_match_op*, gimple**, tree_nod= e* (* )(tree_node*), code_helper, tree_node*, tree_node*, tree_node*) /home/dcb38/gcc/working/gcc/gimple-match-2.cc:16999=