1 /* { dg-do compile { target { ilp32 } } } */ 2 /* { dg-options "-O2 -funit-at-a-time -fstrict-calling-conventions" } */ 3 /* { dg-final { scan-assembler "pushl.*\\\$1" } } */ 4 5 #include <stdio.h> 6 7 /* Verify that local calling convention is not used if strict conventions. */ 8 static t(int) __attribute__ ((noinline)); 9 m() 10 { 11 t(1); 12 } 13 14 static t(int a) 15 { 16 printf("%d\n", a); 17 }