[cfe-dev] preserving type signatures
Renato Golin
rengolin at systemcall.org
Wed Mar 24 04:58:41 PDT 2010
On 24 March 2010 07:34, Naoya Maruyama <naoya.maruyama at gmail.com> wrote:
> However, for example, with Clang, if a function
> returns struct {float, float}, then the compiled function in the llvm
> bitcode returns a double that aggregates the two floats.
It's completely wrong to convert { float, float } into double. Just
because they have the same size doesn't mean they're identical.
Can you give us a simple example where this occurs?
--
cheers,
--renato
http://systemcall.org/
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
More information about the cfe-dev
mailing list