From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7D12138582BF; Mon, 8 Aug 2022 12:37:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D12138582BF From: "k.even-mendoza at imperial dot ac.uk" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzEwMDUyNV0gSUNFOiB0cmVlIGNoZWNrOiBleHBlY3Rl?= =?UTF-8?B?ZCBjbGFzcyDigJh0eXBl4oCZLCBoYXZlIOKAmGV4Y2VwdGlvbmFs4oCZIChl?= =?UTF-8?B?cnJvcl9tYXJrKSBpbiB1c2VsZXNzX3R5cGVfY29udmVyc2lvbl9wLCBhdCBn?= =?UTF-8?B?aW1wbGUtZXhwci5jOjg3?= Date: Mon, 08 Aug 2022 12:37:53 +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: 12.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: k.even-mendoza at imperial dot ac.uk X-Bugzilla-Status: NEW 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: cc 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: Mon, 08 Aug 2022 12:37:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100525 Karine EM changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |k.even-mendoza at imperial= dot ac. | |uk --- Comment #2 from Karine EM --- I also got this error with a bit different trace/pass in GCC-13: =3D=3D=3D=3D=3D=3D void **a; void b() { void **c =3D a; } a; =3D=3D=3D=3D=3D and the trace: fuzzer-file-879.c:2:19: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.cc:87 2 | void b() { void **c =3D a; } | ^ 0x7e598b tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) .././../gcc-source/gcc/tree.cc:8829 0x712633 tree_class_check(tree_node*, tree_code_class, char const*, int, ch= ar const*) .././../gcc-source/gcc/tree.h:3580 0x712633 useless_type_conversion_p(tree_node*, tree_node*) .././../gcc-source/gcc/gimple-expr.cc:87 0xc3e491 gimplify_modify_expr .././../gcc-source/gcc/gimplify.cc:6035 0xc2d9f6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) .././../gcc-source/gcc/gimplify.cc:15098 0xc310c6 gimplify_stmt(tree_node**, gimple**) .././../gcc-source/gcc/gimplify.cc:7151 0xc3bb8a gimplify_and_add(tree_node*, gimple**) .././../gcc-source/gcc/gimplify.cc:496 0xc3bb8a gimplify_decl_expr .././../gcc-source/gcc/gimplify.cc:1936 0xc2da72 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) .././../gcc-source/gcc/gimplify.cc:15295 0xc310c6 gimplify_stmt(tree_node**, gimple**) .././../gcc-source/gcc/gimplify.cc:7151 0xc31884 gimplify_bind_expr .././../gcc-source/gcc/gimplify.cc:1428 0xc2e161 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) .././../gcc-source/gcc/gimplify.cc:15299 0xc3fa9f gimplify_stmt(tree_node**, gimple**) .././../gcc-source/gcc/gimplify.cc:7151 0xc3fa9f gimplify_body(tree_node*, bool) .././../gcc-source/gcc/gimplify.cc:16355 0xc3feed gimplify_function_tree(tree_node*) .././../gcc-source/gcc/gimplify.cc:16509 0xa6ba97 cgraph_node::analyze() .././../gcc-source/gcc/cgraphunit.cc:676 0xa6e6e7 analyze_functions .././../gcc-source/gcc/cgraphunit.cc:1241 0xa6f36d symbol_table::finalize_compilation_unit() .././../gcc-source/gcc/cgraphunit.cc:2501=