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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr37843-1.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Test for stack alignment with sibcall optimization.  */
2
/* { dg-do compile { target nonpic } } */
3
/* { dg-options "-O2 -mpreferred-stack-boundary=6 -mincoming-stack-boundary=5" } */
4
/* { dg-final { scan-assembler "and\[lq\]?\[\\t \]*\\$-64,\[\\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 bar (void)
11
{
12
    return foo();
13
}

powered by: WebSVN 2.1.0

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