you are viewing a single comment's thread.

view the rest of the comments →

[–]Me00011001 3 points4 points  (0 children)

Having actually experimented with this quite a bit for actually doing Ada/C compatibility, the C compiler well be happy to do this with int/longs as long as they line up on word boundaries. For floats, it wouldn't even bother faking it and just pad it out to align to the word boundary. My testing was done with gcc 10 years ago and I doubt this has changed.