From: Georg-Johann Lay Date: Mon, 26 Nov 2012 18:46:12 +0000 (+0000) Subject: re PR testsuite/52641 (Test cases fail for 16-bit int targets) X-Git-Tag: releases/gcc-4.8.0~1774 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72c931b4f6449a7b784bd812e29034ac10d0d4ff;p=thirdparty%2Fgcc.git re PR testsuite/52641 (Test cases fail for 16-bit int targets) PR testsuite/52641 * gcc.c-torture/execute/20120919-1.x: New file (int32plus). * gcc.dg/pr54676.c: Make work for 16-bit int. From-SVN: r193826 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9ce1761c14be..d740fa339c5e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-11-26 Georg-Johann Lay + + PR testsuite/52641 + * gcc.c-torture/execute/20120919-1.x: New file (int32plus). + * gcc.dg/pr54676.c: Make work for 16-bit int. + 2012-11-26 Vladimir Makarov PR target/55277 diff --git a/gcc/testsuite/gcc.c-torture/execute/20120919-1.x b/gcc/testsuite/gcc.c-torture/execute/20120919-1.x new file mode 100644 index 000000000000..4efed4c325fd --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20120919-1.x @@ -0,0 +1,7 @@ +load_lib target-supports.exp + +if { [check_effective_target_int32plus] } { + return 0 +} + +return 1; diff --git a/gcc/testsuite/gcc.dg/pr54676.c b/gcc/testsuite/gcc.dg/pr54676.c index 97032edf623f..cb3a8a2d5785 100644 --- a/gcc/testsuite/gcc.dg/pr54676.c +++ b/gcc/testsuite/gcc.dg/pr54676.c @@ -9,6 +9,10 @@ struct S struct S bar (void); +#if __SIZEOF_INT__ < 4 +#define int __INT32_TYPE__ +#endif + int a; void