aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2012-08-16 22:42:09 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2012-08-16 22:42:09 +0000
commitf5a53fc7af14e981a5a6f1d6d9753673f04401f2 (patch)
tree39c7673ca060723471b02952d3572a0257668e82 /gcc
parentaf4bd9204179f9820bc4b17099fc75a4f603abf8 (diff)
downloadgcc-f5a53fc7af14e981a5a6f1d6d9753673f04401f2.zip
gcc-f5a53fc7af14e981a5a6f1d6d9753673f04401f2.tar.gz
gcc-f5a53fc7af14e981a5a6f1d6d9753673f04401f2.tar.bz2
* lib/target-supports.exp (check_effective_target_sync_int_long)
(check_effective_target_sync_char_short): Enable for crisv32-* and cris-*. From-SVN: r190456
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/target-supports.exp2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6e4d352..e17f115 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2012-08-17 Hans-Peter Nilsson <hp@axis.com>
+ * lib/target-supports.exp (check_effective_target_sync_int_long)
+ (check_effective_target_sync_char_short): Enable for crisv32-*
+ and cris-*.
+
PR middle-end/54261
* gcc.dg/torture/pr54261-1.c: New test.
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index bc81a61..f597316 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -3894,6 +3894,7 @@ proc check_effective_target_sync_int_long { } {
|| [istarget hppa*-*linux*]
|| [istarget s390*-*-*]
|| [istarget powerpc*-*-*]
+ || [istarget crisv32-*-*] || [istarget cris-*-*]
|| ([istarget sparc*-*-*] && [check_effective_target_sparc_v9])
|| [check_effective_target_mips_llsc] } {
set et_sync_int_long_saved 1
@@ -3923,6 +3924,7 @@ proc check_effective_target_sync_char_short { } {
|| [istarget hppa*-*linux*]
|| [istarget s390*-*-*]
|| [istarget powerpc*-*-*]
+ || [istarget crisv32-*-*] || [istarget cris-*-*]
|| ([istarget sparc*-*-*] && [check_effective_target_sparc_v9])
|| [check_effective_target_mips_llsc] } {
set et_sync_char_short_saved 1