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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
2
 
3
// This case is to detect an assertion failure in stack branch development.
4
 
5
bool f();
6
struct S {
7
    __attribute__ ((stdcall)) ~S();
8
};
9
void g() {
10
    for (;;) {
11
        S s1, s2, s3;
12
        if (f())
13
            continue;
14
        if (f())
15
            return;
16
    }
17
}

powered by: WebSVN 2.1.0

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