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] PR27742


thanks!

dorit

Steven Bosscher <stevenb.gcc@gmail.com> wrote on 16/09/2006 10:42:40 PM:

> :ADDPATCH vectorizer:
>
> This one is almost embarrasing to fix.
> If I don't hear from anyone, I'll commit this as obvious.
>
> Gr.
> Steven
>
>    * tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
>    before using it for dumping after vectorizing loops.
>
> Index: tree-vectorizer.c
> ===================================================================
> --- tree-vectorizer.c   (revision 116991)
> +++ tree-vectorizer.c   (working copy)
> @@ -2066,6 +2066,7 @@ vectorize_loops (struct loops *loops)
>        vect_transform_loop (loop_vinfo, loops);
>        num_vectorized_loops++;
>      }
> +  vect_loop_location = UNKNOWN_LOC;
>
>    if (vect_print_dump_info (REPORT_VECTORIZED_LOOPS))
>      fprintf (vect_dump, "vectorized %u loops in function.\n",


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