From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F16113858C62; Mon, 27 Feb 2023 09:40:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F16113858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677490826; bh=7vq1qd5FVUKSWZe75HyyPfXEtsuHNQGDkObf8UquxXw=; h=From:To:Subject:Date:From; b=EipKUX/sCMAW48ZzMmkrMbLtnAwus1hkE5H7aX/kFuUV75ZloK0lS7Q1UP3YSYdcU 0oOn4OaN7dpw4/Dob+bIXdzYh1hbKnrxMS/GSAKbHDQx7ZOMeuHHgAvaBsJqlaeYPY 7eHkDJouph23mqdU1Z7ygQyNTXCuxPJSD9ME3YzM= From: "nightstrike at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108942] New: ICE in build2, at tree.c: 5096 for gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3 Date: Mon, 27 Feb 2023 09:40:25 +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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nightstrike at gmail 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 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=3D108942 Bug ID: 108942 Summary: ICE in build2, at tree.c: 5096 for gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 54541 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54541&action=3Dedit preprocessed source from -freport-bug The gcc.dg/torture/ssa-fre-7.c tests fail with the following backtrace: 0x844e1f build2(tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/tree.cc:5096 0x9a26d7 build2_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*) ../../gcc/tree.h:4604 0x9a26d7 c_parser_gimple_binary_expression ../../gcc/c/gimple-parser.cc:1027 0x9a38ce c_parser_gimple_statement ../../gcc/c/gimple-parser.cc:873 0x9a38ce c_parser_gimple_compound_statement ../../gcc/c/gimple-parser.cc:664 0x9a5c11 c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il, profile_count) ../../gcc/c/gimple-parser.cc:253 0x9954a6 c_parser_declaration_or_fndef ../../gcc/c/c-parser.cc:2835 0x99c6fb c_parser_external_declaration ../../gcc/c/c-parser.cc:1925 0x99d0d3 c_parser_translation_unit ../../gcc/c/c-parser.cc:1779 0x99d0d3 c_parse_file() ../../gcc/c/c-parser.cc:24632 0xa088e1 c_common_parse_file() ../../gcc/c-family/c-opts.cc:1248 This is in a linux to 64-bit windows cross compiler environment. Output of -freport-bug added as an attachment. For this version of the repository (commit e6d39f68d03c46637ca6e1bede3d28eae6278df3), line 23 is: p_4 =3D _Literal (int *) &x + _2;=