[Bug tree-optimization/20204] [4.0 regression] miscompilation of asm-declared registers

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 25 21:20:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list