https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88496
H.J. Lu changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88496
--- Comment #2 from Hongtao.liu ---
>
> subq and addq aren't necessary.
I can't reproduce this w/ GCC12/GCC11/GCC10, but it does existed in GCC9.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88496
--- Comment #1 from H.J. Lu ---
From PR 90202:
[hjl@gnu-cfl-1 pr90202]$ cat x.ii
struct v {
int val[16];
};
struct v test(struct v a, struct v b) {
struct v res;
for (int i = 0; i < 16; i++)
res.val[i] = a.val[i] + b.val[i]