From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 543E83858D33; Fri, 12 Jan 2024 07:17:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 543E83858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705043824; bh=xXsf7QfBXciQ7FnbBNxUZ3JHsypNRns4oD2AngK9RjE=; h=From:To:Subject:Date:From; b=UMdCkOlyxM++YTz7lri4MfVYcPhFzrADbX+XzZWmi09qG54jv2taFDayHzHorCihT DMwmbCtmhCyfuhYch25DiiyzRsssQDvNl1qc49Dya7lsvjIK7TkuaFFCyL0Gzw9E0+ c+bq9eiDlEeUpwchE7uSJBu1q5hayG6hZxhHxGao= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113347] New: ICE during gimplification building TVM Date: Fri, 12 Jan 2024 07:17:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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 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=3D113347 Bug ID: 113347 Summary: ICE during gimplification building TVM Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- I see > ./cc1plus -fpreprocessed cross_thread_reduction.cc.ii -quiet -dumpbase-ex= t .cc -mtune=3Dgeneric -march=3Dx86-64 -g -g -O2 -O2 -O2 -Wall -Werror=3Dre= turn-type -std=3Dc++17 -version -faligned-new=3D1 -fPIC -fstack-protector-s= trong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection= -o cross_thread_reduction.cc.s GNU C++17 (GCC) version 13.2.1 20240112 (x86_64-pc-linux-gnu) compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.2-p6, MPC version 1.1.0, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Compiler executable checksum: b21c83316346ea37120ce6d56dd5bdc5 In member function 'tvm::tir::ExprRV tvm::meta_schedule::CrossThreadReductionNode::GetThreadIdxExtentFromTrace(c= onst tvm::tir::Trace&)': cc1plus: internal compiler error: Segmentation fault 0x19cbf8f crash_signal /home/rguenther/src/gcc-13-branch/gcc/toplev.cc:314 0xcc7260 contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) /home/rguenther/src/gcc-13-branch/gcc/tree.h:3653 0xd9e44f cp_gimplify_expr(tree_node**, gimple**, gimple**) /home/rguenther/src/gcc-13-branch/gcc/cp/cp-gimplify.cc:552 0x15b96fd gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node= *), int) /home/rguenther/src/gcc-13-branch/gcc/gimplify.cc:16291 0x158d62a gimplify_stmt(tree_node**, gimple**) /home/rguenther/src/gcc-13-branch/gcc/gimplify.cc:7226 0x158a696 gimplify_compound_expr /home/rguenther/src/gcc-13-branch/gcc/gimplify.cc:6412 ... on the GCC 13 branch head. The ICE doesn't occur on trunk.=