https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93235

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-01-12
            Summary|[AArch64] ICE with __fp16   |[AArch64] ICE with __fp16
                   |and union                   |in a struct
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This one also ICEs in the same way:
struct sfp16 {
  __fp16 f;
};
struct sfp16 get(short x) {
  struct sfp16 a;
  *(short*)&(a.f) = x;
  return a;
}

Reply via email to