[Bug ipa/71633] New: [7 regression][CHKP] internal compiler error: in inline_call

ienkovich at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 23 10:29:00 GMT 2016


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

            Bug ID: 71633
           Summary: [7 regression][CHKP] internal compiler error: in
                    inline_call
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ienkovich at gcc dot gnu.org
  Target Milestone: ---

There is a regression introduced by r236274.

>cat small.i
class c1
{
  virtual void fn1 ();
};

class c2
{
  virtual int *fn2 () const;
};

class c3 : c1, c2
{
  int *fn2 () const;
  int *fn3 (int) const;
};

int *c3::fn2 () const
{
}

int *c3::fn3 (int p) const
{
  return fn3 (p);
}
>g++ -O2 -mmpx -fcheck-pointer-bounds small.i -S
small.i:24:1: internal compiler error: in inline_call, at
ipa-inline-transform.c:432
 }
 ^
0x13fa45a inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool, bool*)
       
/export/users/gnutester/stability/svn/trunk/gcc/ipa-inline-transform.c:432
0x13f1c8a inline_small_functions
        /export/users/gnutester/stability/svn/trunk/gcc/ipa-inline.c:2027
0x13f1c8a ipa_inline
        /export/users/gnutester/stability/svn/trunk/gcc/ipa-inline.c:2437
0x13f1c8a execute
        /export/users/gnutester/stability/svn/trunk/gcc/ipa-inline.c:2848


More information about the Gcc-bugs mailing list