This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for -ftree-vectorizer-verbose=1
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Allan Sandfeld Jensen <linux at carewolf dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Dec 2009 12:52:53 +0100
- Subject: Re: Patch for -ftree-vectorizer-verbose=1
- References: <200912101036.22757.linux@carewolf.com>
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
>