Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/struct-by-value-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |