This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]