Re: RFA: MN10300: Fix building libstdc++-v3

2014-02-04 Thread Jeff Law
On 02/04/14 10:45, nick clifton wrote: Hi Jeff, But how/why did an extended register get selected to begin with? It happens in reload.c:find_valid_class(). HARD_REGNO_MODE_OK and other macros/hooks ought to be preventing this relatively early. Ah - and that is the problem. mn10300_hard_r

Re: RFA: MN10300: Fix building libstdc++-v3

2014-02-04 Thread nick clifton
Hi Jeff, But how/why did an extended register get selected to begin with? It happens in reload.c:find_valid_class(). HARD_REGNO_MODE_OK and other macros/hooks ought to be preventing this relatively early. Ah - and that is the problem. mn10300_hard_regno_mode_ok is allowing extended regis

Re: RFA: MN10300: Fix building libstdc++-v3

2014-02-03 Thread Jeff Law
On 02/03/14 10:11, Nick Clifton wrote: Hi Jeff, Hi Alex, Currently the mainline MN10300 toolchain does not build the libstdc++-v3 library because: /libstdc++-v3/include/bits/locale_facets_nonio.tcc:1213:5: error: unable to find a register to spill in class 'EXTENDED_REGS'