From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 15B233858D33; Wed, 13 Jan 2021 07:08:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15B233858D33 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/98655] New: ICE: verify_gimple failed (error: integral result type precision does not match field size of 'bit_field_ref') Date: Wed, 13 Jan 2021 07:08:13 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget 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 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: Wed, 13 Jan 2021 07:08:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98655 Bug ID: 98655 Summary: ICE: verify_gimple failed (error: integral result type precision does not match field size of 'bit_field_ref') Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu gcc-11.0.0-alpha20210110 snapshot (g:872373360dab259d51caa002ff1722ff84746d= 8b) configured for rs6000 target ICEs when compiling the following testcase, reduced from testsuite/gcc.target/i386/pr97521.c, w/ -O1 -fno-tree-forwprop: typedef unsigned char __attribute__ ((__vector_size__ (8))) V; typedef unsigned long long __attribute__ ((__vector_size__ (16))) W; V foo (W f) { W g =3D ((W) { 0, 1 } < 1) <=3D (0 < f); return (V) (g[0]); } % powerpc-e300c3-linux-gnu-gcc-11.0.0 -O1 -fno-tree-forwprop -w -c mvzpqney= .c mvzpqney.c: In function 'foo': mvzpqney.c:5:1: error: integral result type precision does not match field = size of 'bit_field_ref' 5 | foo (W f) | ^~~ _10 =3D BIT_FIELD_REF <_9, 1, 0>; mvzpqney.c:5:1: error: integral result type precision does not match field = size of 'bit_field_ref' _12 =3D BIT_FIELD_REF <_11, 1, 0>; mvzpqney.c:5:1: error: integral result type precision does not match field = size of 'bit_field_ref' _16 =3D BIT_FIELD_REF <_15, 1, 1>; mvzpqney.c:5:1: error: integral result type precision does not match field = size of 'bit_field_ref' _18 =3D BIT_FIELD_REF <_17, 1, 1>; during GIMPLE pass: veclower2 mvzpqney.c:5:1: internal compiler error: verify_gimple failed 0xe59f67 verify_gimple_in_cfg(function*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210110/wo= rk/gcc-11-20210110/gcc/tree-cfg.c:5467 0xd27b0e execute_function_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210110/wo= rk/gcc-11-20210110/gcc/passes.c:2042 0xd2821c do_per_function =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210110/wo= rk/gcc-11-20210110/gcc/passes.c:1687 0xd2821c execute_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20210110/wo= rk/gcc-11-20210110/gcc/passes.c:2096=