regression of x86 gcc bootstrap with Linaro sourcebase
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
High
|
Michael Hope |
Bug Description
Before I build the cross compiler for ARM target I do a bootstrap
process of an i686 compiler on the same code base to use that one
building the cross compiler to reduce the chance of seeing subtle
problems late in the game. This process unveiled a x86 bootstrap
regression with some of your changes on the Linaro 4.7 branch.
It all boils down to the following set of changes:
commit c904094f2421bbd
Author: Ulrich Weigand <email address hidden>
Date: Mon Jul 16 16:31:58 2012 +0200
Update to exactly reflect upstream version.
commit bf378903a1b749b
Author: Ulrich Weigand <email address hidden>
Date: Tue Jul 10 15:46:51 2012 +0200
Fix backport.
commit e0c3b0a21916ffa
Author: Ulrich Weigand <email address hidden>
Date: Mon Jul 9 22:52:10 2012 +0200
Fix LP 1020601.
This is the introduction of optimize_
When configuring with
../gcc/configure --host=
--build=
--prefix=/ --libexecdir=//lib
--program-
--with-
--with-
--with-
--with-
--with-
--with-
--with-
'--with-
-lm' --disable-multilib --disable-checking --enable-
--enable-libmudflap --enable-libgomp --enable-libssp
--enable-
--disable-
--disable-shared
It fails in the bootstrap at
/user/rschiele/
-B/user/
-B//i686-
-B/user/
-B/user/
-I/user/
-I/user/
-I/user/
-L/user/
-L/user/
-c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-
-pedantic -Wno-long-long -Wno-variadic-
-DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../..
-I/user/
-I/user/
-I/user/
-I../.
-I../libdecnumber
-I/user/
-I/user/
../../
../../gcc/
../../gcc/
struct rtx_def *
bool
if (insn_1716 == 0)
../../gcc/
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
Note, that the --disable-checking is essential to reproduce. As soon
as you do --enable-checking the bootstrap completes successfully. I
would assume that you then still have the bug in the compiler but it
is just subtle enough not to be triggered then.
Reverting the mentioned changes fixes this problem.
As suggested by Ulrich Weigand this is fixed upstream by:
commit a03a52b437d9e1b
Author: rguenth <rguenth@
Date: Mon Sep 24 14:14:18 2012 +0000
2012-09-24 Richard Guenther <email address hidden>
PR tree-optimizati
* tree-ssa-ccp.c (optimize_
* g++.dg/
git-svn-id: svn+ssh:
I verified that this fix fixes the bootstrapping problem seen.
Related branches
Changed in gcc-linaro: | |
status: | New → In Progress |
assignee: | nobody → Ulrich Weigand (uweigand) |
importance: | Undecided → High |
Changed in gcc-linaro: | |
assignee: | Ulrich Weigand (uweigand) → Michael Hope (michaelh1) |
Changed in gcc-linaro: | |
milestone: | none → 4.7-2013.01 |
Changed in gcc-linaro: | |
status: | In Progress → Fix Committed |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |