https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154
--- Comment #6 from Hongtao.liu <crazylht at gmail dot com> ---
Reproduced with a simple testcase
float
foo (long a)
{
union{long a;
float b[2];}c;
c.a = a;
return c.b[1];
}
crazylht at gmail dot com via Gcc-bugs Wed, 01 Sep 2021 01:00:49 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102154
--- Comment #6 from Hongtao.liu <crazylht at gmail dot com> ---
Reproduced with a simple testcase
float
foo (long a)
{
union{long a;
float b[2];}c;
c.a = a;
return c.b[1];
}