Re: different results from objdump for Ubuntu and Windows

2015-09-28 Thread H.J. Lu
On Mon, Sep 28, 2015 at 2:23 PM, Helen Tang wrote: > I built a gcc toolchain on Ubuntu and cygwin on Windows. The results > from objdump are different. Is this normal? Is there a way to make > them the same? It shouldn't happen on the same input file. If it does, please open a bug report. -- H

different results from objdump for Ubuntu and Windows

2015-09-28 Thread Helen Tang
I built a gcc toolchain on Ubuntu and cygwin on Windows. The results from objdump are different. Is this normal? Is there a way to make them the same? Thanks, Helen

Re: [optimization missed] Why do x86 gcc need extension here?

2015-09-28 Thread Jeff Law
On 09/28/2015 09:09 AM, Konstantin Vladimirov wrote: Simple test: --- struct U { unsigned s: 1; }; struct V { unsigned short o: 7; unsigned short u: 1; }; extern struct U t[]; extern struct V d[]; unsigned foo () { struct V descr = d[0]; unsigned osize = descr.o; if (

[optimization missed] Why do x86 gcc need extension here?

2015-09-28 Thread Konstantin Vladimirov
Simple test: --- struct U { unsigned s: 1; }; struct V { unsigned short o: 7; unsigned short u: 1; }; extern struct U t[]; extern struct V d[]; unsigned foo () { struct V descr = d[0]; unsigned osize = descr.o; if ( descr.u ) { struct U udata = t[osize];

Re: September 2015 GNU Toolchain Update

2015-09-28 Thread Nick Clifton
Hi Alan, On Fri, Sep 25, 2015 at 01:33:34PM +0100, Nick Clifton wrote: * The new PowerPC64 specific linker command line option --no-save-restore-funcs tells the linker not to provide the out-of-line register save and restore functions used by -Os compiled code. The default i