public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite] ARM: require arm_thumb1_ok, drop -march
@ 2011-06-21 21:05 Janis Johnson
  2011-06-22  8:47 ` Richard Earnshaw
  0 siblings, 1 reply; 2+ messages in thread
From: Janis Johnson @ 2011-06-21 21:05 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

This test requires thumb1, so skip it for targets that don't support
that instead of specifying an arch value that might be overridden by
multilib flags.

OK for trunk, and later for 4.6?

[-- Attachment #2: gcc-20110621-4 --]
[-- Type: text/plain, Size: 537 bytes --]

2011-06-21  Janis Johnson  <janisjo@codesourcery.com>

	* gcc.target/arm/thumb-bitfld1.c: Don't specify -march, require thumb1.

Index: gcc.target/arm/thumb-bitfld1.c
===================================================================
--- gcc.target/arm/thumb-bitfld1.c	(revision 175269)
+++ gcc.target/arm/thumb-bitfld1.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* { dg-options "-O1 -mthumb -march=armv5t" }  */
+/* { dg-require-effective-target arm_thumb1_ok } */
+/* { dg-options "-O1 -mthumb" }  */
 
 struct foo
 {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [testsuite] ARM: require arm_thumb1_ok, drop -march
  2011-06-21 21:05 [testsuite] ARM: require arm_thumb1_ok, drop -march Janis Johnson
@ 2011-06-22  8:47 ` Richard Earnshaw
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2011-06-22  8:47 UTC (permalink / raw)
  To: Janis Johnson; +Cc: gcc-patches

On 21/06/11 22:05, Janis Johnson wrote:
> This test requires thumb1, so skip it for targets that don't support
> that instead of specifying an arch value that might be overridden by
> multilib flags.
> 
> OK for trunk, and later for 4.6?
> 
> 
> gcc-20110621-4
> 
> 
> 2011-06-21  Janis Johnson  <janisjo@codesourcery.com>
> 
> 	* gcc.target/arm/thumb-bitfld1.c: Don't specify -march, require thumb1.
> 

OK.

R.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-22  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 21:05 [testsuite] ARM: require arm_thumb1_ok, drop -march Janis Johnson
2011-06-22  8:47 ` Richard Earnshaw

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).