public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PATCH: Skip gcc.target/i386/incoming-?.c on Skip *-*-darwin*
@ 2008-08-09 15:05 H.J. Lu
  2008-08-14 16:39 ` PING " Jack Howarth
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2008-08-09 15:05 UTC (permalink / raw)
  To: gcc-patches

Darwin ignores incoming stack boundary if it is less than stack
boundary, which is 16byte on Darwin.  We should skip those tests
on Darwin.  OK for trunk.


H.J.
---
2008-08-09  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/incoming-1.c: Skip *-*-darwin*.
	* gcc.target/i386/incoming-2.c: Likewise.
	* gcc.target/i386/incoming-3.c: Likewise.
	* gcc.target/i386/incoming-4.c: Likewise.
	* gcc.target/i386/incoming-5.c: Likewise.

--- gcc/testsuite/gcc.target/i386/incoming-1.c.darwin	2008-08-07 06:16:50.000000000 -0700
+++ gcc/testsuite/gcc.target/i386/incoming-1.c	2008-08-09 07:00:47.000000000 -0700
@@ -1,5 +1,5 @@
 /* PR middle-end/37009 */
-/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
 /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
 
 #include <emmintrin.h>
--- gcc/testsuite/gcc.target/i386/incoming-2.c.darwin	2008-08-07 06:16:50.000000000 -0700
+++ gcc/testsuite/gcc.target/i386/incoming-2.c	2008-08-09 07:00:51.000000000 -0700
@@ -1,5 +1,5 @@
 /* PR middle-end/37009 */
-/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
 /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
 
 #include <emmintrin.h>
--- gcc/testsuite/gcc.target/i386/incoming-3.c.darwin	2008-08-07 06:16:50.000000000 -0700
+++ gcc/testsuite/gcc.target/i386/incoming-3.c	2008-08-09 07:01:06.000000000 -0700
@@ -1,5 +1,5 @@
 /* PR middle-end/37009 */
-/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
 /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
 
 #include <emmintrin.h>
--- gcc/testsuite/gcc.target/i386/incoming-4.c.darwin	2008-08-07 06:16:50.000000000 -0700
+++ gcc/testsuite/gcc.target/i386/incoming-4.c	2008-08-09 07:01:15.000000000 -0700
@@ -1,5 +1,5 @@
 /* PR middle-end/37009 */
-/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
 /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
 
 #include <stdarg.h>
--- gcc/testsuite/gcc.target/i386/incoming-5.c.darwin	2008-08-07 06:16:50.000000000 -0700
+++ gcc/testsuite/gcc.target/i386/incoming-5.c	2008-08-09 07:01:31.000000000 -0700
@@ -1,5 +1,5 @@
 /* PR middle-end/37009 */
-/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
 /* { dg-options "-m32 -mincoming-stack-boundary=2 -mpreferred-stack-boundary=2" } */
 
 extern void bar (double *);

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

* PING PATCH: Skip gcc.target/i386/incoming-?.c on Skip *-*-darwin*
  2008-08-09 15:05 PATCH: Skip gcc.target/i386/incoming-?.c on Skip *-*-darwin* H.J. Lu
@ 2008-08-14 16:39 ` Jack Howarth
  2008-08-14 16:41   ` H.J. Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Howarth @ 2008-08-14 16:39 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gcc-patches

On Sat, Aug 09, 2008 at 07:10:38AM -0700, H.J. Lu wrote:
> Darwin ignores incoming stack boundary if it is less than stack
> boundary, which is 16byte on Darwin.  We should skip those tests
> on Darwin.  OK for trunk.
> 
> 
> H.J.
> ---
> 2008-08-09  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	* gcc.target/i386/incoming-1.c: Skip *-*-darwin*.
> 	* gcc.target/i386/incoming-2.c: Likewise.
> 	* gcc.target/i386/incoming-3.c: Likewise.
> 	* gcc.target/i386/incoming-4.c: Likewise.
> 	* gcc.target/i386/incoming-5.c: Likewise.
> 
> --- gcc/testsuite/gcc.target/i386/incoming-1.c.darwin	2008-08-07 06:16:50.000000000 -0700
> +++ gcc/testsuite/gcc.target/i386/incoming-1.c	2008-08-09 07:00:47.000000000 -0700
> @@ -1,5 +1,5 @@
>  /* PR middle-end/37009 */
> -/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
> +/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
>  /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
>  
>  #include <emmintrin.h>
> --- gcc/testsuite/gcc.target/i386/incoming-2.c.darwin	2008-08-07 06:16:50.000000000 -0700
> +++ gcc/testsuite/gcc.target/i386/incoming-2.c	2008-08-09 07:00:51.000000000 -0700
> @@ -1,5 +1,5 @@
>  /* PR middle-end/37009 */
> -/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
> +/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
>  /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
>  
>  #include <emmintrin.h>
> --- gcc/testsuite/gcc.target/i386/incoming-3.c.darwin	2008-08-07 06:16:50.000000000 -0700
> +++ gcc/testsuite/gcc.target/i386/incoming-3.c	2008-08-09 07:01:06.000000000 -0700
> @@ -1,5 +1,5 @@
>  /* PR middle-end/37009 */
> -/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
> +/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
>  /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
>  
>  #include <emmintrin.h>
> --- gcc/testsuite/gcc.target/i386/incoming-4.c.darwin	2008-08-07 06:16:50.000000000 -0700
> +++ gcc/testsuite/gcc.target/i386/incoming-4.c	2008-08-09 07:01:15.000000000 -0700
> @@ -1,5 +1,5 @@
>  /* PR middle-end/37009 */
> -/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
> +/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
>  /* { dg-options "-w -msse2 -mpreferred-stack-boundary=2" } */
>  
>  #include <stdarg.h>
> --- gcc/testsuite/gcc.target/i386/incoming-5.c.darwin	2008-08-07 06:16:50.000000000 -0700
> +++ gcc/testsuite/gcc.target/i386/incoming-5.c	2008-08-09 07:01:31.000000000 -0700
> @@ -1,5 +1,5 @@
>  /* PR middle-end/37009 */
> -/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
> +/* { dg-do compile { target { { ! *-*-darwin* } && ilp32 } } } */
>  /* { dg-options "-m32 -mincoming-stack-boundary=2 -mpreferred-stack-boundary=2" } */
>  
>  extern void bar (double *);

HJ,
   Mike Stump says that the darwin related changes are okay but he is uncertain
of changes related to the other architectures (beyond i?86 and x86_64). Can we
get this into gcc trunk?
                       Jack

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

* Re: PING PATCH: Skip gcc.target/i386/incoming-?.c on Skip *-*-darwin*
  2008-08-14 16:39 ` PING " Jack Howarth
@ 2008-08-14 16:41   ` H.J. Lu
  0 siblings, 0 replies; 3+ messages in thread
From: H.J. Lu @ 2008-08-14 16:41 UTC (permalink / raw)
  To: Jack Howarth; +Cc: gcc-patches

On Thu, Aug 14, 2008 at 9:21 AM, Jack Howarth <howarth@bromo.msbb.uc.edu> wrote:
> On Sat, Aug 09, 2008 at 07:10:38AM -0700, H.J. Lu wrote:
>> Darwin ignores incoming stack boundary if it is less than stack
>> boundary, which is 16byte on Darwin.  We should skip those tests
>> on Darwin.  OK for trunk.
>>
>>
>
> HJ,
>   Mike Stump says that the darwin related changes are okay but he is uncertain
> of changes related to the other architectures (beyond i?86 and x86_64). Can we
> get this into gcc trunk?
>                       Jack
>

There is no need to check  i?86 and x86_64 in gcc.target/i386. It is in trunk
now.

-- 
H.J.

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

end of thread, other threads:[~2008-08-14 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-09 15:05 PATCH: Skip gcc.target/i386/incoming-?.c on Skip *-*-darwin* H.J. Lu
2008-08-14 16:39 ` PING " Jack Howarth
2008-08-14 16:41   ` H.J. Lu

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