blob: 67e604b6c5060313b7ea65d10efc8d4806b10cdb [file] [log] [blame]
/* PR tree-optimization/92930 */
/* { dg-do compile { target untyped_assembly } } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
/* { dg-final { scan-tree-dump "__builtin_apply " "optimized" } } */
/* { dg-final { scan-tree-dump "__builtin_apply_args" "optimized" } } */
void foo (int a, int b, int c, int d, int e, int f, int g);
static void bar (int a, ...)
{
__builtin_apply (foo, __builtin_apply_args (), 20);
}
int
main ()
{
bar (1024, 1025, 1026, 1027, 1028, 1029, 1030);
return 0;
}