Michael Matz wrote:
I chose to adjust field layout instead of field type; the latter can cause invalid mem accesses with packed structs/fields:
Hi Michael, May I suggest something: It appears to me that it's the point of packed (pcc) bitfields that all bits are fully tightly packed with no padding whatsoever, such that they can be used for decoding bit-stream protocols or some such. "More or less" packed isn't better than not at all in that case because it is just not what people will expect (I suppose). Therefor I'd suggest to revert the layout code to the point where it actually was producing the correct layout, then comment out the pcc:packed part and substitute by a warning "currently unsupported", for now. Unless you find time to teach the load/store part single-byte-wise accesses which would be great too, of course ;) Or someone else would be (at least) equally great. --- grischka _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
