On 01/20/2017 05:24 AM, Bernd Schmidt wrote:
This is essentially the same patch I sent for the previous instance of
this problem, but this time applied to local_cprop_pass. Bootstrapped
and tested on x86_64-linux, and it seems to fix the testcase with a ppc
cross. Ok?


Bernd

pr79125.diff


        PR rtl-optimization/79125
        * cprop.c (local_cprop_pass): Handle cases where we make an
        unconditional trap.

        PR rtl-optimization/79125
        * gcc.dg/torture/pr79125.c: New test.
OK. Though part of me dislikes having this code appear twice, but I can live with it.

jeff

Reply via email to