own target: combine emits invalid RTL

2007-11-15 Thread Michael_fogel
Hi There is again a problem i con not solve by my own. I tried to compile LwIP and discovered following error. tcp_in.c:1133: internal compiler error: in gen_reg_rtx, at emit-rtl.c:771 Please submit a full bug report, A full output of all passes showed, that combine seems to make invalid combina

Re: own target: combine emits invalid RTL

2007-11-18 Thread Michael_fogel
Jim Wilson wrote: > Dave Korn wrote: >> First places to look would be GO_IF_LEGITIMATE_ADDRESS and >> REG_OK_FOR_BASE_P, wouldn't they? Particularly in conjunction with >> REG_OK_STRICT. > > This could be a REG_OK_STRICT issue, but it isn't the usual case of > accepting an unallocated pseudo in

dynamic attribute

2008-01-13 Thread Michael_fogel
Hello I want a new attribute in my port. This has to be dynamic like the aligned attribute. So I registered a new handler in the attribute table and was able to get the value inside the handler. But how can I use this value in prologue or epilogue. All tries to append this value to the functi

Need help for a net target

2007-10-02 Thread Michael_fogel
Hello For my diploma thesis I have to implement a new back-end for GCC. The microcontroller is based on an FPGA and was developed one year ago. Only an Assembler is available and now my university lecturer wants an C compiler too. I decided to use GCC in version 4.2.1 as basis for the new comp

again problems implementing own target

2007-10-07 Thread Michael_fogel
Hi The optimization of my target seems not to work properly. The compiling process works using -O0 but fails with optimization. Small source files with only a few functions are working, but bigger files don't. The compiler stops with an error: internal compiler error: in reload_combine_note

Re: again problems implementing own target

2007-10-08 Thread Michael_fogel
Jim Wilson wrote: Michael_fogel wrote: The failing instruction is a call. The compiler loads every symbol reference into a register and calls the function using this. In front of the error this load is missing. In smaller files the compiler uses the reference, which is the way i want him to