This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap broken for '-O3'


On Sun, Jan 19, 2014 at 07:39:12PM +0100, Winfried Magerl wrote:
> Hi,
> 
> since "trunk revision 206525" I'm unable to bootstrap
> gcc with '-O3' as optimisation. No problem until
> revision 2065250.
> 
> From the diff-output it looks like this entry from
> ChangeLog is the only candidate:
> 
> -------------------
> diff -urN -x.svn gcc-head-206520/LAST_UPDATED gcc-head-206525/LAST_UPDATED
> --- gcc-head-206520/LAST_UPDATED        2014-01-19 17:54:07.053340903 +0100
> +++ gcc-head-206525/LAST_UPDATED        2014-01-19 18:58:54.049008110 +0100
> @@ -1,2 +1,2 @@
> -Sun Jan 19 17:54:07 CET 2014
> -Sun Jan 19 16:54:07 UTC 2014 (revision 206520)
> +Sun Jan 19 18:58:54 CET 2014
> +Sun Jan 19 17:58:54 UTC 2014 (revision 206525)
> diff -urN -x.svn gcc-head-206520/gcc/ChangeLog gcc-head-206525/gcc/ChangeLog
> --- gcc-head-206520/gcc/ChangeLog       2014-01-19 17:54:03.620441749 +0100
> +++ gcc-head-206525/gcc/ChangeLog       2014-01-19 18:58:51.113097157 +0100
> @@ -1,3 +1,15 @@
> +2014-01-10  Richard Biener  <rguenther@suse.de>
> +
> +       PR tree-optimization/59374
> +       * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
> +       checking after SLP discovery.  Mark stmts not participating
> +       in any SLP instance properly.
> +
> +2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
> +
> +       * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
> +       when handling a SET rtx.
> +
>  2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
> 
>         * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
> -------------------
> 
> gcc is built with the following commands:
> 
> -----------
> CFLAGS="-O3"; export CFLAGS
> CXXFLAGS="$CFLAGS"; export CXXFLAGS
> CFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS" XCFLAGS="$CFLAGS" TCFLAGS="$CFLAGS" \
> ../gcc-head-206525/configure --enable-shared --prefix=/usr --enable-multilib=no --enable-checking=release --enable-werror=no --enable-languages='c,c++' >& configure.out
> make -j6 BOOT_CFLAGS="-O3" >& make.out || exit 1
> -----------
> 
> and results in the following error:
> 
> ------------------
> # make compare
> Comparing stages 2 and 3
> warning: gcc/cc1-checksum.o differs
> warning: gcc/cc1plus-checksum.o differs
> Bootstrap comparison failure!
> gcc/bitmap.o differs
> gcc/bt-load.o differs
> gcc/emit-rtl.o differs
> libiberty/pic/md5.o differs
> libiberty/md5.o differs
> Makefile:20642: recipe for target 'compare' failed
> make: *** [compare] Error 1
> ------------------
> 
> I've verified the behaviour on opensuse 13.1 too to ensure
> it's not caused by local tool-chain.

reverting the patch for tree-vect-slp.c fixes the build with -O3
for current trunk (revision 206934).

I've verified this on openSUSE 13.1 (x86_64).

regards

	winfried


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]