Re: [PATCH testcase]Add bind_pic_locally to case addrtmp.c

2014-08-13 Thread Jeff Law
On 08/07/14 03:43, Bin Cheng wrote: Hi, The case depends on GCC inlining of global function, but the callee won't be inlined because it's global function and considered over-writable during run-time. This patch fixes the failure by binding it to pic locally. Is it OK? Thanks, bin gcc/testsuit

Re: [PATCH testcase]Add bind_pic_locally to case addrtmp.c

2014-08-11 Thread Bin.Cheng
On Thu, Aug 7, 2014 at 5:54 PM, Bin.Cheng wrote: > On Thu, Aug 7, 2014 at 5:43 PM, Bin Cheng wrote: >> Hi, >> >> The case depends on GCC inlining of global function, but the callee won't be >> inlined because it's global function and considered over-writable during >> run-time. > It won't be inli

Re: [PATCH testcase]Add bind_pic_locally to case addrtmp.c

2014-08-07 Thread Bin.Cheng
On Thu, Aug 7, 2014 at 5:43 PM, Bin Cheng wrote: > Hi, > > The case depends on GCC inlining of global function, but the callee won't be > inlined because it's global function and considered over-writable during > run-time. It won't be inlined only if it's tested against -fpic/-fPIC. > This patch

[PATCH testcase]Add bind_pic_locally to case addrtmp.c

2014-08-07 Thread Bin Cheng
Hi, The case depends on GCC inlining of global function, but the callee won't be inlined because it's global function and considered over-writable during run-time. This patch fixes the failure by binding it to pic locally. Is it OK? Thanks, bin gcc/testsuite/ChangeLog 2014-08-07 Bin Cheng