Testsuite regression gdb.cp/converts.exp [Re: [RFA] gdb/13483]

Keith Seitz keiths@redhat.com
Wed Sep 12 19:38:00 GMT 2012


On 09/10/2012 10:45 PM, Jan Kratochvil wrote:
> on CentOS-5:
>
>   Running gdb/testsuite/gdb.cp/converts.exp ...
> -PASS: gdb.cp/converts.exp: continue to breakpoint: end of main
> [...]
> -PASS: gdb.cp/converts.exp: p foo3_2 (1,1)
> +gdb compile failed, gdb/testsuite/gdb.cp/converts.cc: In function 'int main()':
> +gdb/testsuite/gdb.cp/converts.cc:81: warning: the address of 'int foo1_7(bool)', will always evaluate as 'true'
> +UNTESTED: gdb.cp/converts.exp: converts.exp

My guess is an older compiler. Since none of these function calls is 
really necessary (well, one probably is necessary to make sure foo1_7 
isn't optimized away), I propose just deleting the offending line.

What do you think?
Keith



More information about the Gdb-patches mailing list