This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/65908] [5/6 Regression] ICE: in expand_thunk, at cgraphunit.c:1700


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-04-27
                 CC|                            |trippels at gcc dot gnu.org
          Component|c++                         |ipa
            Summary|internal compiler error: in |[5/6 Regression] ICE: in
                   |expand_thunk                |expand_thunk, at
                   |                            |cgraphunit.c:1700
     Ever confirmed|0                           |1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat cvc3_compat.ii
class A
{
  A (A &);
};
class B
{
  const A &m_fn1 () const;
};
class C
{
  A m_fn2 () const;
};
A
C::m_fn2 () const
{
  throw 0;
}
const A &
B::m_fn1 () const
{
  throw 0;
}

markus@x4 tmp % g++ -O2 -fPIC -c cvc3_compat.ii
cvc3_compat.ii: In member function âA C::m_fn2() constâ:
cvc3_compat.ii:22:1: internal compiler error: in expand_thunk, at
cgraphunit.c:1700

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]