diff mbox

testsuite patches (5/14): Skip stackalign/builtin-apply-2.c for avr

Message ID 20130720020918.l0sfditr8ggkko8w-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke July 20, 2013, 6:09 a.m. UTC
Tested for avr with --target_board=atmega128-sim and native on  
i686-pc-linuc-gnu.
2013-06-24  Joern Rennecke <joern.rennecke@embecosm.com>

	* gcc.dg/torture/stackalign/builtin-apply-2.c: Also skip for avr.

Comments

Mike Stump Aug. 14, 2013, 5:19 p.m. UTC | #1
Ok.

[ be sure to ask Ok? when you would like a review/approval ]

On Jul 19, 2013, at 11:09 PM, Joern Rennecke <joern.rennecke@embecosm.com> wrote:

> Tested for avr with --target_board=atmega128-sim and native on i686-pc-linuc-gnu.
> 
> 2013-06-24  Joern Rennecke <joern.rennecke@embecosm.com>
> 
> 	* gcc.dg/torture/stackalign/builtin-apply-2.c: Also skip for avr.
> 
> Index: gcc.dg/torture/stackalign/builtin-apply-2.c
> ===================================================================
> --- gcc.dg/torture/stackalign/builtin-apply-2.c	(revision 201032)
> +++ gcc.dg/torture/stackalign/builtin-apply-2.c	(working copy)
> @@ -6,7 +6,10 @@
> 
> /* { dg-do run } */
> 
> -/* { dg-skip-if "Variadic funcs use Base AAPCS.  Normal funcs use VFP variant." { arm_hf_eabi } } */
> +/* arm_hf_eabi: Variadic funcs use Base AAPCS.  Normal funcs use VFP variant.
> +   avr: Variadic funcs don't pass arguments in registers, while normal funcs
> +        do.  */
> +/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs" { arm_hf_eabi || { avr-*-* } } "*" "" } */
> 
> 
> #define INTEGER_ARG  5
diff mbox

Patch

Index: gcc.dg/torture/stackalign/builtin-apply-2.c
===================================================================
--- gcc.dg/torture/stackalign/builtin-apply-2.c	(revision 201032)
+++ gcc.dg/torture/stackalign/builtin-apply-2.c	(working copy)
@@ -6,7 +6,10 @@ 
 
 /* { dg-do run } */
 
-/* { dg-skip-if "Variadic funcs use Base AAPCS.  Normal funcs use VFP variant." { arm_hf_eabi } } */
+/* arm_hf_eabi: Variadic funcs use Base AAPCS.  Normal funcs use VFP variant.
+   avr: Variadic funcs don't pass arguments in registers, while normal funcs
+        do.  */
+/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs" { arm_hf_eabi || { avr-*-* } } "*" "" } */
    
 
 #define INTEGER_ARG  5