From 43534aa21d30e8a922a47c2d8c92c069533b6f19 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 4 Feb 2015 13:29:51 +0100 Subject: [PATCH] Adjust pr36728-*.c for targets that pass parameters in registers. Co-Authored-By: Ramana Radhakrishnan From-SVN: r220398 --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/gcc.dg/guality/pr36728-1.c | 1 + gcc/testsuite/gcc.dg/guality/pr36728-2.c | 1 + gcc/testsuite/gcc.dg/guality/pr36728-3.c | 1 + gcc/testsuite/gcc.dg/guality/pr36728-4.c | 1 + 5 files changed, 13 insertions(+) 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; } -- 2.30.2