public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/111160] New: ICE on assigning volatile through ternary operator
@ 2023-08-26  3:37 trinxery at firemail dot cc
  2023-08-26  4:07 ` [Bug c++/111160] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: trinxery at firemail dot cc @ 2023-08-26  3:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111160

            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=55796&action=edit
-freport-bug

class TheClass {};
void the_func() {
  TheClass x;
  volatile TheClass y;
  (false ? x : x) = y;
}

buggy.cxx: In function ‘void the_func()’:
buggy.cxx:6:21: internal compiler error: in stabilize_expr, at cp/tree.cc:5969
    6 |   (false ? x : x) = y;
      |                     ^
0x9340a9 stabilize_expr(tree_node*, tree_node**)
        ../../src/gcc/cp/tree.cc:5969
...

I think this is descriptive enough.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-12 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-26  3:37 [Bug c++/111160] New: ICE on assigning volatile through ternary operator trinxery at firemail dot cc
2023-08-26  4:07 ` [Bug c++/111160] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
2023-08-28 20:14 ` mpolacek at gcc dot gnu.org
2024-03-07 23:23 ` law at gcc dot gnu.org
2024-03-12 13:25 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).