The attached change avoids the failure of the scan-assembler-not check for rodata on hppa*-*-*.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk, 4.9 and 4.8.

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


2014-09-06  John David Anglin  <dang...@gcc.gnu.org>

        PR testsuite/56194
        * g++.dg/init/const9.C: Skip scan-assembler-not "rodata" on hppa*-*-*.

Index: g++.dg/init/const9.C
===================================================================
--- g++.dg/init/const9.C        (revision 214934)
+++ g++.dg/init/const9.C        (working copy)
@@ -1,5 +1,5 @@
 // PR c++/55893
-// { dg-final { scan-assembler-not "rodata" } }
+// { dg-final { scan-assembler-not "rodata" { target { ! hppa*-*-* } } } }
 
 struct foo
 {

Reply via email to