This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: very basic porting
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Gabriele Caracausi <gabriele at caracausi dot it>
- Cc: Gcc ML <gcc at gcc dot gnu dot org>
- Date: Wed, 22 Oct 2003 00:25:52 +0200
- Subject: Re: very basic porting
- References: <IBECLFGBMEDNHACJGPNMEEHBCBAA.gabriele@caracausi.it>
> 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
>