>
> 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 changelog. Sorry.
                                          

Attachment: patch-pr64049.diff
Description: Binary data

2014-12-08  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        PR ipa/64049
        * ipa-polymorphic-call.c
        (pa_polymorphic_call_context::ipa_polymorphic_call): Allow RESULT_DECL.

testsuite/ChangeLog:
2014-12-08  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        PR ipa/64049
        * g++.dg/ipa/pr64049.h: New.
        * g++.dg/ipa/pr64049-1.C: New.
        * g++.dg/ipa/pr64049-2.C: New.

Reply via email to