This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20204] [4.0 regression] miscompilation of asm-declared registers
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2005 15:35:19 -0000
- Subject: [Bug tree-optimization/20204] [4.0 regression] miscompilation of asm-declared registers
- References: <20050225005902.20204.hp@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hp at gcc dot gnu dot org 2005-02-25 15:35 -------
In response to comment #6:
Building a CRIS toolchain with simulator (but see further below):
The general steps are exactly as any other simulator target,
follow <URL:http://gcc.gnu.org/simtest-howto.html>, though you need
the cris-sim.exp as per
<URL:http://gcc.gnu.org/ml/gcc-bugs/2005-02/msg00138.html>
(now in dejagnu CVS; not on sourceware). Because the baseboard file
is not in the installed dir, special steps are necessary:
"mkdir ~/dejagnuboards"
Put cris-sim.exp in ~/dejagnurc
"echo 'set boards_dir ~/dejagnuboards' > ~/.dejagnurc"
Then proceed as per simtest-howto.html
But you actually just need to build cc1 and observe the assembly I posted.
And again, I think I need to point out that a bug in handling of
*asm-declared registers* is unlikely to show "widespread carnage".
But I certainly see how it can be overlooked and broken in tree-ssa
cleanup operations!
I have not tried reverting the patch but will do later, hoping it can
convince you that the "reorganization" caused this regression (whether
directly or indirectly exposing bugs elsewhere).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20204