Comment 3 for bug 1464818

Revision history for this message
Den (adskdn7) wrote :

Hi Thomas,

Struct declaration can be seen on gcc_bug3.jpg
I've also have discovered that #pragma pack(4) or #pragma pack(1) on structure declaration resolves the issue.

I'll try to strip out the code later if you would be unable to reproduce the issue, have no time now..
I think issue is related only to parameter (struct pointer) returned from function called by pointer.