Bug 68573 - [4.8/4.9/5/6 Regression] -ftree-vectorizer-verbose=<n> discarded without notice
Summary: [4.8/4.9/5/6 Regression] -ftree-vectorizer-verbose=<n> discarded without notice
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 5.2.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 02:01 UTC by Matthias Klose
Modified: 2015-11-27 08:52 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work: 4.7.4
Known to fail: 4.8.5, 4.9.3, 5.2.1, 6.0
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2015-11-27 02:01:26 UTC
[forwarded from https://bugs.debian.org/PR805044]

In 4.7, -ftree-vectorizer-verbose=<n> had some output, however in newer versions this option is just discarded without giving any output.

Test case from PR50680.

$ gcc-4.7  -Ofast -ftree-vectorizer-verbose=1 --std=c99 -msse -c vectorizeme.c |tail

Analyzing loop at vectorizeme.c:54

Analyzing loop at vectorizeme.c:58


Vectorizing loop at vectorizeme.c:58

58: LOOP VECTORIZED.
vectorizeme.c:57: note: vectorized 1 loops in function.

Analyzing loop at vectorizeme.c:62


Vectorizing loop at vectorizeme.c:62

62: LOOP VECTORIZED.
vectorizeme.c:61: note: vectorized 1 loops in function.
Comment 1 Richard Biener 2015-11-27 08:52:58 UTC
ftree-vectorizer-verbose=
Common Joined RejectNegative Ignore
Does nothing.  Preserved for backward compatibility.


Works as designed.  Use -fopt-info-vec.