2 20020215-1.c from the execute part of the gcc torture suite.
11 /* Test failed on an architecture that:
13 - had 16-bit registers,
14 - passed 64-bit structures in registers,
15 - only allowed SImode values in even numbered registers.
17 Before reload, s.i2 in foo() was represented as:
19 (subreg:SI (reg:DI 0) 2)
21 find_dummy_reload would return (reg:SI 1) for the subreg reload,
22 despite that not being a valid register. */
24 #if 0 // Todo: enable when compound literals are supported!
32 struct s
foo (struct s s
)
40 testTortureExecute (void)
42 #if 0 // Todo: enable when compound literals are supported!
43 struct s s
= foo ((struct s
) { 1000, 2000L, 3000 });
44 if (s
.i1
!= 1000 || s
.i2
!= 2001L || s
.i3
!= 3000)