again problems implementing own target

Michael_fogel mikfogel@uni-koblenz.de
Sun Oct 7 21:40:00 GMT 2007


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_use, at postreload.c:1096

There is a pseudo register without an hard register allocation. I tried 
to find out which line in my code produces this error. A debug_rtx(x) at 
the beginning of reload_combine_note_use did the trick.
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.

What did i wrong?
Which macros do i have to edit?


Thanks for your help.

best regards

Michael Fogel



More information about the Gcc mailing list