[Bug 1042012] Latest gcc 7-1.2 cause crash
1 Jun
2017
1 Jun
'17
08:50
http://bugzilla.novell.com/show_bug.cgi?id=1042012 http://bugzilla.novell.com/show_bug.cgi?id=1042012#c6 --- Comment #6 from Richard Biener <rguenther@suse.com> --- So as I thought GCC is taking advantage of #ifdef _MSC_VER __declspec(align(16)) #endif struct cdata { const struct ctype type #ifdef __GNUC__ __attribute__ ((aligned(16))) #endif ; }; when loading from cd->type but cd = (struct cdata*) lua_touserdata(L, idx); lua_touserdata doesn't honor that alignment. You can probably see that at the point of the crash %eax is not aligned to 16 bytes. -- You are receiving this mail because: You are on the CC list for the bug.
2758
Age (days ago)
2758
Last active (days ago)
0 comments
1 participants
participants (1)
-
bugzilla_noreply@novell.com