Mercurial > hg > CbC > CbC_gcc
view 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 |
line wrap: on
line source
/* This testcase caused a sanity check to abort on SPARC64 because of a discrepancy between two functions involved in the calculation of structure layout. */ /* { dg-do compile } */ struct S { float f1; int i1; int i2; float f2; }; extern void foo(struct S); void bar(void) { struct S s; foo(s); }