[PR66726] Fixe regression caused by Factor conversion out of COND_EXPR
H.J. Lu
hjl.tools@gmail.com
Fri Feb 12 14:43:00 GMT 2016
On Thu, Feb 11, 2016 at 10:18 PM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:
> On 2016.02.08 at 09:49 -0700, Jeff Law wrote:
>> On 01/18/2016 08:52 PM, Kugan wrote:
>> >
>> >2016-01-19 Kugan Vivekanandarajah <kuganv@linaro.org>
>> >
>> > PR middle-end/66726
>> > * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
>> > whose result is used in PHI.
>> > (maybe_optimize_range_tests): Likewise.
>> > (final_range_test_p): Lokweise.
>> >
>> Otherwise this looks OK for the trunk. It really hasn't changed much since
>> the version from July. And while the PR is not marked as such, this is a
>> code quality regression fix for targets with a BRANCH_COST > 1.
>
> This causes LTO/PGO bootstrap on ppc64le to ICE all over the place:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69781
>
On ia32, it also caused:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69786
and
FAIL: libgomp.oacc-fortran/collapse-4.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -O1 execution test
FAIL: libgomp.oacc-fortran/collapse-5.f90 -DACC_DEVICE_TYPE_host=1
-DACC_MEM_SHARED=1 -O1 execution test
which were compiled into infinite loop.
--
H.J.
More information about the Gcc-patches
mailing list