On 09/27/2012 07:05 PM, Joseph S. Myers wrote:
On Thu, 27 Sep 2012, Vladimir Makarov wrote:
* target.h: Include tm.h.
That's a backward step; we'd like parts of the compiler that aren't using
target macros directly not to end up including tm.h. Why do you need
this?
Thanks, Joseph.
Hook spill_class returns a value of enum reg_class which is defined in
target-depend include file.
If it is really bad, I'll try to find a solution but it will be probably
not a pleasant one like the hook returning int which is converted to and
from enum reg_class.