https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77992
--- Comment #15 from Kangjie Lu <kjlu at gatech dot edu> --- (In reply to Richard Biener from comment #14) > Re-opening as an enhacement request for sth like -fexplict-padding adding > artificial fields to structures padding. > > Patches welcome (hint: look into stor-layout.c, start_record_layout / > finish_record_layout, place_field). Sounds great! Thanks for the hint. Since we have been working on preventing uninitialized data leaks for quite a while, we are interested in implementing this gcc feature. Once we finish the beta version, we will ask gcc for review and test.