From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8E8B53858C3B; Thu, 23 Sep 2021 02:12:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E8B53858C3B From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/94726] [10/11/12 Regression] ICE in uniform_vector_p, at tree.c:11214 since r10-2089-g21caa1a2649d586f Date: Thu, 23 Sep 2021 02:12:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.4 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, 23 Sep 2021 02:12:22 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94726 --- Comment #8 from Andrew Pinski --- After r12-3278-g823685221de986a, the ICE moved slightly: t.c:13:8: error: conflicting types for =E2=80=98a=E2=80=99; have =E2=80=98v= oid *[]=E2=80=99 13 | void * a [ ] =3D { } ; | ^ t.c:5:6: note: previous declaration of =E2=80=98a=E2=80=99 with type =E2=80= =98type=E2=80=99 {aka =E2=80=98__vector(2) unsigned int=E2=80=99} 5 | type a , b; | ^ t.c: In function =E2=80=98foo=E2=80=99: t.c:9:13: internal compiler error: tree check: expected class =E2=80=98type= =E2=80=99, have =E2=80=98exceptional=E2=80=99 (error_mark) in create_tmp_from_val, at gimpl= ify.c:568 9 | b =3D __builtin_shuffle ( a , var ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x6a9973 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/tree.c:8739 0xa9548f tree_class_check(tree_node*, tree_code_class, char const*, int, ch= ar const*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/tree.h:3546 0xa9548f create_tmp_from_val /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/gimplify.c:568 0xa9548f lookup_tmp_var /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/gimplify.c:601 0xa9548f internal_get_tmp_var /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/gimplify.c:640 0xa98b83 get_initialized_tmp_var(tree_node*, gimple**, gimple**, bool) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/gimplify.c:679 0xa98b83 gimplify_save_expr /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/gimplify.c:6251 0xa8f2ff gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/gimplify.c:14857 0xa8e39b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/gimplify.c:15335=