[committed] Minor testsuite cleanup from summer's v850 work

Jeff Law law@redhat.com
Fri Nov 9 20:08:00 GMT 2018


I've had this lying around.  Recent changes in that file reminded me to
push it.

Essentially the v850 pushes arguments for variadic functions rather than
passing them in args, similarly to the nds32.  So we need to guard the
test in a similar manner.

Committed to the trunk.

Jeff
-------------- next part --------------
commit cc9a0d23a784738d5121c8eb9f097acb0cf476bf
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Nov 9 20:08:20 2018 +0000

            gcc.dg/torture/stackalign/builtin-apply-2.c: Skip on v850.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265982 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1556e8a7d19..285d0e1384c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2018-11-09  Jeff Law  <law@redhat.com>
+
+	gcc.dg/torture/stackalign/builtin-apply-2.c: Skip on v850.
+
 2018-11-09  Martin Sebor  <msebor@redhat.com>
 
 	PR middle-end/81824
diff --git a/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c b/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c
index 3f8d350ba8f..dde2600c4d1 100644
--- a/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c
+++ b/gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c
@@ -10,7 +10,7 @@
    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-*-* riscv*-*-* or1k*-*-* } } } */
-/* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { nds32*-*-* } } */
+/* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { nds32*-*-* } { v850*-*-* } } */
 /* { dg-require-effective-target untyped_assembly } */
    
 


More information about the Gcc-patches mailing list