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]

again problems implementing own target


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


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