http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56341



--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> 
2013-02-15 14:46:39 UTC ---

(In reply to comment #2)

> The test case causes alignment exceptions for me on armv5tel-linux-gnueabi,

> when compiled with any one of gcc 4.8, 4.7, or 4.6.  Was Sandra's patch ever

> applied?



apparently not. not in 4.6.x not in 4.7.2.



When I used the original patch the assignment in test() was fixed,

but the crash in test1() was still there, because the patch

did not pay attention to the alignment of the structure.



Therefore I added a check for the alignment in both read and

write instructions.



Regards,

Bernd Edlinger.

Reply via email to