[Bug c/51628] __attribute__((packed)) is unsafe in some cases

2018-04-12 Thread dingcurie at icloud dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628 W.H. Ding changed: What|Removed |Added CC||dingcurie at icloud dot com --- Comment #47

[Bug c/51628] __attribute__((packed)) is unsafe in some cases

2018-04-13 Thread dingcurie at icloud dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628 --- Comment #51 from W.H. Ding --- (In reply to Sven from comment #49) > This doesn't work. The aligned attribute is for providing additional > alignment hints. The GCC documentation clearly states, that aligned can > increase the alignment. So

[Bug c/51628] __attribute__((packed)) is unsafe in some cases

2018-04-15 Thread dingcurie at icloud dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628 --- Comment #52 from W.H. Ding --- (In reply to rguent...@suse.de from comment #48) So, is there an old bug that covers my problem, or should I file a new one? Thank you.