* g++.dg/compat/eh/filter2_x.C: Declare abort.
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2008 03:17:22 +0000 (03:17 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2008 03:17:22 +0000 (03:17 +0000)
commit6198329e95014582d0ff9e3e1c06da4539208093
tree39184e658b9c868e9443f3aeb04905a05c71aa37
parentb217a93a82756dc50debae06799502393826f635
* g++.dg/compat/eh/filter2_x.C: Declare abort.
* g++.dg/compat/eh/new1_x.C, g++.dg/compat/eh/new1_y.C: Include
cstddef and use std::size_t.

* gcc.dg/compat/compat-common.h: Define SKIP_COMPLEX_INT if
SKIP_COMPLEX.  Honor SKIP_COMPLEX.
* gcc.dg/compat/scalar-by-value-3_x.c,
gcc.dg/compat/scalar-by-value-3_y.c,
gcc.dg/compat/scalar-by-value-4_x.c,
gcc.dg/compat/scalar-by-value-4_y.c,
gcc.dg/compat/scalar-by-value-5.c,
gcc.dg/compat/scalar-by-value-5_main.c,
gcc.dg/compat/scalar-by-value-6.c,
gcc.dg/compat/scalar-by-value-6_main.c,
gcc.dg/compat/scalar-by-value-6_x.c,
gcc.dg/compat/scalar-by-value-6_y.c,
gcc.dg/compat/struct-by-value-16_x.c,
gcc.dg/compat/struct-by-value-16_y.c,
gcc.dg/compat/struct-by-value-16a_x.c,
gcc.dg/compat/struct-by-value-16a_y.c,
gcc.dg/compat/struct-by-value-17_x.c,
gcc.dg/compat/struct-by-value-17_y.c,
gcc.dg/compat/struct-by-value-17a_x.c,
gcc.dg/compat/struct-by-value-17a_y.c,
gcc.dg/compat/struct-by-value-18_x.c,
gcc.dg/compat/struct-by-value-18_y.c,
gcc.dg/compat/struct-by-value-18a_x.c,
gcc.dg/compat/struct-by-value-18a_y.c,
gcc.dg/compat/struct-layout-1.h,
gcc.dg/compat/scalar-return-3_x.c,
gcc.dg/compat/scalar-return-3_y.c,
gcc.dg/compat/scalar-return-4_x.c,
gcc.dg/compat/scalar-return-4_y.c: Honor SKIP_COMPLEX.

* gcc.dg/compat/scalar-by-value-y.h: Use stdarg.h for non-GCC
compilers.

* gcc.dg/compat/struct-by-value-22_y.c,
gcc.dg/compat/struct-by-value-22_main.c,
gcc.dg/compat/struct-by-value-22_x.c: Honor SKIP_VLA_IN_STRUCT.

* lib/c-compat.exp (compat_setup_dfp): Check the compiler under test
first.
* lib/compat.exp: Document COMPLEX and VLA_IN_STRUCT skips.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140137 138bc75d-0d04-0410-961f-82ee72b054a4
38 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/compat/eh/filter2_x.C
gcc/testsuite/g++.dg/compat/eh/new1_x.C
gcc/testsuite/g++.dg/compat/eh/new1_y.C
gcc/testsuite/gcc.dg/compat/compat-common.h
gcc/testsuite/gcc.dg/compat/scalar-by-value-3_x.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-3_y.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-4_x.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-4_y.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-5.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-5_main.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-6.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-6_x.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-6_y.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-y.h
gcc/testsuite/gcc.dg/compat/scalar-return-3_x.c
gcc/testsuite/gcc.dg/compat/scalar-return-3_y.c
gcc/testsuite/gcc.dg/compat/scalar-return-4_x.c
gcc/testsuite/gcc.dg/compat/scalar-return-4_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-16_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-16a_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-16a_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-17_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-17a_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-17a_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18a_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18a_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-22_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-22_y.c
gcc/testsuite/gcc.dg/compat/struct-layout-1.h
gcc/testsuite/lib/c-compat.exp
gcc/testsuite/lib/compat.exp