[Bug middle-end/69715] [4.9/5/6 regression] ICE: in store_bit_field_1, at expmed.c:839

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 8 09:55:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
struct __attribute__((may_alias)) S { long long low; int high; };
struct S foo (void);
long double
bar (void)
{
  long double a;
  *(struct S *)&a = foo ();
  return a;
}

C (and more simplified) testcase.


More information about the Gcc-bugs mailing list