From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9CED13858D39; Wed, 28 Jun 2023 16:46:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CED13858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687970793; bh=Vmgewo027owkkgk7NDBw8tk9kWlh8Rj+SmQH8L29gg8=; h=From:To:Subject:Date:From; b=xppgVGaT/ASj3X6zZrp1Ae5ZC1QsxoJuDXqLtlVxu24FzAFZg4cT1dj/baYa19Ovo AOtzgLYeiFz07DPgMjvLy46KutTiWgD5+J3oVJ+pLPCMYdKyjgII1gApQAnpBfiyEN bYfuOa/pbHkLqxzuBTB4IamGNk0tK5EbO+r8V9Ug= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110461] New: [14 regression] ICE when building openh264 with new vector_type checking Date: Wed, 28 Jun 2023 16:46:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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=3D110461 Bug ID: 110461 Summary: [14 regression] ICE when building openh264 with new vector_type checking Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 55414 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55414&action=3Dedit encode_mb_aux.ii g++ -c encode_mb_aux.ii -O2 is enough to repro. ``` aarch64-unknown-linux-gnu-g++ -O3 -pipe -mcpu=3Dnative -fdiagnostics-color= =3Dalways -DNDEBUG -DHAVE_NEON_AARCH64 -Wall -fno-strict-aliasing -fPIC -MMD -MP -fstack-protector-all -march=3Darmv8-a -DGENERATED_VERSION_HEADER -O3 -pipe -mcpu=3Dnative -fdiagnostics-color=3Dalways -Wno-class-memaccess -I./codec/= api/wels -I./codec/common/inc -Icodec/common/inc -I./codec/encoder/core/inc -I./codec/encoder/plus/inc -I./codec/processing/interface -c -o codec/encoder/core/src/encode_mb_aux.o codec/encoder/core/src/encode_mb_aux= .cpp during GIMPLE pass: vect codec/encoder/core/src/encode_mb_aux.cpp: In function =E2=80=98void WelsEnc::WelsQuantFour4x4Max_c(int16_t*, const int16_t*, const int16_t*, int16_t*)=E2=80=99: codec/encoder/core/src/encode_mb_aux.cpp:209:6: internal compiler error: tr= ee check: expected none of vector_type, have vector_type in gimple_simplify_14= 4, at gimple-match-3.cc:1027 209 | void WelsQuantFour4x4Max_c (int16_t* pDct, const int16_t* pFF, const int16_t* pMF, int16_t* pMax) { | ^~~~~~~~~~~~~~~~~~~~~ 0xaaaac959b02b tree_not_check_failed(tree_node const*, char const*, int, ch= ar const*, ...) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree.cc:8936 0xaaaacb1c6c53 tree_not_check(tree_node*, char const*, int, char const*, tree_code) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree.h:3581 0xaaaacb1c6c53 gimple_simplify_144(gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node*, tree_node**, tree_code) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/build/gcc/gimple-match-3.cc:1027 0xaaaacb1a21bb gimple_simplify_BIT_XOR_EXPR(gimple_match_op*, gimple**, tree_node* (*)(tree_node*), code_helper, tree_node*, tree_node*, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/build/gcc/gimple-match-2.cc:9569 0xaaaaca74debf gimple_resimplify2 =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple-match-e= xports.cc:967 0xaaaaca74e687 gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_no= de* (*)(tree_node*), tree_node* (*)(tree_node*)) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple-match-e= xports.cc:834 0xaaaac9c8e5b7 gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple-fold.cc= :7472 0xaaaaca2cfe97 try_to_simplify =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-sccvn= .cc:6096 0xaaaaca2cfe97 visit_stmt =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-sccvn= .cc:6139 0xaaaaca2d0e6f process_bb =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-sccvn= .cc:7945 0xaaaaca2d2823 do_rpo_vn_1 =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-sccvn= .cc:8544 0xaaaaca2d448f do_rpo_vn(function*, edge_def*, bitmap_head*, bool, bool, vn_lookup_kind) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-sccvn= .cc:8646 0xaaaaca3ba1f3 execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-vectorize= r.cc:1385 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ``` ``` gcc (Gentoo 14.0.0 p, commit 6cb33e2f39e289ec4f25f845d8153053147c5c49) 14.0= .0 20230628 (experimental) c7e87e82435b918084f305386b12b8fbcdcf3307 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ```=