This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: very basic porting


> 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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]