[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] [Chicken-bugs] #408: static lambdainfo must be aligne
From: |
Chicken Scheme |
Subject: |
[Chicken-janitors] [Chicken-bugs] #408: static lambdainfo must be aligned |
Date: |
Fri, 18 Jan 2008 11:16:12 -0000 |
#408: static lambdainfo must be aligned
-----------------------+----------------------------------------------------
Reporter: felix | Owner: felix
Type: defect | Status: new
Priority: critical | Milestone:
Component: compiler | Version: 3.0.0rc1
Keywords: alignment |
-----------------------+----------------------------------------------------
the static `li` arrays with lambda-information must be aligned or they may
be interpreted as fixnums if the lowest bit of the address is set.
Currently gcc's `aligned` attribute is used, but that solution is not
portable.
A possible solution is to declare a union with an (unused) `double` member
to force alignment.
--
Ticket URL: <http://trac.callcc.org/ticket/408>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler
- [Chicken-janitors] [Chicken-bugs] #408: static lambdainfo must be aligned,
Chicken Scheme <=