main/gcc: fix wrong code when returning padded struct

bug report https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93402
Status Job ID Name Coverage
  Lint
failed #52987
docker-alpine x86_64 allowed to fail
lint

00:01:51

failed #42323
x86_64 docker-alpine allowed to fail
lint

00:00:32

 
  Build
passed #52991
docker-alpine ci-build aarch64
build-aarch64

00:22:54

passed #52992
docker-alpine ci-build armv7
build-armv7

00:32:19

passed #52990
docker-alpine ci-build ppc64le
build-ppc64le

00:25:20

passed #52989
docker-alpine ci-build s390x
build-s390x

00:23:16

passed #52988
docker-alpine ci-build x86
build-x86

00:12:25

passed #52930
docker-alpine ci-build x86_64
build-x86_64

00:11:23

failed #42328
aarch64 ci-build docker-alpine
build-aarch64

00:02:45

failed #42329
armv7 ci-build docker-alpine
build-armv7

00:01:23

failed #42327
ppc64le ci-build docker-alpine
build-ppc64le

00:01:32

failed #42326
s390x ci-build docker-alpine
build-s390x

00:00:50

failed #42325
x86 ci-build docker-alpine
build-x86

00:00:48

failed #42324
x86_64 ci-build docker-alpine
build-x86_64

00:00:46

 
Name Stage Failure
failed
lint Lint
No job log