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] Refine fix for PR tree-optimization/45470


On Fri, Feb 25, 2011 at 9:23 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> Hi,
>
> the fix disabled vectorization for all statements that could throw. ?That's
> quite heavy-handed because, for -fnon-call-exceptions languages like Ada,
> this means all statements accessing non-stack memory. ?The attached patch
> changes this to all statements that can throw internally, which is enough to
> fix the original bug and makes it possible to vectorize in most cases.
>
> Tested on x86_64-suse-linux, OK for the mainline?

Ok.

Thanks,
Richard.

> 2011-02-25 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?PR tree-optimization/45470
> ? ? ? ?* tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement
> ? ? ? ?can throw internally only.
> ? ? ? ?* tree-vect-stmts.c (vectorizable_call): Likewise.
>
>
> --
> Eric Botcazou
>


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