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-4.C] - Blame information for rev 774

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
volatile int __attribute__ ((aligned(32))) g_a=1;
7
/* Test situation 4: no Drap and stack realign doesn't really happen */
8
void __attribute__ ((noinline))
9
foo()
10
{
11
        int i;
12
        ALTER_REGS();
13
        for (i=0; i < 10; i++)
14
                g_a++;
15
        throw g_a;
16
}
17
#endif

powered by: WebSVN 2.1.0

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