🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6324

TRAMPOLINE_ALIGNMENT doc/code inconsistent (gcc-2.7.2 all targets)

#6324
From: Hans-Peter Nilsson
Date: Tue, 19 Dec 1995 00:00
33 lines
1831 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
-- 
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: <4b704l$e8g@roma.axis.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,cfca8f06911d8625,start
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: <4b704l$e8g@roma.axis.se>
X-Deja-AN: 122307804
distribution: gnu
sender: daemon@cis.ohio-state.edu
summary: Documentation for TRAMPOLINE_ALIGNMENT inconsistent.  Nonfatal.
organization: Axis Communications AB, Sweden
keywords: documentation TRAMPOLINE_ALIGNMENT trivial all nonfatal
newsgroups: gnu.gcc.bug