This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, SMS] Fix PR51794


On Tue, Jan 10, 2012 at 12:31 PM, Revital1 Eres <ERES@il.ibm.com> wrote:
>
> Hello,
>
> The patch below fixes ICE reported in PR51794.
> It avoids creating DDG edges Âfor register uses of class DF_REF_ARTIFICIAL
> as
> the latter does not have real instructions for them and thus calling
> BLOCK_FOR_INSN fails.
>
> Tested and bootstrap on ppc64-redhat-linux, enabling SMS on loops with SC
> 1.
>
> OK for mainline?
>

Yes, this is ok.
Thanks,
Ayal.

> Thanks,
> Revital
>
> Chanelog:
>
> Â Â Â ÂPR rtl-optimization/51794
> Â Â Â Â* ddg.c (add_cross_iteration_register_deps): Avoid
> Â Â Â Âcreating edges for uses of class DF_REF_ARTIFICIAL.
>
> testsuite/
> Â Â Â ÂPR rtl-optimization/51794
> Â Â Â Â* gcc.dg/sms-12.c: New test.
>
> (See attached file: patch_fix_pr51794.txt)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]