* [PATCH]Add sync_int_long target selector to gcc.dg/pr65345-2.c
@ 2015-05-01 14:44 Renlin Li
2015-05-01 15:11 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Renlin Li @ 2015-05-01 14:44 UTC (permalink / raw)
To: gcc-patches; +Cc: Marcus Shawcroft, polacek
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
Hi all,
The new test case requires the target to support atomic operations on
"int" type. By adding the correct target selector, it fixes the
regression on arm-none-elf target.
Okay to commit?
gcc/testsuite/ChangeLog:
2015-05-01 Renlin Li <renlin.li@arm.com>
* gcc.dg/pr65345-2.c: Add sync_int_long target selector.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: new.diff --]
[-- Type: text/x-patch; name=new.diff, Size: 382 bytes --]
diff --git a/gcc/testsuite/gcc.dg/pr65345-2.c b/gcc/testsuite/gcc.dg/pr65345-2.c
index 438100d..c9adffb 100644
--- a/gcc/testsuite/gcc.dg/pr65345-2.c
+++ b/gcc/testsuite/gcc.dg/pr65345-2.c
@@ -1,5 +1,6 @@
/* PR c/65345 */
/* { dg-do run } */
+/* { dg-require-effective-target sync_int_long } */
/* { dg-options "" } */
#define CHECK(X) if (!(X)) __builtin_abort ()
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-01 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 14:44 [PATCH]Add sync_int_long target selector to gcc.dg/pr65345-2.c Renlin Li
2015-05-01 15:11 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).