From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32568 invoked by alias); 21 Oct 2003 22:25:56 -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 32558 invoked from network); 21 Oct 2003 22:25:55 -0000 Received: from unknown (HELO atrey.karlin.mff.cuni.cz) (195.113.31.123) by sources.redhat.com with SMTP; 21 Oct 2003 22:25:55 -0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id ED6934C0272; Wed, 22 Oct 2003 00:25:52 +0200 (CEST) Date: Tue, 21 Oct 2003 23:32:00 -0000 From: Jan Hubicka To: Gabriele Caracausi Cc: Gcc ML Subject: Re: very basic porting Message-ID: <20031021222552.GJ6042@atrey.karlin.mff.cuni.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-SW-Source: 2003-10/txt/msg01011.txt.bz2 > Hello All, > > i'm working to Microchip PIC18 porting for university purposes... > I've written the four files (.h, .md, .c and protos), studied for 9 months > and created cc1 for pic18. > > But when I try to assign a value to a variable the cc1 sends me an error in > prepare_cmp_insn - optabs.c (line 3505). Can you, for start, show some context of line 3505 in your optabs.c? In current mainline, prepare_cmp_insn has 3 different aborts in it none at line 3505. The line numbers depend on version of compiler you do use... Honza > I've setted cmpqi e cmphi RTL patterns... but in your opinion, the problem > is in .md or in .h file? Or what can be the problem? > > Someone has a very basic porting of other 8bit microcontrollers (like ip2k > or avr) to take as example to write the minimal set of code in .md and .h > files? > > > Thanks a lot. > Write me for all types of questions! > Gabriele Caracausi > Italy >