From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29245 invoked by alias); 14 Dec 2001 01:11:33 -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 29111 invoked from network); 14 Dec 2001 01:10:14 -0000 Received: from unknown (HELO ftpbox.mot.com) (129.188.136.101) by sources.redhat.com with SMTP; 14 Dec 2001 01:10:14 -0000 Received: [from pobox3.mot.com (pobox3.mot.com [10.64.251.242]) by ftpbox.mot.com (ftpbox 2.1) with ESMTP id SAA07089 for ; Thu, 13 Dec 2001 18:10:12 -0700 (MST)] Received: [from mail.wm.sps.mot.com ([199.10.246.2]) by pobox3.mot.com (MOT-pobox3 2.0) with ESMTP id SAA19693 for ; Thu, 13 Dec 2001 18:00:00 -0700 (MST)] Received: from hyper.wm.sps.mot.com (hyper.wm.sps.mot.com [199.10.246.43]) by mail.wm.sps.mot.com (8.9.3/8.9.3) with ESMTP id UAA14127 for ; Thu, 13 Dec 2001 20:10:02 -0500 Received: by hyper.wm.sps.mot.com (8.11.2) id fBE1A5s19969; Thu, 13 Dec 2001 20:10:05 -0500 Date: Thu, 13 Dec 2001 17:12:00 -0000 Message-Id: <200112140110.fBE1A5s19969@hyper.wm.sps.mot.com> From: Peter Barada To: gcc@gcc.gnu.org Subject: Re: GCC 3.0.3 Prelease problem on --target=m68k-elf X-SW-Source: 2001-12/txt/msg00744.txt.bz2 gcc-3.0.3-20011213 builds with the following config.status: #!/bin/sh # This file was generated automatically by configure. Do not edit. # This directory was configured as follows: /home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3.0.3-20011213/configure --with-gcc-version-trigger=/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-3.0.3-20011213/gcc/version.c --host=i686-pc-linux-gnu --target=m68k-elf --prefix=/tmp/crap5 --enable-languages=c --with-local-prefix=/tmp/crap5/m68k-elf --without-headers --with-newlib --disable-shared --norecursion # Unfortunately it doesn't produce correct code for -m5200 due to the "r" constraint in the following pattern in gcc/config/m68k/m68k.md: ;; Jump to variable address from dispatch table of relative addresses. (define_insn "" [(set (pc) (plus:SI (pc) (sign_extend:SI (match_operand:HI 0 "register_operand" "r")))) (use (label_ref (match_operand 1 "" "")))] "" On Coldfire the ext.l instruction can only extend data registers, not address registers, so either the constraint needs to be changed to "d", or another pettern needs to be created for TARGET_5200 with a "d" constraint, and this needs a condition of !TARGET_5200. -- Peter Barada Peter.Barada@motorola.com Wizard 781-852-2768 (direct) WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)