Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Hans-Peter Nilsson
Thu, 04 Jan 1996 00:00
TRAMPOLINE_ALIGNMENT doc/code inconsistent 2.7.2
Author: Hans-Peter Nilsson
Date: Thu, 04 Jan 1996 00:00
Date: Thu, 04 Jan 1996 00:00
36 lines
1687 bytes
1687 bytes
(Second mail. Can anybody read this, or is the mail lost?)
This bug-report relates to the documentation for gcc version 2.7.2,
all targets.
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 suffix of the macro (.._ALIGNMENT), implies that to be
consistent with other macros (e.g BIGGEST_ALIGNMENT),
the Most 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads