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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |mpolacek at gcc dot gnu.org
            Summary|gcc from gcc-6 branch       |[6 Regression] gcc-6 branch
                   |segfaults while compiling   |segfaults while compiling
                   |firefox                     |firefox

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
I suspect r246134.

 % cat nsTObserverArray.ii
struct A {
  void m_fn1();
};
template <int> struct B : A {
  void m_fn2() {
    [&] { m_fn1(); };
  }
};

 % g++ -c nsTObserverArray.ii
nsTObserverArray.ii: In lambda function:
nsTObserverArray.ii:6:17: internal compiler error: Segmentation fault
     [&] { m_fn1(); };
                 ^
0xa8a3df crash_signal

Reply via email to