From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8972 invoked by alias); 14 Jul 2009 20:31:24 -0000 Received: (qmail 8964 invoked by uid 22791); 14 Jul 2009 20:31:24 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,MEDICAL_SUBJECT,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-vw0-f198.google.com (HELO mail-vw0-f198.google.com) (209.85.212.198) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jul 2009 20:31:17 +0000 Received: by vwj36 with SMTP id 36so2705487vwj.0 for ; Tue, 14 Jul 2009 13:31:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.97.210 with SMTP id m18mr9858219vcn.22.1247603475446; Tue, 14 Jul 2009 13:31:15 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Jul 2009 20:31:00 -0000 Message-ID: Subject: Re: Adding constraints.md to my port From: Jean Christophe Beyler To: Ian Lance Taylor Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00258.txt.bz2 Ok, so actually, my cpu.h file had some of those included. I've removed them and am now filling in the constraints.md file with what is needed. I also so that they were obsolete in the GCC internals, I'll be moving everything to the constraints then. Thank you for your help, Jc On Tue, Jul 14, 2009 at 3:53 PM, Ian Lance Taylor wrote: > Jean Christophe Beyler writes: > >> In file included from ./tm_p.h:5, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from /home/toto/gcc-4.3.2/gcc/c-pragm= a.c:35: >> ./tm-preds.h:40:1: warning: "CONSTRAINT_LEN" redefined >> In file included from ./tm.h:6, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from /home/toto/gcc-4.3.2/gcc/c-pragm= a.c:24: >> /home/toto/gcc-4.3.2/gcc/defaults.h:797:1: warning: this is the >> location of the previous definition > > See defaults.h: > > #if =A0!defined CONSTRAINT_LEN =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\ > =A0&& !defined REG_CLASS_FROM_LETTER =A0 =A0 =A0 =A0 =A0 =A0 \ > =A0&& !defined REG_CLASS_FROM_CONSTRAINT =A0 =A0 =A0 =A0 \ > =A0&& !defined CONST_OK_FOR_LETTER_P =A0 =A0 =A0 =A0 =A0 =A0 \ > =A0&& !defined CONST_OK_FOR_CONSTRAINT_P =A0 =A0 =A0 =A0 \ > =A0&& !defined CONST_DOUBLE_OK_FOR_LETTER_P =A0 =A0 =A0\ > =A0&& !defined CONST_DOUBLE_OK_FOR_CONSTRAINT_P =A0\ > =A0&& !defined EXTRA_CONSTRAINT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\ > =A0&& !defined EXTRA_CONSTRAINT_STR =A0 =A0 =A0 =A0 =A0 =A0 =A0\ > =A0&& !defined EXTRA_MEMORY_CONSTRAINT =A0 =A0 =A0 =A0 =A0 \ > =A0&& !defined EXTRA_ADDRESS_CONSTRAINT > > #define USE_MD_CONSTRAINTS > > > Make sure that your CPU.h file does not define any of those macros. > > Ian >