https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77992
Kangjie Lu <kjlu at gatech dot edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #4 from Kangjie Lu <kjlu at gatech dot edu> --- (In reply to Andrew Pinski from comment #3) > There is no way in C to do that. If you want a secure language you need > something different. Could you please explain why there is no way in C to initialize padding? Besides performance (I understand that the unaligned initialization could be expensive), any other reasons? Thanks!