>
>
> BTW: I have never seen any VAR_DECL here, at least not in my test case, do
> you have test cases for that?
If you call virtual method of undefined variable:
struct A {
virtual void foo ();
};
void
t()
{
struct A *a;
a->foo ();
}
It will make GCC to drop the virtual table lookup and
Hi Honza,
On Tue, 9 Dec 2014 00:16:36, Jan Hubicka wrote:
>
>>> On Mon, Dec 8, 2014 at 11:57 AM, Bernd Edlinger
>>> wrote:
>
> Hello,
>
>
> this surprisingly simple patch fixes PR ipa/64049. The root cause seems
> to be
> that in this test case we try to de
> > On Mon, Dec 8, 2014 at 11:57 AM, Bernd Edlinger
> > wrote:
> > >
> > >
> > >>
> > >> Hello,
> > >>
> > >>
> > >> this surprisingly simple patch fixes PR ipa/64049. The root cause seems
> > >> to be
> > >> that in this test case we try to devirtualize a method call on a return
> > >> value.
> On Mon, Dec 8, 2014 at 11:57 AM, Bernd Edlinger
> wrote:
> >
> >
> >>
> >> Hello,
> >>
> >>
> >> this surprisingly simple patch fixes PR ipa/64049. The root cause seems
> >> to be
> >> that in this test case we try to devirtualize a method call on a return
> >> value.
> >>
> >>
> >> Boot-Stra
On Mon, Dec 8, 2014 at 11:57 AM, Bernd Edlinger
wrote:
>
>
>>
>> Hello,
>>
>>
>> this surprisingly simple patch fixes PR ipa/64049. The root cause seems to
>> be
>> that in this test case we try to devirtualize a method call on a return
>> value.
>>
>>
>> Boot-Strapped and regression-tested on
>
> Hello,
>
>
> this surprisingly simple patch fixes PR ipa/64049. The root cause seems to be
> that in this test case we try to devirtualize a method call on a return value.
>
>
> Boot-Strapped and regression-tested on X86_64-linux-gnu.
> OK for trunk?
>
>
> Thanks
> Bernd.
>
Again with chang
Hello,
this surprisingly simple patch fixes PR ipa/64049. The root cause seems to be
that in this test case we try to devirtualize a method call on a return value.
Boot-Strapped and regression-tested on X86_64-linux-gnu.
OK for trunk?
Thanks
Bernd.