Article View: gnu.gcc.bug
Article #6326TRAMPOLINE_ALIGNMENT doc/code inconsistent (gcc-2.7.2 all targets)
From: Hans-Peter Nilsson
Date: Tue, 19 Dec 1995 00:00
Date: Tue, 19 Dec 1995 00:00
30 lines
1449 bytes
1449 bytes
The documentation for TRAMPOLINE_ALIGNMENT is inconsistent with
the code (function.c and many targets):
----
`TRAMPOLINE_ALIGNMENT'
Alignment required for trampolines, in bits.
If you don't define this macro, the value of `BIGGEST_ALIGNMENT'
is used for aligning trampolines.
----
In fact, the code in function.c uses TRAMPOLINE_ALIGNMENT as
an alignment in _bytes_,
(or really: the smallest addressable entity), not in bits.
Obviously this is not serious; the other way round would have
been fatal... :-)
(Btw, BIGGEST_ALIGNMENT is only used implicitly, not as a
direct replacement for TRAMPOLINE_ALIGNMENT)
The name implies that an Honorable Action would be to change the
code, not the documentation.
/Best regards
--
Hans-Peter Nilsson, Axis Communications AB, S - 223 70 LUND, SWEDEN
Hans-Peter.Nilsson@axis.se | http://www.axis.se/ | Tel +46 46191867,191800
Fax +46 46136130 | "If this is paradise, I wish I had a lawnmower" / D. Byrne
Technical Details
Message-ID:
<m0tS6r2-00021hC@axserv.axis.se>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,cfca8f06911d8625 X-Google-Attributes: gid113d02,public From: Hans-Peter.NIlsson@axis.SE (Hans-Peter Nilsson) Subject: TRAMPOLINE_ALIGNMENT doc/code inconsistent (gcc-2.7.2 all targets) Date: 1995/12/19 Message-ID: <m0tS6r2-00021hC@axserv.axis.se> X-Deja-AN: 122307806 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.bug