[Bug target/79747] New: Missing documentation for -malign-{jumps,label,loops,functions}= and strange value range limitation
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 28 12:44:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79747
Bug ID: 79747
Summary: Missing documentation for
-malign-{jumps,label,loops,functions}= and strange
value range limitation
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
Target: x86_64-linux-gnu
Hello.
I hit following issues related to these options:
1) PDF documentation does not document these options with trailing equals sign.
2) -malign-call is still present in documentation => I'll prepare patch for
that
3) -malign-functions (and other) do limit range a user can use:
./xgcc -B. -malign-functions=1611 /tmp/empty.c
cc1: warning: -malign-functions is obsolete, use -falign-functions
cc1: error: -malign-functions=1611 is not between 0 and 16
While using -falign-function accepts arbitrary value:
$ ./xgcc -B. -falign-functions=12345 /tmp/a.c -S -c && grep align a.s
...
.p2align 14,,12344
I'm not sure how to properly fix 3)?
More information about the Gcc-bugs
mailing list