At 1:15 PM -0400 4/29/04, Simon Glover wrote:
On Thu, 29 Apr 2004, Dan Sugalski wrote:

 At 7:07 PM +0200 4/29/04, Leopold Toetsch wrote:
 >Dan Sugalski <[EMAIL PROTECTED]> wrote:
 >>  At 6:43 PM +0200 4/29/04, Leopold Toetsch wrote:
 >>>
 >>>I can't see, why this patch should break t/pmc/float.t and:
 >
 >>  Because GCC doesn't align function pointers unless you ask it to,
 >
 >Argh. System depend weird stuff. gcc does function aligning on x86
 >though.

 Nope, it doesn't. I think it does on non-x86 systems, but for x86 it
 only aligns with -O2 or higher. Go figure.

Should we provide a fallback option for those platforms/compilers that we can't persuade to do function aligning, or is this something that any ANSI C compliant compiler is supposed to be able to do?

It's not guaranteed anywhere, so having a fallback is definitely in order. It's distinctly possible we'll find compilers that flat-out won't allow us to do this, in which case we'll need a Plan B as fallback.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to