I am going to check this change in as obvious later today if there are
no objections,  the test gives warnings on HP-UX because it calls
__builtin_return_address with arguments of 0 through 5 but the value 0
is the only valid argument to __builtin_return_address on HP-UX.

Tested on IA64 and PA HP-UX.

Steve Ellcey
s...@cup.hp.com



2011-10-20  Steve Ellcey  <s...@cup.hp.com>

        PR testsuite/50722
        * gcc.dg/pr49994-3.c: Skip on HP-UX.


Index: gcc.dg/pr49994-3.c
===================================================================
--- gcc.dg/pr49994-3.c  (revision 180233)
+++ gcc.dg/pr49994-3.c  (working copy)
@@ -2,6 +2,7 @@
 /* { dg-options "-O2 -fsched2-use-superblocks -g" } */
 /* { dg-options "-O2 -fsched2-use-superblocks -g -mbackchain" { target 
s390*-*-* } } */
 /* { dg-require-effective-target scheduling } */
+/* { dg-skip-if "" { *-*-hpux* } { "*" } { "" } } */
 
 void *
 foo (int offset)

Reply via email to