gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 19 Dec 2011 13:42:50 +0000 (13:42 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 19 Dec 2011 13:42:50 +0000 (13:42 +0000)
* gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
PR gcc/45997 XFAIL conditional for gcc <= 4.5.
* gdb.python/py-type.exp (python print ttype.template_argument(2)):
Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
conditional for gcc <= 4.5.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/ptype-cv-cp.exp
gdb/testsuite/gdb.python/py-type.exp

index f6183499c099c7fc7720b1f45d5aa8d91da5cc10..bca2d34f3419f5e0805fd84eea5d094b18f1dc8b 100644 (file)
@@ -1,3 +1,11 @@
+2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
+       PR gcc/45997 XFAIL conditional for gcc <= 4.5.
+       * gdb.python/py-type.exp (python print ttype.template_argument(2)):
+       Change PR gcc/41736 to the more specific PR gcc/46955.  Make it
+       conditional for gcc <= 4.5.
+
 2011-12-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
index 21b436544e7bb19c9b872ce02951697569d38f5a..5f2c495566eef4e13f4d6225c4df42248e777779 100644 (file)
@@ -37,5 +37,8 @@ gdb_test "whatis v_const_volatile_my_int" "type = const_volatile_my_int"
 gdb_test "ptype v_const_volatile_my_int" "type = const volatile int"
 
 gdb_test "whatis v_volatile_const_my_int" "type = volatile_const_my_int"
-setup_xfail "gcc/45997" "*-*-*"
+if {[test_compiler_info {gcc-[0-3]-*}]
+    || [test_compiler_info {gcc-4-[0-5]-*}]} {
+    setup_xfail "gcc/45997" "*-*-*"
+}
 gdb_test "ptype v_volatile_const_my_int" "type = const volatile int"
index b5e6ff9df8a65cf828fb4ec1190111bf41422ffc..b62d1e23fb62919e23e2768706530bedf454b108 100644 (file)
@@ -193,7 +193,10 @@ proc test_template {} {
     gdb_test "python print isinstance(ttype.template_argument(1), gdb.Value)" \
        "True"
 
-    setup_xfail "gcc/41736" *-*-*
+    if {[test_compiler_info {gcc-[0-3]-*}]
+       || [test_compiler_info {gcc-4-[0-5]-*}]} {
+       setup_xfail "gcc/46955" *-*-*
+    }
     gdb_test "python print ttype.template_argument(2)" "&C::c"
 }