From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3413 invoked by alias); 25 Feb 2005 15:35:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 3292 invoked by uid 48); 25 Feb 2005 15:35:19 -0000 Date: Fri, 25 Feb 2005 21:20:00 -0000 Message-ID: <20050225153519.3291.qmail@sourceware.org> From: "hp at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050225005902.20204.hp@gcc.gnu.org> References: <20050225005902.20204.hp@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/20204] [4.0 regression] miscompilation of asm-declared registers X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg03153.txt.bz2 List-Id: ------- 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 , though you need the cris-sim.exp as per (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