compile-print.exp: xfail->kfail for '@' GDB array operator
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 4 Jun 2015 19:35:43 +0000 (21:35 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 4 Jun 2015 19:35:43 +0000 (21:35 +0200)
Patch implementing '@' GDB array operator in GCC has been rejected:
https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00414.html
and so there is now a GDB tracker to implement it just in GDB:
https://sourceware.org/bugzilla/show_bug.cgi?id=18489

gdb/testsuite/ChangeLog
2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.compile/compile-print.exp (compile print *vararray@3)
(compile print *vararrayp@3): Change xfail to kfail compile/18489.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.compile/compile-print.exp

index 5ee74ebfb178bb1c4f9edf4c1ead9658c0adc653..246d6a881c6878ae5dc2408e050abe99a681ac28 100644 (file)
@@ -1,3 +1,8 @@
+2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.compile/compile-print.exp (compile print *vararray@3)
+       (compile print *vararrayp@3): Change xfail to kfail compile/18489.
+
 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.compile/compile.exp (keep jit in memory): Rename to ...
index 92c62401d27b621cf7de89ca6a27938f7fffe214..de2f0e74be7bc9f68588b35b888906b44422ea3a 100644 (file)
@@ -38,7 +38,7 @@ gdb_test_multiple $test $test {
        pass $test
     }
     -re ": error: stray '@' in program\r\n.*\r\n$gdb_prompt $" {
-       xfail "$test (gcc does not support '@')"
+       kfail compile/18489 "$test"
     }
 }
 
@@ -48,7 +48,7 @@ gdb_test_multiple $test $test {
        pass $test
     }
     -re ": error: stray '@' in program\r\n.*\r\n$gdb_prompt $" {
-       xfail "$test (gcc does not support '@')"
+       kfail compile/18489 "$test"
     }
 }