From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3BD0D3858C78; Sat, 26 Aug 2023 03:37:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BD0D3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693021073; bh=VC09qDNkfamZ1yiukrsteVEOnNcjXjibLB4AY1yiB6A=; h=From:To:Subject:Date:From; b=G8C3+YBLFB1kUG+uv450Re+hDVK0wFWV7vkjtCN9dpys9KzOpi88dmg4BmZ3M43kQ Ve07LsEHhR8zilBD9t7gmoBAs63UWQ5r2jay/oQzheraBTD68xeMdSP6OirZzy00NG ZpZy0tA4QYjF8DrcxPkem7tuX+V9MdZcqdXGpNMc= From: "trinxery at firemail dot cc" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111160] New: ICE on assigning volatile through ternary operator Date: Sat, 26 Aug 2023 03:37:52 +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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trinxery at firemail dot cc 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=3D111160 Bug ID: 111160 Summary: ICE on assigning volatile through ternary operator Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: trinxery at firemail dot cc Target Milestone: --- Created attachment 55796 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55796&action=3Dedit -freport-bug class TheClass {}; void the_func() { TheClass x; volatile TheClass y; (false ? x : x) =3D y; } buggy.cxx: In function =E2=80=98void the_func()=E2=80=99: buggy.cxx:6:21: internal compiler error: in stabilize_expr, at cp/tree.cc:5= 969 6 | (false ? x : x) =3D y; | ^ 0x9340a9 stabilize_expr(tree_node*, tree_node**) ../../src/gcc/cp/tree.cc:5969 ... I think this is descriptive enough.=