From 624f53f8b6fbbe3dfd70b86ebbdec053eff0830f Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Mon, 11 Jan 2016 11:35:07 +0100
Subject: [PATCH 2/2] S/390: Add -mbackchain for -W[no-]frame-address tests.
---
gcc/testsuite/g++.dg/Wframe-address.C | 1 +
gcc/testsuite/g++.dg/Wno-frame-address.C | 1 +
2 files changed, 2 insertions(+)
@@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-Wframe-address" }
+// { dg-additional-options "-mbackchain" { target s390*-*-* } }
static void* const fa[] = {
__builtin_frame_address (0),
@@ -1,6 +1,7 @@
// { dg-do compile }
// { dg-skip-if "Cannot access arbitrary stack frames." { arm*-*-* hppa*-*-* } }
// { dg-options "-Werror" }
+// { dg-additional-options "-mbackchain" { target s390*-*-* } }
// Verify that -Wframe-address is not enabled by default by enabling
// -Werror and verifying the test still compiles.
--
2.3.0
On Mon, Jan 11, 2016 at 11:46:21AM +0100, Dominik Vogt wrote: > The following two patches fix some test cases for S/390. Patch 2: Add -mbackchain on S/390 to make the -W[no-]frame-adrress tests work. Ciao Dominik ^_^ ^_^