From: Jakub Jelinek Date: Wed, 4 Feb 2015 12:29:51 +0000 (+0100) Subject: Adjust pr36728-*.c for targets that pass parameters in registers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43534aa21d30e8a922a47c2d8c92c069533b6f19;p=gcc.git Adjust pr36728-*.c for targets that pass parameters in registers. Co-Authored-By: Ramana Radhakrishnan From-SVN: r220398 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fd3562648cf..0f99a1f284f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2015-02-04 Jakub Jelinek + Ramana Radhakrishnan + + * gcc.dg/guality/pr36728-1.c (main): Adjust for targets that + pass parameters in registers. + * gcc.dg/guality/pr36728-2.c (main): Likewise. + * gcc.dg/guality/pr36728-3.c (main): Likewise. + * gcc.dg/guality/pr36728-4.c (main): Likewise. + 2015-02-04 Alan Lawrence Rainer Orth diff --git a/gcc/testsuite/gcc.dg/guality/pr36728-1.c b/gcc/testsuite/gcc.dg/guality/pr36728-1.c index ba7a6c27929..0ab475ab047 100644 --- a/gcc/testsuite/gcc.dg/guality/pr36728-1.c +++ b/gcc/testsuite/gcc.dg/guality/pr36728-1.c @@ -49,5 +49,6 @@ main () int l = 0; asm ("" : "=r" (l) : "0" (l)); a = foo (l + 1, l + 2, l + 3, l + 4, l + 5, l + 6, l + 30); + asm volatile ("" :: "r" (l)); return 0; } diff --git a/gcc/testsuite/gcc.dg/guality/pr36728-2.c b/gcc/testsuite/gcc.dg/guality/pr36728-2.c index 6daa021c01d..7ba8663e26e 100644 --- a/gcc/testsuite/gcc.dg/guality/pr36728-2.c +++ b/gcc/testsuite/gcc.dg/guality/pr36728-2.c @@ -49,5 +49,6 @@ main () int l = 0; asm ("" : "=r" (l) : "0" (l)); a = foo (l + 1, l + 2, l + 3, l + 4, l + 5, l + 6, l + 30); + asm volatile ("" :: "r" (l)); return 0; } diff --git a/gcc/testsuite/gcc.dg/guality/pr36728-3.c b/gcc/testsuite/gcc.dg/guality/pr36728-3.c index bb2c0675d1f..4700d50f8bc 100644 --- a/gcc/testsuite/gcc.dg/guality/pr36728-3.c +++ b/gcc/testsuite/gcc.dg/guality/pr36728-3.c @@ -47,5 +47,6 @@ main () int l = 0; asm volatile ("" : "=r" (l) : "0" (l)); foo (l + 1, l + 2, l + 3, l + 4, l + 5, l + 6, l + 30); + asm volatile ("" :: "r" (l)); return 0; } diff --git a/gcc/testsuite/gcc.dg/guality/pr36728-4.c b/gcc/testsuite/gcc.dg/guality/pr36728-4.c index fee79c49c16..bf6e9e99417 100644 --- a/gcc/testsuite/gcc.dg/guality/pr36728-4.c +++ b/gcc/testsuite/gcc.dg/guality/pr36728-4.c @@ -47,5 +47,6 @@ main () int l = 0; asm volatile ("" : "=r" (l) : "0" (l)); foo (l + 1, l + 2, l + 3, l + 4, l + 5, l + 6, l + 30); + asm volatile ("" :: "r" (l)); return 0; }