re PR ipa/64049 (r215898 caused wrong code at -O3)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 8 Dec 2014 18:30:15 +0000 (18:30 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 8 Dec 2014 18:30:15 +0000 (18:30 +0000)
commitb09e592eeefde7c1e9159d69358314308b3cb350
treeb0f400043660d79c135c8c83165009aa3336c15c
parentcd8fc5ee0ded4801780f1998cd9025011abad152
re PR ipa/64049 (r215898 caused wrong code at -O3)

2014-12-08  Bernd Edlinger  <bernd.edlinger@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.edlinger@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.

From-SVN: r218487
gcc/ChangeLog
gcc/ipa-polymorphic-call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr64049-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/pr64049-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/pr64049.h [new file with mode: 0644]