From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31935 invoked by alias); 9 Apr 2003 09:45:42 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 31927 invoked from network); 9 Apr 2003 09:45:41 -0000 Received: from unknown (HELO mail.libertysurf.net) (213.36.80.91) by sources.redhat.com with SMTP; 9 Apr 2003 09:45:41 -0000 Received: from localhost.localdomain (212.83.141.178) by mail.libertysurf.net (6.5.026) id 3E8A4CE600142BA9; Wed, 9 Apr 2003 11:45:40 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Eric Botcazou To: Jan Hubicka Subject: Re: Reload bug Date: Wed, 09 Apr 2003 12:04:00 -0000 User-Agent: KMail/1.4.3 Cc: gcc@gcc.gnu.org References: <200304081937.16859.ebotcazou@libertysurf.fr> <200304090909.30614.ebotcazou@libertysurf.fr> <20030409091345.GG9102@kam.mff.cuni.cz> In-Reply-To: <20030409091345.GG9102@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200304091144.41119.ebotcazou@libertysurf.fr> X-SW-Source: 2003-04/txt/msg00357.txt.bz2 > > What you have done is to teach the reload pass to silently transform any > > non-accessible part of a multi-word register into the low part. > > In the case the subreg is undable (ie it is in the SSE), or can this > happen in the integer register too? Only when the logic should have triggered, i.e with MMX and SSE regs but not with general regs since it doesn't trigger for them. > Or we can backport the CANNOT_CHANGE_MODE_PATCH. Big patch. > I would be happy about any alternative for 3.2 Well, there aren't too many possibilities: - either we prevent such invalid subregs from being created in the first place (but it appears that doing so brings about collateral damages in the form of (subreg:SI xmm:DI 0) being now rejected?), - or we restore the machinery that was able to handle them. -- Eric Botcazou