Patch RFA: Add option -fcollectible-pointers, use it in ivopts

Bernd Schmidt bschmidt@redhat.com
Mon Jan 25 11:39:00 GMT 2016


On 01/23/2016 12:52 AM, Ian Lance Taylor wrote:

> 2016-01-22  Ian Lance Taylor  <iant@google.com>
>
> * common.opt (fkeep-gc-roots-live): New option.
> * tree-ssa-loop-ivopts.c (add_candidate_1): If
> -fkeep-gc-roots-live, skip pointers.
> (add_iv_candidate_for_biv): Handle add_candidate_1 returning
> NULL.
> * doc/invoke.texi (Optimize Options): Document
> -fkeep-gc-roots-live.
>
> gcc/testsuite/ChangeLog:
>
> 2016-01-22  Ian Lance Taylor  <iant@google.com>
>
> * gcc.dg/tree-ssa/ivopt_5.c: New test.

Patch not attached?


Bernd



More information about the Gcc-patches mailing list