gcc/testsuite/gcc.dg/lto/pr102059-1_0.c
raw| 1 | /* { dg-lto-do link } */ |
| 2 | /* { dg-skip-if "power10 and above only" { ! { power10_ok } } } */ |
| 3 | /* -Wno-attributes suppresses always_inline warnings. */ |
| 4 | /* { dg-lto-options { "-O2 -mdejagnu-cpu=power8 -flto -Wno-attributes -mno-power8-fusion" } } */ |
| 5 | |
| 6 | int __attribute__ ((always_inline)) |
| 7 | foo1 (int *b) |
| 8 | { |
| 9 | *b += 100; |
| 10 | return *b; |
| 11 | } |
| 12 |