public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][committed] Remove arm-specific -march option in gcc.dg/pr61756.c
@ 2014-08-07  8:46 Kyrill Tkachov
       [not found] ` <53E4AA0C.4000908@arm.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Kyrill Tkachov @ 2014-08-07  8:46 UTC (permalink / raw)
  To: GCC Patches; +Cc: Bin Cheng

Hi all,

As Bin pointed out, setting -march=armv5 explicitly on this test causing a FAIL when testing with /-mthumb.
The bug fixed by the commit that added this test occured only on pre-SMP architectures, i.e. ARMv5 and earlier.
I think it's best to just remove the -march option. If someone was hit by PR 61756 due to testing ARMv5 CPUs and we regress on this issue they will still catch it, while forcing -march=armv5 here only causes multilib testing headaches.

Committed as obvious with r213701.

Thanks,
Kyrill

2014-08-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* gcc.dg/pr61756.c: Remove arm-specific dg-options.


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

* Re: [PATCH][committed] Remove arm-specific -march option in gcc.dg/pr61756.c
       [not found] ` <53E4AA0C.4000908@arm.com>
@ 2014-08-08 10:46   ` Kyrill Tkachov
  0 siblings, 0 replies; 2+ messages in thread
From: Kyrill Tkachov @ 2014-08-08 10:46 UTC (permalink / raw)
  To: GCC Patches

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

On 07/08/14 09:46, Kyrill Tkachov wrote:
>> Hi all,
>>
>> As Bin pointed out, setting -march=armv5 explicitly on this test causing a FAIL when testing with /-mthumb.
>> The bug fixed by the commit that added this test occured only on pre-SMP architectures, i.e. ARMv5 and earlier.
>> I think it's best to just remove the -march option. If someone was hit by PR 61756 due to testing ARMv5 CPUs and we regress on this issue they will still catch it, while forcing -march=armv5 here only causes multilib testing headaches.
>>
>> Committed as obvious with r213701.
>>
>> Thanks,
>> Kyrill

Now with patch attached. Sorry for the noise.

Kyrill

>>
>> 2014-08-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>>
>> 	* gcc.dg/pr61756.c: Remove arm-specific dg-options.
>>
>>
>>
>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: arm-remove-march.patch --]
[-- Type: text/x-patch; name=arm-remove-march.patch, Size: 380 bytes --]

Index: gcc/testsuite/gcc.dg/pr61756.c
===================================================================
--- gcc/testsuite/gcc.dg/pr61756.c	(revision 213700)
+++ gcc/testsuite/gcc.dg/pr61756.c	(working copy)
@@ -2,7 +2,6 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
-/* { dg-options "-O2 -march=armv5" { target arm*-*-*  } } */
 
 #include <stdatomic.h>
 

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

end of thread, other threads:[~2014-08-08 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07  8:46 [PATCH][committed] Remove arm-specific -march option in gcc.dg/pr61756.c Kyrill Tkachov
     [not found] ` <53E4AA0C.4000908@arm.com>
2014-08-08 10:46   ` Kyrill Tkachov

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