1 2 3 4 5 6 7 8 9 10 11 12
/* { dg-do compile } */ /* { dg-options "-O2 -fno-optimize-sibling-calls" } */ extern short shortv2(); short shortv1() { return shortv2(); } /* { dg-final { scan-assembler-not "lsl" } } */ /* { dg-final { scan-assembler-not "asr" } } */ /* { dg-final { scan-assembler-not "sxth" } } */