The attached change skips a couple of tests on hpux.  The 32-bit hppa-hpux 
target lacks support for
the dwarf debug format.  We also lack the %hhd format except on 11.31.

Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2017-02-03  John David Anglin  <dang...@gcc.gnu.org>

        * g++.dg/pr78112-2.C: Skip on hppa*-*-hpux*.
        * gcc.c-torture/execute/pr78622.c: Likewise.

Index: g++.dg/pr78112-2.C
===================================================================
--- g++.dg/pr78112-2.C  (revision 245109)
+++ g++.dg/pr78112-2.C  (working copy)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-skip-if "No dwarf debug support" { hppa*-*-hpux* } "*" "" } */
 /* { dg-options "-g -dA -gdwarf-4 -std=gnu++11" } */
 /* { dg-options "-g -dA -std=gnu++11 -gdwarf-4" } */
 /* { dg-final { scan-assembler-times DW_AT_object_pointer 18 } } */
Index: gcc.c-torture/execute/pr78622.c
===================================================================
--- gcc.c-torture/execute/pr78622.c     (revision 245109)
+++ gcc.c-torture/execute/pr78622.c     (working copy)
@@ -1,5 +1,6 @@
 /* PR middle-end/78622 - [7 Regression] -Wformat-overflow/-fprintf-return-value
    incorrect with overflow/wrapping
+   { dg-skip-if "Requires %hhd format" { hppa*-*-hpux* } { "*" } { "" } }
    { dg-additional-options "-Wformat-overflow=2" } */
 
 __attribute__((noinline, noclone)) int

Reply via email to