Re: trouble emilinating redundant compares

2012-01-16 Thread Hans-Peter Nilsson
On Mon, 16 Jan 2012, Paul S wrote: > In the port I'm working on I have used the newer CC tracking technique (i.e. > not cc0). I have followed the directions at the top of compare-elim.c and have > the following pattern for addhi3 > I'm clearly missing something... can anyone provide a hint ? You'

Re: GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2

2012-01-16 Thread Hans Aberg
On 16 Jan 2012, at 18:52, Jonathan Wakely wrote: >> Bison puts up snapshots at ftp://alpha.gnu.org/gnu/bison/, an alternative to >> those that do not need the latest bleeding-edge version. > > So does GCC, the front page says "Our sources are readily and freely > available via SVN and weekly sna

Re: GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2

2012-01-16 Thread Jonathan Wakely
On 16 January 2012 17:31, Hans Aberg wrote: > Bison puts up snapshots at ftp://alpha.gnu.org/gnu/bison/, an alternative to > those that do not need the latest bleeding-edge version. So does GCC, the front page says "Our sources are readily and freely available via SVN and weekly snapshots" and li

Re: GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2

2012-01-16 Thread Hans Aberg
On 16 Jan 2012, at 18:01, Jonathan Wakely wrote: The config.log of this directory just indicates a program doing the check that will fail (now overwritten by new ./configure && make). >>> >>> Do not run ./configure, see http://gcc.gnu.org/wiki/InstallingGCC and >>> http://gcc.gnu.org/w

Re: GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2

2012-01-16 Thread Jonathan Wakely
On 16 January 2012 14:49, Hans Aberg wrote: > On 16 Jan 2012, at 15:31, Jonathan Wakely wrote: > >>> The config.log of this directory just indicates a program doing the check >>> that will fail (now overwritten by new ./configure && make). >> >> Do not run ./configure, see http://gcc.gnu.org/wiki/

Re: GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2

2012-01-16 Thread Hans Aberg
On 16 Jan 2012, at 15:31, Jonathan Wakely wrote: > On 16 January 2012 13:55, Hans Aberg wrote: >> [I am not on this list, so please cc me.] >> >> On OS X 10.7.2, gcc (GCC) 4.7.0 20120115 from SVN compiles using the >> /usr/bin/gcc -> llvm-gcc-4.2 that is installed by Xcode 4.2.1. >> >> But if o

Re: GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2

2012-01-16 Thread Jonathan Wakely
On 16 January 2012 13:55, Hans Aberg wrote: > [I am not on this list, so please cc me.] > > On OS X 10.7.2, gcc (GCC) 4.7.0 20120115 from SVN compiles using the > /usr/bin/gcc -> llvm-gcc-4.2 that is installed by Xcode 4.2.1. > > But if one first compiles GCC 4.6.2 using the same LLVM-GCC, then th

GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2

2012-01-16 Thread Hans Aberg
[I am not on this list, so please cc me.] On OS X 10.7.2, gcc (GCC) 4.7.0 20120115 from SVN compiles using the /usr/bin/gcc -> llvm-gcc-4.2 that is installed by Xcode 4.2.1. But if one first compiles GCC 4.6.2 using the same LLVM-GCC, then this GCC 4.7 will not compile; there is a configure err

Re: question on inconsistent generated codes for builtin calls

2012-01-16 Thread Richard Guenther
On Mon, Jan 16, 2012 at 7:24 AM, Amker.Cheng wrote: > On Fri, Jan 13, 2012 at 10:17 PM, Amker.Cheng wrote: >> On Fri, Jan 13, 2012 at 5:33 PM, Richard Guenther >> wrote: >>> >>> No, I think the check is superfluous and should be removed.  I also wonder >>> why we exempt BUILT_IN_FREE here ... ca