From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7747 invoked by alias); 28 Nov 2003 22:32:12 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7740 invoked from network); 28 Nov 2003 22:32:11 -0000 Received: from unknown (HELO frothingslosh.sfbay.redhat.com) (66.187.237.200) by sources.redhat.com with SMTP; 28 Nov 2003 22:32:11 -0000 Received: from frothingslosh.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by frothingslosh.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id hASMWBOG006133; Fri, 28 Nov 2003 14:32:11 -0800 Received: (from rth@localhost) by frothingslosh.sfbay.redhat.com (8.12.8/8.12.8/Submit) id hASMWBEK006131; Fri, 28 Nov 2003 14:32:11 -0800 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Fri, 28 Nov 2003 22:43:00 -0000 From: Richard Henderson To: Richard Sandiford Cc: gcc-patches@gcc.gnu.org Subject: Re: Fix x86 segfault on thread-local asm operands Message-ID: <20031128223211.GD5843@redhat.com> Mail-Followup-To: Richard Henderson , Richard Sandiford , gcc-patches@gcc.gnu.org References: <874qwok2ak.fsf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874qwok2ak.fsf@redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-11/txt/msg02276.txt.bz2 On Fri, Nov 28, 2003 at 02:14:59PM +0000, Richard Sandiford wrote: > * stmt.c (expand_asm_operands): Check whether force_const_mem > succeeded. > * gcc.dg/tls/asm-1.C: New test. I guess this is ok. We'll just have to remember to remove the test case when it gets merged to tree-ssa, as there it's a hard error not a warning. Or perhaps you could use dg-error and add -Werror to the options? r~