gcc-4.3-20101226 is now available

2010-12-26 Thread gccadmin
Snapshot gcc-4.3-20101226 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/4.3-20101226/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 4.3 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_3-branch 
revision 168254

You'll find:

 gcc-4.3-20101226.tar.bz2 Complete GCC (includes all of below)

  MD5=401d419b63da8bac5c937a692181b5e5
  SHA1=9c337c08c2dd675a1f0fff9fa85b8406f9e5b259

 gcc-core-4.3-20101226.tar.bz2C front end and core compiler

  MD5=09d62f16ae35590391fdadc90007ce84
  SHA1=40e700e46b105aa65ad0e04c8ab72a00efd084a9

 gcc-ada-4.3-20101226.tar.bz2 Ada front end and runtime

  MD5=a8a372794d298731e7611dc1e2a0895a
  SHA1=0eaaea5eec6ffc72cf9e1014585d5e4aeef1a10f

 gcc-fortran-4.3-20101226.tar.bz2 Fortran front end and runtime

  MD5=fd4868ac9a9fde48b20c39979d0badaa
  SHA1=88357569273144d1f660a0c8bdbe62848032124a

 gcc-g++-4.3-20101226.tar.bz2 C++ front end and runtime

  MD5=5978aec916efa393ba97769d7e34ca45
  SHA1=f064ea7ef07598a833d09d97a9cbc2a3fd99cea1

 gcc-go-4.3-20101226.tar.bz2  Go front end and runtime

  MD5=744f671c78dc476e8689ec82cf4d8f50
  SHA1=5e4adf28c09b5bdcbf7983d824f624bb1598222a

 gcc-java-4.3-20101226.tar.bz2Java front end and runtime

  MD5=f263366a8b66a9ca0d406f84630fb977
  SHA1=64eb86bf4a017057d3c3c6af419330d28a4e1609

 gcc-objc-4.3-20101226.tar.bz2Objective-C front end and runtime

  MD5=6d65f6dd0da4e87699e40935cdcfd8bc
  SHA1=e45d481aea01dd38bc1131bba87bfcf3961f3bda

 gcc-testsuite-4.3-20101226.tar.bz2   The GCC testsuite

  MD5=1f57c89bb411371c089cbd6871f36bbd
  SHA1=d218a6918c090dd67f9f8426a82927b6e0863e8a

Diffs from 4.3-20101219 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.3
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


Successful profiledbootstrap with some hiccups of GCC 4.6.0 (SVN rev. 168186) and GCC 4.5.2 (release) on Mac OS X 10.6.5 (x86_64-apple-darwin10)

2010-12-26 Thread Olexa Bilaniuk
This is to report that GCC 4.6.0 (SVN revision 168186) and GCC 4.5.2
(release) profiledbootstrap 's successfully on a Macbook6,1 with Intel
Core 2 Duo Penryn P7550 2.26GHz and 4GB 1067MHz DDR3 RAM running Mac
OS X 10.6.5 in 387 minutes, 28 seconds and 392 minutes, 14 seconds.
There were some minor problems that might qualify as bugs.

***

The bootstrap of GCC 4.6.0 (SVN revision 168186) itself was performed
by GNU GCC 4.5.1 (not the GCC with which Xcode comes bundled), using
the configure flags

../gcc-svn-168186/configure --prefix=$GCCLOC/MacOSX-instable
--with-pkgversion="GNU GCC (4.6.0 - SVN revision 168186) Codename
Múspellsheimr GCC built Dec 25, 2010 with GMP 5.0.1, MPFR 3.0.0, MPC
0.8.2 and Libelf 0.8.13, bootstrap by GNU GCC 4.5.1 Codename Uppsala
III GCC" --with-libelf=$DEPEND/libelf --enable-lto
--with-mpc=$DEPEND/mpc --with-mpfr=$DEPEND/mpfr --with-gmp=$DEPEND/gmp
--enable-shared --enable-static --target=x86_64-apple-darwin10
--build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10
--enable-threads --enable-languages=c,c++,java,fortran,objc,obj-c++
--enable-libgcj --enable-libjava --enable-java-net --enable-jvmpi
--enable-libgcj-bc --with-libffi --enable-werror --enable-checking
--enable-stage1-checking --disable-nls --disable-build-with-cxx
--enable-gather-detailed-mem-stats --enable-decimal-float
--with-tune=core2 CC="gcc -O3" CPPFLAGS="-O3"

with $GCCLOC indicating the install location and $DEPEND the location
of the dependencies, and was bootstrapped with

make profiledbootstrap

There is, however, a small hiccup, and I hesitate to post this in
bugs, because I am not sure if I myself am mistaken. In the source
tree, at gcc/ggc-common.c, line 949, in the function
ggc-record-overhead, I had to make a small change:

gcc_assert (slot!=NULL); /* Switched from gcc_assert (!*slot);
because this is possibly an error */

I understand the intent here was to compare the pointer to NULL before
dereferencing it, possibly basing oneself on the most common
representation of NULL (the integer 0 cast to void *), but the
(!*slot) comparison broke the build on my system. After some digging,
I settled on (slot!=NULL) and GCC bootstrapped itself just fine. I
also understand that this code only ought to execute if
--enable-gather-detailed-mem-stats is selected (Which it is in my
configure-time flags), but this is still worth correcting. From what I
remember, this mistake has been present since at least revision
166644, and it probably goes back a long time further back than that.

***

The bootstrap of GCC 4.5.2 was performed by the same GNU GCC 4.5.1 as
above, using the configure flags

../gcc-4.5.2/configure --prefix=$GCCLOC/MacOSX-stable
--with-pkgversion="GNU GCC 4.5.2 Codename Aesir GCC built Dec. 26,
2010 with GMP 5.0.1, MPFR 3.0.0, MPC 0.8.2 and Libelf 0.8.13,
bootstrap by GNU GCC 4.5.1 Codename Uppsala III GCC"
--with-libelf=$DEPEND/libelf --enable-lto --with-mpc=$DEPEND/mpc
--with-mpfr=$DEPEND/mpfr --with-gmp=$DEPEND/gmp --enable-shared
--enable-static --target=x86_64-apple-darwin10
--build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10
--enable-threads --enable-languages=c,c++,java,fortran,objc,obj-c++
--enable-libgcj --enable-libjava --enable-java-net --enable-jvmpi
--enable-libgcj-bc --with-libffi --enable-werror --enable-checking
--enable-stage1-checking --disable-nls --disable-build-with-cxx
--enable-gather-detailed-mem-stats --enable-decimal-float
--with-tune=core2 CC="gcc -O3" CPPFLAGS="-O3"

with $GCCLOC indicating the install location and $DEPEND the location
of the dependencies, and was bootstrapped with

make profiledbootstrap

The issue with ggc-record-overhead discussed above is also present in
GCC 4.5.2, but not in GCC 4.5.1 (which I successfully bootstrapped
with the same configure-time flags) and I have
gcc-4.5.2/gcc/ggc-common.c corrected too. Nevertheless, I was faced
with this printout:

cc1: warnings being treated as errors
../../gcc-4.5.2/gcc/tree-vect-stmts.c: In function 'vectorizable_operation':
../../gcc-4.5.2/gcc/tree-vect-stmts.c:2253:8: error: unused
variable 'scalar_shift_arg'
../../gcc-4.5.2/gcc/tree-vect-stmts.c:2252:16: error: unused variable 'k'
../../gcc-4.5.2/gcc/tree-vect-stmts.c:2239:21: error: unused
variable 'optab_op2_mode'

So I acted on them and commented out their declaration. The bootstrap
then finished normally.

***

In conclusion, this is the first time in my memory that GCJ compiled
cleanly on Mac OS X - previously it would fail for a number of
reasons. Congratulations, and keep up the good work!

Thank you for reading this report.