public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/95164] New: ICE regression starting with 9.3
@ 2020-05-16 14:30 boris_oncev at hotmail dot com
  2020-05-16 14:40 ` [Bug c++/95164] [9/10/11 Regression] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: boris_oncev at hotmail dot com @ 2020-05-16 14:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95164
           Summary: ICE regression starting with 9.3
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: boris_oncev at hotmail dot com
  Target Milestone: ---

Reproduction code on godbolt, showing ICE on 9.3 & 10.1 but works fine on 9.2

https://godbolt.org/z/-Dr7Lc

#include <vector>

struct A { };
struct B {
  A a;
};

struct C { };
struct D {
  C c;
  B b;
};

struct E {
  D d;
};

template<class T>
struct F {
  F() {
    A a;
    A& a2 = a;

    std::vector<E> return_values;
    return_values.push_back({ {C{}, {B{a2}}} });
  }
};

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

end of thread, other threads:[~2020-09-09 21:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 14:30 [Bug c++/95164] New: ICE regression starting with 9.3 boris_oncev at hotmail dot com
2020-05-16 14:40 ` [Bug c++/95164] [9/10/11 Regression] " mpolacek at gcc dot gnu.org
2020-05-17 20:08 ` mpolacek at gcc dot gnu.org
2020-05-18  0:41 ` mpolacek at gcc dot gnu.org
2020-05-18  5:59 ` rguenth at gcc dot gnu.org
2020-09-04 21:40 ` mpolacek at gcc dot gnu.org
2020-09-09 21:41 ` cvs-commit at gcc dot gnu.org
2020-09-09 21:42 ` cvs-commit at gcc dot gnu.org
2020-09-09 21:43 ` [Bug c++/95164] [9 " mpolacek 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).