trans-mem: Fix ICE caused by expand_assign_tm
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66470.c
blob3515b6d289294cc978f3c06a725ad2788cec1eb6
1 /* PR target/66470 */
2 /* { dg-do compile { target { ! ia32 } } } */
3 /* { dg-require-effective-target maybe_x32 } */
4 /* { dg-options "-O2 -mx32 -maddress-mode=long" } */
5 /* { dg-require-effective-target tls } */
7 extern __thread unsigned __int128 c[10];
8 int d;
10 unsigned __int128
11 foo (void)
13 return c[d];