🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6276

TRAMPOLINE_ALIGNMENT doc/code inconsistent 2.7.2

#6276
From: Hans-Peter Nilsson
Date: Thu, 04 Jan 1996 00:00
36 lines
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
Technical Details
Message-ID: <m0tXvWs-0001zQC@axserv.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,e9f09b8baed989b4,start
X-Google-Attributes: gid113d02,public
From: Hans-Peter.NIlsson@axis.SE (Hans-Peter Nilsson)
Subject: TRAMPOLINE_ALIGNMENT doc/code inconsistent 2.7.2
Date: 1996/01/04
Message-ID: <m0tXvWs-0001zQC@axserv.axis.se>
X-Deja-AN: 134091034
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug