Hi Jeff, Hi Alex,
Currently the mn10300-elf toolchain is failing to build newlib
because of this failure:
newlib/libc/stdlib/dtoa.c: In function '_dtoa_r':
newlib/libc/stdlib/dtoa.c:862:1: internal compiler error:
in mn10300_address_cost_1, at config/mn10300/mn10300.c:2034
Please submit a full bug report,
The problem is that the address cost function is not handling
CONST_DOUBLES. I was not sure what the cost should be for these
values, but the patch below gives them the same cost as a CONST.
With the patch applied the newlib library now builds.
OK to apply ?
Cheers
Nick
PS. There are quite a few more MN10300 patches on the way...
gcc/ChangeLog
2009-09-30 Nick Clifton<nickc@redhat.com>
* config/mn10300/mn10300.c (mn10300_address_cost_1): Treat
CONST_DOUBLEs like CONSTs.