gcc/testsuite/gcc.target/s390/pr106355.h
raw| 1 | /* For the S/390 ABI parameter D is passed in GPR 5 and 6 and the latter is |
| 2 | call-saved which prohibits sibling call optimization. This must hold true |
| 3 | also if the mode of the parameter is BLKmode. */ |
| 4 | |
| 5 | typedef struct |
| 6 | { |
| 7 | short x; |
| 8 | char y[6]; |
| 9 | } t; |
| 10 | |
| 11 | extern t d; |
| 12 | |
| 13 | extern void bar (int a, int b, int c, t d); |
| 14 | |
| 15 | void foo (int a, int b, int c) |
| 16 | { |
| 17 | bar (a, b, c, d); |
| 18 | } |