This problem happens only on 4.3, and only with target gnualtivec... First noticed on snapshot of Oct 23 I have 4000+ gfortran tests failing because of a warning message from the compiler. Here is an example: /temp/gnu_toolchain/build_area/gcc-trunk/obj_gcc-trunk_7450/gcc/testsuite/gfortran/../../gfortran -B/temp/gnu_toolchain/build_area/gcc-trunk/obj_gcc-trunk_7450/gcc/testsuite/gfortran/../../ /temp/gnu_toolchain/build_area/gcc-trunk/gcc-trunk/gcc/testsuite/gfortran.dg/char_unpack_2.f90 -O3 -fomit-frame-pointer -funroll-loops -pedantic-errors -c /temp/gnu_toolchain/build_area/gcc-trunk/gcc-trunk/gcc/testsuite/gfortran.dg/char_unpack_2.f90:0: warning: 'const' attribute directive ignored 4.2 does not have this problem, other 4.3 powerpc targets does not either... (*-*-gnu, and *-*-gnuspe) The compiler was configured with: /temp/gnu_toolchain/build_area/gcc-trunk/obj_gcc-trunk_7450/gcc/testsuite/gfortran/../../gfortran -v Using built-in specs. Target: powerpc-unknown-linux-gnualtivec Configured with: ../gcc-trunk/configure --prefix=/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20061026-7450 --with-local-prefix=/temp/gnu_toolchain/install_area/gcc-trunk/gcc-trunk-20061026-7450 --enable-languages=c,c++,fortran --enable-threads --target=powerpc-unknown-linux-gnualtivec --with-gmp=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64 --with-mpfr=/proj/ppc/sysperf/sw/gnu_toolchain/gcc_support/linuxAMD64 --disable-linux-futex Thread model: posix gcc version 4.3.0 20061026 (experimental)
Related to PR 21952.
*** This bug has been marked as a duplicate of 29779 ***