Re: [PATCH] [LM32] Fix lm32-elf-gcc build error by remove unnecessary constant legitimate check.

2012-07-12 Thread Jia Liu
Hi Hans, On Thu, Jul 12, 2012 at 10:04 AM, Hans-Peter Nilsson h...@bitrange.com wrote: On Tue, 10 Jul 2012, Jia Liu wrote: Hi all, When I build lm32-elf-gcc, it failed at libgcc configure due to lm32-elf-cc1 segment fault when compile conftest.c: void bar (); void clean (int *); void foo

Re: [PATCH] [LM32] Fix lm32-elf-gcc build error by remove unnecessary constant legitimate check.

2012-07-12 Thread Hans-Peter Nilsson
On Thu, 12 Jul 2012, Jia Liu wrote: May you give me more comment? I wanna fix it. Sorry, I'll leave that to the lm32 maintainer, I just wasnted to clear a misunderstanding regarding TARGET_LEGITIMATE_CONSTANT_P. brgds, H-P

Re: [PATCH] [LM32] Fix lm32-elf-gcc build error by remove unnecessary constant legitimate check.

2012-07-11 Thread Hans-Peter Nilsson
On Tue, 10 Jul 2012, Jia Liu wrote: Hi all, When I build lm32-elf-gcc, it failed at libgcc configure due to lm32-elf-cc1 segment fault when compile conftest.c: void bar (); void clean (int *); void foo () { int i __attribute__ ((cleanup (clean))); bar(); } Then I find

[PATCH] [LM32] Fix lm32-elf-gcc build error by remove unnecessary constant legitimate check.

2012-07-10 Thread Jia Liu
Hi all, When I build lm32-elf-gcc, it failed at libgcc configure due to lm32-elf-cc1 segment fault when compile conftest.c: void bar (); void clean (int *); void foo () { int i __attribute__ ((cleanup (clean))); bar(); } Then I find lm32_legitimate_constant_p return false too much times, it