Attached are a set of testsuite updates for hppa. The pr64434.c.d.txt, ivopts-lt-2.c.d.txt and uninit-19.c.d.txt changes were applied to both gcc-5 and trunk. The rest were applied to the trunk.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Sorry, for batch update. Mail wasn't working. Dave -- John David Anglin dave.ang...@bell.net
2016-04-09 John David Anglin <dang...@gcc.gnu.org> PR rtl-optimization/64886 * gcc.dg/pr64434.c: Skip on hppa*-*-hpux*. Index: gcc.dg/pr64434.c =================================================================== --- gcc.dg/pr64434.c (revision 234351) +++ gcc.dg/pr64434.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O1 -fdump-rtl-expand-details" } */ +/* { dg-skip-if "PR64886" { hppa*-*-hpux* } { "*" } { "" } } */ #define N 256 int a1[N], a2[N], a3[N], a4[N];
2016-04-09 John David Anglin <dang...@gcc.gnu.org> PR tree-optimization/68644 * gcc.dg/tree-ssa/ivopts-lt-2.c: Skip on hppa*-*-*. Index: gcc.dg/tree-ssa/ivopts-lt-2.c =================================================================== --- gcc.dg/tree-ssa/ivopts-lt-2.c (revision 234351) +++ gcc.dg/tree-ssa/ivopts-lt-2.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-ivopts" } */ +/* { dg-skip-if "PR68644" { hppa*-*-* } { "*" } { "" } } */ void f1 (int *p, unsigned int i)
2016-04-09 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/uninit-19.c: Fix warning line for hppa*64*-*-*. Index: gcc.dg/uninit-19.c =================================================================== --- gcc.dg/uninit-19.c (revision 234351) +++ gcc.dg/uninit-19.c (working copy) @@ -22,5 +22,5 @@ fn1 (l, &d, &e, &g, &i, &h, &k, n); /* 22. */ } -/* { dg-warning "may be used uninitialized" "" { target nonpic } 13 } */ -/* { dg-warning "may be used uninitialized" "" { target { ! nonpic } } 22 } */ +/* { dg-warning "may be used uninitialized" "" { target { { nonpic } || { hppa*64*-*-* } } } 13 } */ +/* { dg-warning "may be used uninitialized" "" { target { ! { { nonpic } || { hppa*64*-*-* } } } } 22 } */
2016-04-09 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/pic-1.c: Skip on hppa*-*-*. * gcc.dg/pie-1.c: Likewise. * gcc.dg/pic-3.c: Skip on hppa*64*-*-*. * gcc.dg/pic-4.c: Likewise. * gcc.dg/pie-3.c: Likewise. * gcc.dg/pie-4.c: Likewise. Index: gcc.dg/pic-1.c =================================================================== --- gcc.dg/pic-1.c (revision 234788) +++ gcc.dg/pic-1.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! *-*-darwin* } } } */ +/* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* } } } } */ /* { dg-options "-fpic" } */ #if __PIC__ != 1 Index: gcc.dg/pic-3.c =================================================================== --- gcc.dg/pic-3.c (revision 234788) +++ gcc.dg/pic-3.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! *-*-darwin* } } } */ +/* { dg-do compile { target { ! { *-*-darwin* hppa*64*-*-* } } } } */ /* { dg-options "-fno-pic" } */ #ifdef __PIC__ Index: gcc.dg/pic-4.c =================================================================== --- gcc.dg/pic-4.c (revision 234788) +++ gcc.dg/pic-4.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! *-*-darwin* } } } */ +/* { dg-do compile { target { ! { *-*-darwin* hppa*64*-*-* } } } } */ /* { dg-options "-fno-PIC" } */ #ifdef __PIC__ Index: gcc.dg/pie-1.c =================================================================== --- gcc.dg/pie-1.c (revision 234788) +++ gcc.dg/pie-1.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! *-*-darwin* } } } */ +/* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* } } } } */ /* { dg-options "-fpie" } */ #if __PIC__ != 1 Index: gcc.dg/pie-3.c =================================================================== --- gcc.dg/pie-3.c (revision 234788) +++ gcc.dg/pie-3.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! *-*-darwin* } } } */ +/* { dg-do compile { target { ! { *-*-darwin* hppa*64*-*-* } } } } */ /* { dg-options "-fno-pie" } */ #ifdef __PIC__ Index: gcc.dg/pie-4.c =================================================================== --- gcc.dg/pie-4.c (revision 234788) +++ gcc.dg/pie-4.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! *-*-darwin* } } } */ +/* { dg-do compile { target { ! { *-*-darwin* hppa*64*-*-* } } } } */ /* { dg-options "-fno-PIE" } */ #ifdef __PIC__
2016-04-09 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/debug/dwarf2/prod-options.c: Adjust scan for hppa*64*-*-*. Index: gcc.dg/debug/dwarf2/prod-options.c =================================================================== --- gcc.dg/debug/dwarf2/prod-options.c (revision 234858) +++ gcc.dg/debug/dwarf2/prod-options.c (working copy) @@ -4,8 +4,8 @@ as well. */ /* { dg-do compile } */ /* { dg-options "-O2 -gdwarf -dA -fdebug-prefix-map=a=b" } */ -/* { dg-final { scan-assembler "DW_AT_producer: \"GNU C" { target { { ! *-*-solaris2* } || gas } } } } */ -/* { dg-final { scan-assembler "\"GNU C\[^\\n\\r\]+ DW_AT_producer" { target { *-*-solaris2* && { ! gas } } } } } */ +/* { dg-final { scan-assembler "DW_AT_producer: \"GNU C" { target { { { ! *-*-solaris2* } || gas } && { ! hppa*64*-*-* } } } } } */ +/* { dg-final { scan-assembler "\"GNU C\[^\\n\\r\]+ DW_AT_producer" { target { { *-*-solaris2* && { ! gas } } || { hppa*64*-*-* } } } } } */ /* { dg-final { scan-assembler-not "debug-prefix-map" } } */ void func (void)
2016-04-09 John David Anglin <dang...@gcc.gnu.org> PR rtl-optimization/66669 * gcc.dg/loop-8.c: Skip on hppa*-*-*. Index: gcc.dg/loop-8.c =================================================================== --- gcc.dg/loop-8.c (revision 234858) +++ gcc.dg/loop-8.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O1 -fdump-rtl-loop2_invariant" } */ -/* { dg-skip-if "unexpected IV" { "visium-*-*" } { "*" } { "" } } */ +/* { dg-skip-if "unexpected IV" { "hppa*-*-* visium-*-*" } { "*" } { "" } } */ void f (int *a, int *b)
2016-04-09 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/pr70317.c: Add -fno-common on hppa*-*-hpux*. Index: gcc.dg/pr70317.c =================================================================== --- gcc.dg/pr70317.c (revision 234858) +++ gcc.dg/pr70317.c (working copy) @@ -2,6 +2,7 @@ /* { dg-do compile } */ /* { dg-skip-if "No NaN support" { spu*-*-* vax*-*-* pdp11*-*-* } } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ typedef double V __attribute__((vector_size (256))); typedef __typeof ((V) {} < (V) {}) T;
2016-04-09 John David Anglin <dang...@gcc.gnu.org> PR testsuite/64039 * gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail scan-tree-dump on hppa*64*-*-*. Index: gcc.dg/tree-ssa/ssa-dom-cse-2.c =================================================================== --- gcc.dg/tree-ssa/ssa-dom-cse-2.c (revision 234858) +++ gcc.dg/tree-ssa/ssa-dom-cse-2.c (working copy) @@ -25,4 +25,4 @@ but the loop reads only one element at a time, and DOM cannot resolve these. The same happens on powerpc depending on the SIMD support available. */ -/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* powerpc64*-*-* } || { sparc*-*-* && lp64 } } } } } */ +/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* powerpc64*-*-* } || { sparc*-*-* && lp64 } } } } } */