Re: again problems implementing own target

2007-10-08 Thread Jim Wilson
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 do it. We need

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

Re: again problems implementing own target

2007-10-08 Thread Jim Wilson
Michael_fogel wrote: In my opinion the compiler ran out of registers and was not able to allocate the pseudo register. In this case the compiler has to spill these registers. How is this done in GCC? Is there a way to control it? There are a lot of things that affect this. The main things

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