warning: comparison with string literal results in unspecified behaviour

2008-01-19 Thread Russell Shaw
How do i disable that? My code explicitly compares string pointers.

Re: powercp-linux cross GCC 4.2 vs GCC 4.0.0: -Os code size regression? [Emcraft #11717]

2008-01-19 Thread Andrew Haley
Gabriel Paubert wrote: On Thu, Jan 17, 2008 at 05:48:10PM +0300, Sergei Poselenov wrote: Hello Andrew, Preprocessed and assembler code generated by the GCC 4.2.2 ppc-linux cross-compiler: http://www.emcraft.com/codesize/gcc-4.2.2/interrupts.i http://www.emcraft.com/codesize/gcc-4.2.2/interrup

Re: warning: comparison with string literal results in unspecified behaviour

2008-01-19 Thread Jonathan Wakely
On 19/01/2008, Russell Shaw wrote: > How do i disable that? My code explicitly compares string pointers. Your question is off-topic on this list, which is for development of GCC, please use the gcc-help list for help using the compiler: http://gcc.gnu.org/lists.html -Wno-address will suppress the

Re: powercp-linux cross GCC 4.2 vs GCC 4.0.0: -Os code size regression? [Emcraft #11717]

2008-01-19 Thread David Edelsohn
> Andrew Haley writes: Andrew> I suspect that the real reason for the change in save/restore is because Andrew> not using lmw/stmw is faster. That's just a guess though. gcc could probably Andrew> be fixed to use ldmw/stmw if -Os is used. Andrew> Anyway, now we've found something specific

Re: powercp-linux cross GCC 4.2 vs GCC 4.0.0: -Os code size regression? [Emcraft #11717]

2008-01-19 Thread Andrew Haley
David Edelsohn wrote: Andrew Haley writes: Andrew> I suspect that the real reason for the change in save/restore is because Andrew> not using lmw/stmw is faster. That's just a guess though. gcc could probably Andrew> be fixed to use ldmw/stmw if -Os is used. Andrew> Anyway, now we've found

Re: powercp-linux cross GCC 4.2 vs GCC 4.0.0: -Os code size regression? [Emcraft #11717]

2008-01-19 Thread David Edelsohn
> Andrew Haley writes: Andrew> Err, why not? Because the fixed register means it no longer is a continuous sequence of registers. And the PowerPC port does not break it up into two sequences. And fixed registers in that range are not part of any standard ABI. David

Status of GCC 4.3 on HPPA (Debian)

2008-01-19 Thread Martin Michlmayr
I recently compiled the Debian archive (around 7000 packages that need to be compiled) on HPPA (PA RISC) using trunk to identify new issues before GCC 4.3 is released. I compiled the archive with optimization set to -O3 and found the following ICEs with trunk from 20071212: - PR34458: ICE in int

Bootstrap broken for mipsel-linux: gcc/global.c:1020: error: array subscript is above array bounds

2008-01-19 Thread David Daney
For r131631 bootstrap on mipsel-linux in stage2 I am getting: /home/ddaney/gccsvn/trunk-build/./prev-gcc/xgcc -B/home/ddaney/gccsvn/trunk-build/./prev-gcc/ -B/home/ddaney/gccsvn/trunk-install/mipsel-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-proto

Re: Bootstrap broken for mipsel-linux: gcc/global.c:1020: error: array subscript is above array bounds

2008-01-19 Thread Richard Sandiford
David Daney <[EMAIL PROTECTED]> writes: > For r131631 bootstrap on mipsel-linux in stage2 I am getting: > > /home/ddaney/gccsvn/trunk-build/./prev-gcc/xgcc > -B/home/ddaney/gccsvn/trunk-build/./prev-gcc/ > -B/home/ddaney/gccsvn/trunk-install/mipsel-linux/bin/ -c -g -O2 > -DIN_GCC -W -Wall -W