summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr68661-1a.c
blob: b343844185fc6cba63cfa01b665c9538a69b371e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-mgeneral-regs-only" } */
/* { dg-additional-sources pr68661-1b.c } */

extern void bar0 (int, int, int, int, int, int, int, int, int)
   __attribute__ ((no_caller_saved_registers));

void
foo (void)
{
  bar0 (0, 1, 2, 3, 4, 5, 6, 7, 8);
}

void
bad (void)
{
  __builtin_abort ();
}