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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [stackalign/] [unwind-1.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
2
 
3
#include "test-unwind.h"
4
 
5
#if !defined __PIC__ && !defined __USING_SJLJ_EXCEPTIONS__
6
/* Test situation 1: Stack really realign without DRAP */
7
void __attribute__ ((noinline))
8
foo ()
9
{
10
  int __attribute__ ((aligned(64))) a=1;
11
  if (check_int (&a,  __alignof__(a)) != a)
12
    abort ();
13
  ALTER_REGS();
14
  throw a;
15
}
16
#endif

powered by: WebSVN 2.1.0

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