http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45816
Summary: [4.6 Regression] Bootstrap comparison failure! for
powerpc-apple-darwin9 with --enable-checking=release
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Host: powerpc-apple-darwin9
Target: powerpc-apple-darwin9
Build: powerpc-apple-darwin9
Since revision 164552:
Author: bernds
Date: Thu Sep 23 10:04:33 2010 UTC (5 days, 1 hour ago)
Changed paths: 14
Log Message:
PR rtl-optimization/44374
* basic-block.h (enum bb_flags): Add BB_MODIFIED.
* df-core.c (df_set_bb_dirty): Set it.
* ifcvt.c (find_memory): Remove function.
(dead_or_predicable): Use can_move_insns_across.
* df.h (can_move_insns_across): Declare function.
* cfgcleanup.c (block_was_dirty): New static variable.
(try_crossjump_bb, try_forward_edges): Test BB_MODIFIED flag rather
than df_get_bb_dirty.
(try_head_merge_bb): New static function.
(try_optimize_cfg): Call it. Call df_analyze if block_was_dirty
is set.
* df-problems.c: Include "target.h"
(df_simulate_find_uses): New static function.
(MEMREF_NORMAL, MEMREF_VOLATILE): New macros.
(find_memory, find_memory_store): New static functions.
(can_move_insns_across): New function.
* Makefile.in (df-problems.o): Update dependencies.
testsuite/
PR rtl-optimization/44374
* gcc.target/arm/headmerge-1.c: New test.
* gcc.target/arm/headmerge-2.c: New test.
* gcc.target/i386/headmerge-1.c: New test.
* gcc.target/i386/headmerge-2.c: New test.
bootstrapping powerpc-apple-darwin9 fails with
...
rm -f stage_current
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
gcc/cfghooks.o differs
make[2]: *** [compare] Error 1
make[1]: *** [stage3-bubble] Error 2
make: *** [all] Error 2
Reverting this commit allows bootstrap to complete
Using built-in specs.
COLLECT_GCC=/opt/gcc/gcc4.6w-rel/bin/gfortran
COLLECT_LTO_WRAPPER=/opt/gcc/gcc4.6w-rel/libexec/gcc/powerpc-apple-darwin9/4.6.0/lto-wrapper
Target: powerpc-apple-darwin9
Configured with: ../gcc-4.6-work/configure --prefix=/opt/gcc/gcc4.6w-rel
--target=powerpc-apple-darwin9 --host=powerpc-apple-darwin9
--build=powerpc-apple-darwin9 --enable-languages=c,fortran,lto --with-gmp=/sw
--with-libiconv-prefix=/usr --with-system-zlib --with-cloog=/sw
--enable-checking=release
Thread model: posix
gcc version 4.6.0 20100927 (experimental) [trunk revision 164648r2] (GCC)
This does not occurs for x86_64-apple-darwin10.4 nor without
--enable-checking=release
Using built-in specs.
COLLECT_GCC=gfc
COLLECT_LTO_WRAPPER=/opt/gcc/gcc4.6w/libexec/gcc/powerpc-apple-darwin9/4.6.0/lto-wrapper
Target: powerpc-apple-darwin9
Configured with: ../gcc-4.6-work/configure --prefix=/opt/gcc/gcc4.6w
--target=powerpc-apple-darwin9 --host=powerpc-apple-darwin9
--build=powerpc-apple-darwin9
--enable-languages=c,c++,fortran,objc,obj-c++,java,lto --with-gmp=/sw
--with-libiconv-prefix=/usr --with-system-zlib --with-cloog=/sw
Thread model: posix
gcc version 4.6.0 20100927 (experimental) [trunk revision 164648r1] (GCC)