OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [align-main-3.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* Test for stack alignment with sibcall optimization.  */
2
/* { dg-do compile { target { *-*-linux* && ilp32 } } } */
3
/* { dg-options "-O2 -mpreferred-stack-boundary=4 -mincoming-stack-boundary=2" } */
4
/* { dg-final { scan-assembler "andl\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
5
/* { dg-final { scan-assembler "call\[\\t \]*foo" } } */
6
/* { dg-final { scan-assembler-not "jmp\[\\t \]*foo" } } */
7
 
8
extern int foo (void);
9
 
10
int
11
main ()
12
{
13
  return foo ();
14
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.