gcc/testsuite/gcc.dg/lto/pr85870_1.c
raw| 1 | typedef unsigned uint32_t __attribute__((mode (__SI__))); |
| 2 | |
| 3 | typedef struct abc_s { |
| 4 | char a1; |
| 5 | short a2; |
| 6 | uint32_t a3; |
| 7 | uint32_t a4; |
| 8 | } abc; |
| 9 | |
| 10 | |
| 11 | typedef struct xyz_s { |
| 12 | uint32_t x1; |
| 13 | uint32_t x2; |
| 14 | abc *x3; |
| 15 | } xyz; |
| 16 | |
| 17 | |
| 18 | extern xyz XYZ[3]; |
| 19 | static const abc Arr2[]={ |
| 20 | {0,0,0xbeafdead,0xdeadbeef} , |
| 21 | #line 1048594 |
| 22 | {0,0,0xbeafdead,0xdeadbeef} }; |
| 23 | |
| 24 | void init_xyz_1() { |
| 25 | XYZ[1].x1=425753; |
| 26 | XYZ[1].x2=1048576; |
| 27 | XYZ[1].x3=(abc *)Arr2; |
| 28 | |
| 29 | } |