https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112357
Bug ID: 112357
Summary: Documentation for vect-max-peeling-for-alignment
references -1 but -1 does not work
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Using `-O2 --param vect-max-peeling-for-alignment=-1` provides the following
error message:
```
g++: error: argument to '--param=vect-max-peeling-for-alignment=' should be a
non-negative integer
```
But https://gcc.gnu.org/onlinedocs//gcc/Optimize-Options.html documents -1:
```
vect-max-peeling-for-alignment
The maximum number of loop peels to enhance access alignment for vectorizer.
Value -1 means no limit.
```