Index: gdb/testsuite/gdb.cp/nsrecurs.exp |
diff --git a/gdb/testsuite/gdb.cp/nsrecurs.exp b/gdb/testsuite/gdb.cp/nsrecurs.exp |
index 5ea4376e40589423cb147fb5b579dd1bea91f63c..9cf4331e8e96b6f247b4225d80b2c54c0189b75c 100644 |
--- a/gdb/testsuite/gdb.cp/nsrecurs.exp |
+++ b/gdb/testsuite/gdb.cp/nsrecurs.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2008, 2011-2012 Free Software Foundation, Inc. |
+# Copyright 2008-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -52,8 +52,10 @@ gdb_test "print xx" "= 999" |
# Test printing using recursive namespace |
# aliases. |
-setup_kfail "gdb/10541" "*-*-*" |
-gdb_test "ptype G::GF" "= namespace F" |
+if {![test_compiler_info {gcc-[0-3]-*}]} { |
+ gdb_test "ptype G::GF" "= namespace F" |
-setup_kfail "gdb/10541" "*-*-*" |
-gdb_test "print G::GF::FE::ex" "= 9999" |
+ if {![test_compiler_info {gcc-4-[0-3]-*}]} { |
+ gdb_test "print G::GF::FE::ex" "= 9999" |
+ } |
+} |