This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH][PPC] Remove unnecessary local variable mptwo


On Thu, Jan 10, 2013 at 10:06:39AM -0800, Roland McGrath wrote:
> It seems appropriate to check.  In many cases an initialized local like
> that gets folded into its uses and occupies no stack space and uses less
> code compared to the load from a global.

I just checked now and it's dead code; removing it makes absolutely no
difference.  The compiler somehow picked up the global variable all
along.

Siddhesh


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