From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12512 invoked by alias); 26 Jul 2002 12:14:16 -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 12495 invoked from network); 26 Jul 2002 12:14:14 -0000 Received: from unknown (HELO faui02.informatik.uni-erlangen.de) (131.188.30.102) by sources.redhat.com with SMTP; 26 Jul 2002 12:14:14 -0000 Received: from rz.de (root@faui02b.informatik.uni-erlangen.de [131.188.30.151]) by faui02.informatik.uni-erlangen.de (8.9.1/8.1.16-FAU) with ESMTP id OAA14859; Fri, 26 Jul 2002 14:14:10 +0200 (MEST) Received: (from rz@localhost) by rz.de (8.8.8/8.8.8) id NAA01121; Fri, 26 Jul 2002 13:53:51 +0200 Date: Fri, 26 Jul 2002 15:52:00 -0000 From: Richard Zidlicky To: Richard Henderson Cc: Peter.Barada@motorola.com, gcc@gcc.gnu.org Subject: Re: ICE building glibc-2.2.5 using m68k-linux gcc-3.1 Message-ID: <20020726135349.A1114@linux-m68k.org> References: <200207222009.g6MK9xI27711@hyper.wm.sps.mot.com> <20020725172702.B1938@linux-m68k.org> <200207251933.g6PJXKp06132@hyper.wm.sps.mot.com> <20020725180431.A27259@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020725180431.A27259@redhat.com>; from rth@redhat.com on Thu, Jul 25, 2002 at 06:04:31PM -0700 X-SW-Source: 2002-07/txt/msg01276.txt.bz2 On Thu, Jul 25, 2002 at 06:04:31PM -0700, Richard Henderson wrote: > On Thu, Jul 25, 2002 at 03:33:20PM -0400, Peter Barada wrote: > > (gdb) call debug_rtx(set) > > > > (set (strict_low_part (reg:HI 6 %d6)) > > (reg:HI 30)) > > This is wrong. The argument to STRICT_LOW_PART must always be > a SUBREG of a REG. so the responsible pattern seems to be (define_expand "zero_extendhisi2" [(set (match_operand:SI 0 "register_operand" "") (const_int 0)) (set (strict_low_part (match_dup 2)) (match_operand:HI 1 "general_operand" ""))] "" " { operands[1] = make_safe_from (operands[1], operands[0]); operands[2] = gen_lowpart (HImode, operands[0]); }") Funny enough, the m68k version of zero_extendhisi2 insn pattern is part of the gcc internals docs for 3.x and it is written differently there, with an (subreg:HI ...) so I am trying this variant now - anyone remembers when or why it was changed? Richard