Debian Codegraph @

gcc/testsuite/g++.dg/torture/stackalign/stdcall-1.C

raw
1 // { 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 }