Debian Codegraph @

gcc/testsuite/gcc.dg/struct-by-value-2.c

raw
1 /* This testcase caused a sanity check to abort on SPARC64
2 because of a discrepancy between two functions involved
3 in the calculation of structure layout. */
4
5 /* { dg-do compile } */
6
7 struct S { float f1; int i1; int i2; float f2; };
8
9 extern void foo(struct S);
10
11 void bar(void)
12 {
13 struct S s;
14 foo(s);
15 }