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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr50251.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile { target { ! { x86_64-*-mingw* } } } } */
2
/* { dg-options "-O2" } */
3
/* { dg-additional-options "-mpreferred-stack-boundary=12" { target x86_64-*-* } } */
4
 
5
extern void bar (int*);
6
 
7
char *p;
8
 
9
int
10
main ()
11
{
12
  int q;
13
  p = __builtin_stack_save ();
14
  bar (&q);
15
  __builtin_stack_restore (p);
16
  bar (&q);
17
  return 0;
18
}

powered by: WebSVN 2.1.0

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