Hi,

on s390 we need a backchain in order to implement
__builtin_return_address for arguments other than 0.

Committed to mainline.

Bye,

-Andreas-


2011-10-11  Andreas Krebbel  <andreas.kreb...@de.ibm.com>

        * gcc.dg/pr49994-3.c: Add -mbackchain for s390 and s390x.

Index: gcc/testsuite/gcc.dg/pr49994-3.c
===================================================================
*** gcc/testsuite/gcc.dg/pr49994-3.c.orig
--- gcc/testsuite/gcc.dg/pr49994-3.c
***************
*** 1,5 ****
--- 1,6 ----
  /* { dg-do compile } */
  /* { dg-options "-O2 -fsched2-use-superblocks -g" } */
+ /* { dg-options "-O2 -fsched2-use-superblocks -g -mbackchain" { target 
s390*-*-* } } */
  /* { dg-require-effective-target scheduling } */
  
  void *

Reply via email to