This is the mail archive of the
mailing list for the GCC project.
again problems implementing own target
- From: Michael_fogel <mikfogel at uni-koblenz dot de>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 07 Oct 2007 23:40:27 +0200
- Subject: again problems implementing own target
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.