public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105035] New: regression ICE segmentation fault with -Wduplicated-cond
@ 2022-03-23  8:28 dimitar.yordanov at sap dot com
  2022-03-23 10:16 ` [Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8 marxin at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: dimitar.yordanov at sap dot com @ 2022-03-23  8:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105035
           Summary: regression ICE segmentation fault with
                    -Wduplicated-cond
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimitar.yordanov at sap dot com
  Target Milestone: ---

Hi,

we hit an ICE with the following reduced example:

cat > foo.cc << EOF

class a {
  struct b {
    int c;
    int f;
  };
  template <typename> void d();
  b e;
};
template <typename> void a::d() {
  int g;
  if (&g == &e.c)
    ;
  else if (&g == &e.f)
    ;
}

EOF

g++ -Wduplicated-cond -c foo.cc

Best wishes
Dimitar

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

end of thread, other threads:[~2022-03-30  8:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23  8:28 [Bug c++/105035] New: regression ICE segmentation fault with -Wduplicated-cond dimitar.yordanov at sap dot com
2022-03-23 10:16 ` [Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8 marxin at gcc dot gnu.org
2022-03-23 11:06 ` rguenth at gcc dot gnu.org
2022-03-23 11:06 ` rguenth at gcc dot gnu.org
2022-03-23 12:34 ` jakub at gcc dot gnu.org
2022-03-23 12:36 ` rguenther at suse dot de
2022-03-23 12:50 ` jakub at gcc dot gnu.org
2022-03-23 13:13 ` ppalka at gcc dot gnu.org
2022-03-23 13:45 ` ppalka at gcc dot gnu.org
2022-03-24 11:24 ` cvs-commit at gcc dot gnu.org
2022-03-24 11:31 ` [Bug c++/105035] [11 " jakub at gcc dot gnu.org
2022-03-29  5:54 ` cvs-commit at gcc dot gnu.org
2022-03-30  8:17 ` 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).