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 for -ftree-vectorizer-verbose=1


On Thu, Dec 10, 2009 at 10:36 AM, Allan Sandfeld Jensen
<linux@carewolf.com> wrote:
> BUG: When using ?-ftree-vectorizer-verbose at level one, several files trigger
> empty 'note:' messages when compiled. Confirmed in gcc 4.3.4 and gcc-4.4.2
>
> ANALYSIS: After going through the vectorizer source to find a place that
> printed the "note:" part but had a condition before printing the content, I
> discovered the likely cause. Only vectorized loops are supposed to be reported
> at level 1, but the empty note is printed for every function with unvectorized
> loops.
>
> FIX: The attached oneline should fix the problem.
>
> Being a oneliner patch there should be no need to find the gnu copyright
> waiver.

Thanks.  I'll take care of testing and committing the fix.

Richard.

> Regards
> `Allan
>


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