* [RFA] Remove some obsolete gcc xfails from overload.exp
@ 2002-01-07 13:10 Fred Fish
2002-01-07 13:24 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Fred Fish @ 2002-01-07 13:10 UTC (permalink / raw)
To: gdb-patches; +Cc: fnf
Some of the gcc xfails in overload.exp seem to be obsolete. The
xfailed tests currently pass with the development gdb using the latest
development gcc, and also with the released gdb-5.1.0.1 using the
released gcc-3.0.3.
2002-01-07 Fred Fish <fnf@redhat.com>
* gdb.c++/overload.exp: Remove unconditional xfails for:
print foo_instance1.overloadargs(1)
print foo_instance1.overloadargs(1, 2)
print foo_instance1.overloadargs(1, 2, 3)
print foo_instance1.overloadargs(1, 2, 3, 4)
print foo_instance1.overloadargs(1, 2, 3, 4, 5)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
print foo_instance1.overload1arg()
print foo_instance1.overload1arg((char)arg2)
print foo_instance1.overload1arg((signed char)arg3)
print foo_instance1.overload1arg((unsigned char)arg4)
print foo_instance1.overload1arg((int)arg7)
print foo_instance1.overload1arg((unsigned int)arg8)
print foo_instance1.overload1arg((float)arg11)
print foo_instance1.overload1arg((double)arg12)
Index: gdb.c++/overload.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/overload.exp,v
retrieving revision 1.6
diff -c -p -r1.6 overload.exp
*** overload.exp 2001/11/01 23:41:09 1.6
--- overload.exp 2002/01/07 21:09:15
***************
*** 1,4 ****
! # Copyright 1998, 1999, 2000, 2001 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
--- 1,4 ----
! # Copyright 1998, 1999, 2000, 2001, 2002 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
*************** gdb_expect {
*** 110,121 ****
}
- # The overload resolver added by HP (valops.c:find_overload_match) doesn't
- # work right for G++ output, since the list of parameters seems not to
- # be filled in correctly. Until this gets fixed, don't expect to pass
- # these tests.
-
- setup_xfail "*-*-*" CLLbs16901
send_gdb "print foo_instance1.overloadargs(1)\n"
gdb_expect {
-re ".\[0-9\]* = 1\r\n$gdb_prompt $" {
--- 110,115 ----
*************** gdb_expect {
*** 126,133 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2)\n"
gdb_expect {
-re ".\[0-9\]* = 2\r\n$gdb_prompt $" {
--- 120,125 ----
*************** gdb_expect {
*** 138,145 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3)\n"
gdb_expect {
-re ".\[0-9\]* = 3\r\n$gdb_prompt $" {
--- 130,135 ----
*************** gdb_expect {
*** 150,157 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4)\n"
gdb_expect {
-re ".\[0-9\]* = 4\r\n$gdb_prompt $" {
--- 140,145 ----
*************** gdb_expect {
*** 162,169 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5)\n"
gdb_expect {
-re ".\[0-9\]* = 5\r\n$gdb_prompt $" {
--- 150,155 ----
*************** gdb_expect {
*** 174,181 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)\n"
gdb_expect {
-re ".\[0-9\]* = 6\r\n$gdb_prompt $" {
--- 160,165 ----
*************** gdb_expect {
*** 186,193 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)\n"
gdb_expect {
-re ".\[0-9\]* = 7\r\n$gdb_prompt $" {
--- 170,175 ----
*************** gdb_expect {
*** 198,205 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)\n"
gdb_expect {
-re ".\[0-9\]* = 8\r\n$gdb_prompt $" {
--- 180,185 ----
*************** gdb_expect {
*** 210,217 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)\n"
gdb_expect {
-re ".\[0-9\]* = 9\r\n$gdb_prompt $" {
--- 190,195 ----
*************** gdb_expect {
*** 222,229 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)\n"
gdb_expect {
-re ".\[0-9\]* = 10\r\n$gdb_prompt $" {
--- 200,205 ----
*************** gdb_expect {
*** 234,241 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)\n"
gdb_expect {
-re ".\[0-9\]* = 11\r\n$gdb_prompt $" {
--- 210,215 ----
*************** gdb_expect {
*** 246,253 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg()\n"
gdb_expect {
-re ".\[0-9\]* = 1\r\n$gdb_prompt $" {
--- 220,225 ----
*************** gdb_expect {
*** 258,265 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((char)arg2)\n"
gdb_expect {
-re ".\[0-9\]* = 2\r\n$gdb_prompt $" {
--- 230,235 ----
*************** gdb_expect {
*** 270,277 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((signed char)arg3)\n"
gdb_expect {
-re ".\[0-9\]* = 3\r\n$gdb_prompt $" {
--- 240,245 ----
*************** gdb_expect {
*** 282,289 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((unsigned char)arg4)\n"
gdb_expect {
-re ".\[0-9\]* = 4\r\n$gdb_prompt $" {
--- 250,255 ----
*************** gdb_expect {
*** 294,299 ****
--- 260,270 ----
}
+ # The overload resolver added by HP (valops.c:find_overload_match) doesn't
+ # work right for G++ output, since the list of parameters seems not to
+ # be filled in correctly. Until this gets fixed, don't expect to pass
+ # some of these tests.
+
setup_xfail "*-*-*" CLLbs16901
send_gdb "print foo_instance1.overload1arg((short)arg5)\n"
*************** gdb_expect {
*** 318,325 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((int)arg7)\n"
gdb_expect {
-re ".\[0-9\]* = 7\r\n$gdb_prompt $" {
--- 289,294 ----
*************** gdb_expect {
*** 330,337 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((unsigned int)arg8)\n"
gdb_expect {
-re ".\[0-9\]* = 8\r\n$gdb_prompt $" {
--- 299,304 ----
*************** gdb_expect {
*** 366,373 ****
}
- setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((float)arg11)\n"
gdb_expect {
-re ".\[0-9\]* = 11\r\n$gdb_prompt $" {
--- 333,338 ----
*************** gdb_expect {
*** 377,384 ****
timeout { fail "(timeout) print call overloaded func float arg" }
}
-
- setup_xfail "*-*-*" CLLbs16901
send_gdb "print foo_instance1.overload1arg((double)arg12)\n"
gdb_expect {
--- 342,347 ----
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [RFA] Remove some obsolete gcc xfails from overload.exp
2002-01-07 13:10 [RFA] Remove some obsolete gcc xfails from overload.exp Fred Fish
@ 2002-01-07 13:24 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-01-07 13:24 UTC (permalink / raw)
To: gdb-patches
On Mon, Jan 07, 2002 at 02:08:51PM -0700, Fred Fish wrote:
> Some of the gcc xfails in overload.exp seem to be obsolete. The
> xfailed tests currently pass with the development gdb using the latest
> development gcc, and also with the released gdb-5.1.0.1 using the
> released gcc-3.0.3.
[I can't approve this, but...] these look right to me. I'm going to
try to fix the remainder of the XFAILS in this file; we shouldn't be
botching any of them. I fixed most of these tests several weeks ago;
thanks for updating the testsuite.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-07 21:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-07 13:10 [RFA] Remove some obsolete gcc xfails from overload.exp Fred Fish
2002-01-07 13:24 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox