PR c/51628
PR target/88682
* c-c++-common/pr51628-10.c (unaligned_int128_t): Add
may_alias attribute.
From-SVN: r267970
+2019-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/51628
+ PR target/88682
+ * c-c++-common/pr51628-10.c (unaligned_int128_t): Add
+ may_alias attribute.
+
2019-01-15 Nikhil Benesch <nikhil.benesch@gmail.com>
* gcc.misc-tests/godump-1.c: Add test case for typedef before
typedef struct unaligned_int128_t_
{
__int128_t value;
-} __attribute__((packed)) unaligned_int128_t;
+} __attribute__((packed, may_alias)) unaligned_int128_t;
struct pair_t p = {0, 1};
unaligned_int128_t *addr = (unaligned_int128_t *) &p.i;