compiler: copy has_padding field from converted struct

Test case is https://golang.org/cl/162617.

Fixes https://gcc.gnu.org/PR89321

Change-Id: I56d63feb4a45dc297e03502d72e0fbf7b5bd16a4
Reviewed-on: https://go-review.googlesource.com/c/162618
Reviewed-by: Cherry Zhang <cherryyz@google.com>
1 file changed