https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109444
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109444
--- Comment #2 from Mohamed ---
I guess you meant Bar, since Bar has the array member. But then for the
sanitizer to intervene and diagnose are there conditions for alignment??
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109444
--- Comment #1 from Andrew Pinski ---
There is padding bytes for Foo because the alignment of Foo needs to be the
same alignment as a pointer.