Re: [Patch, testsuite] clear wrap_compile_flags before setting it

2014-10-22 Thread Jeff Law
On 10/17/14 15:05, Christophe Lyon wrote: Hi, In testsuite/lib/wrapper.exp's ${tool}_maybe_build_wrapper, we call set_currtarget_info wrap_compile_flags to override wrap_compile_flags with additional flags when compiling testglue.c. However, dejagnu's set_currtarget_info {entry value} will writ

[Patch, testsuite] clear wrap_compile_flags before setting it

2014-10-17 Thread Christophe Lyon
Hi, In testsuite/lib/wrapper.exp's ${tool}_maybe_build_wrapper, we call set_currtarget_info wrap_compile_flags to override wrap_compile_flags with additional flags when compiling testglue.c. However, dejagnu's set_currtarget_info {entry value} will write into value only if it's not already define