[Bug bootstrap/50927] lm32 ICE seg fauit compiling libgcc2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50927 --- Comment #4 from jbeniston at gcc dot gnu.org jbeniston at gcc dot gnu.org --- Author: jbeniston Date: Sun Mar 2 19:58:24 2014 New Revision: 208260 URL: http://gcc.gnu.org/viewcvs?rev=208260root=gccview=rev Log: PR bootstrap/48230 PR bootstrap/50927 PR bootstrap/52466 PR target/46898 * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect. (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed. * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support. (simple_return, *simple_return): New patterns * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete. * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32. Modified: trunk/gcc/ChangeLog trunk/gcc/config/lm32/lm32.c trunk/gcc/config/lm32/lm32.md trunk/gcc/config/lm32/predicates.md trunk/gcc/configure.ac
[Bug bootstrap/50927] lm32 ICE seg fauit compiling libgcc2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50927 Sebastien Bourdeauducq lekernel at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Sebastien Bourdeauducq lekernel at gcc dot gnu.org --- Fixed, see comment #4
[Bug bootstrap/50927] lm32 ICE seg fauit compiling libgcc2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50927 --- Comment #2 from Jon Beniston jon at beniston dot com 2012-11-27 21:55:18 UTC --- Created attachment 28797 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28797 Patch to get the C compiler to build
[Bug bootstrap/50927] lm32 ICE seg fauit compiling libgcc2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50927 Jon Beniston jon at beniston dot com changed: What|Removed |Added CC||jon at beniston dot com --- Comment #3 from Jon Beniston jon at beniston dot com 2012-11-27 21:58:30 UTC --- It seems the compiler is getting stuck into an infinite loop due to not being able to load a 32-bit constant, because of lm32_legitimate_constant_p saying it isn't valid, as there is no pattern for it in movsi_insn. So I've added a pattern, although it probably isn't optimal, as it doesn't split the two instructions. Not quite sure how to code that. The return patterns were then modified to fix the next problem that cropped up. With these patches, the C compiler now builds OK, although there is a problem building the C++ libraries.
[Bug bootstrap/50927] lm32 ICE seg fauit compiling libgcc2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50927 --- Comment #1 from Joel Sherrill joel at gcc dot gnu.org 2011-10-30 21:02:27 UTC --- Created attachment 25669 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25669 Preprocessed source code