[Converted from Gnats 69] test script gdb.c++/overload.exp prints wrong results for some tests. The script thinks that these are XFAILs, but I think that when gdb prints incorrect results, that's a bug. print foo_instance1.overload1arg((short)arg5) $19 = 7 (gdb) XFAIL: gdb.c++/overload.exp: print call overloaded short arg (PRMS CLLbs16901) print foo_instance1.overload1arg((unsigned short)arg6) $20 = 7 (gdb) XFAIL: gdb.c++/overload.exp: print call overloaded func unsigned short arg (PRMS CLLbs16901) ... print foo_instance1.overload1arg((long)arg9) $23 = 8 (gdb) XFAIL: gdb.c++/overload.exp: print call overloaded func long arg (PRMS CLLbs16901) print foo_instance1.overload1arg((unsigned long)arg10) $24 = 11 (gdb) XFAIL: gdb.c++/overload.exp: print call overloaded func unsigned long arg (PRMS CLLbs16901) Release: 2001-06-24-cvs Environment: native red hat linux 7 gcc gcc-3_0-branch cvs 2001-06-23 How-To-Repeat: build cvs gdb on native red hat linux 7 use gcc 3.0 to run the test suite run test script gdb.c++/overload.exp
State-Changed-From-To: open->closed State-Changed-Why: I actually reported this a whole new time as PR gdb/872! Daniel J fixed it on 2003-01-13. Confirmed fixed in my test run for 2003-01-15. Re-confirmed, all the tests mentioned in overload.exp are fine as of 2003-08-10 in gdb_6_0-branch and HEAD.