<div dir="ltr"><span style="font-family:Arial,sans-serif;font-size:13.3333px">I implemented the byte aligned packing functionality and the Allow_packed_byte_</span><span style="font-family:Arial,sans-serif;font-size:13.3333px">aligned flag was supposed to be a constant that signified that the target CPU allows byte alignment thus relaxing the normal packing restrictions.</span><br><div><span style="font-family:Arial,sans-serif;font-size:13.3333px"><br></span></div><div><font face="Arial, sans-serif"><span style="font-size:13.3333px">I can't speak for the implementation of the pragma (or later changes), but I think it should be removed since (in my mind) it doesn't serve any useful purpose.</span></font></div><div><font face="Arial, sans-serif"><span style="font-size:13.3333px"><br></span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 26, 2015 at 12:23 PM, Rodney Bates <span dir="ltr"><<a href="mailto:rodney_bates@lcwb.coop" target="_blank">rodney_bates@lcwb.coop</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:Arial,sans-serif;font-size:10pt">In trying to better understand the issue, I see, in Module.m3:895, this code:<br><br>    Target.Allow_packed_byte_aligned := t.containsLazyAlignments;<br><br>From other places, containsLazyAlignments derives from LAZYALIGN <br>pragmas, so this means it will turn on Allow_packed_byte_aligned,<br>regardless of the target, if there is a LAZYALIGN pragma.  I think this<br>will generate code that will alignfault, if the target CPU doesn't<br>support it.  That would be a bug. <br><span class="HOEnZb"><font color="#888888"><br><br>-Rodney Bates</font></span></div>
<br>_______________________________________________<br>
M3devel mailing list<br>
<a href="mailto:M3devel@elegosoft.com">M3devel@elegosoft.com</a><br>
<a href="https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel" rel="noreferrer" target="_blank">https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel</a><br>
<br></blockquote></div><br></div>