1 /* { dg-do compile } */
2
3 /* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106459 */
4
5 typedef unsigned int UDItype __attribute__((mode(DI)));
6 int foo(UDItype x) {
7 x = x & (((UDItype)(((UDItype)(((UDItype)0x0F << 8) | 0x0F) << (2 * 8)) |
8 (((UDItype)0x0F << 8) | 0x0F))
9 << (4 * 8)) |
10 (((UDItype)(((UDItype)0x0F << 8) | 0x0F) << (2 * 8)) |
11 (((UDItype)0x0F << 8) | 0x0F)));
12 return x;
13 }