[Bug target/50928] m32c ICE building RTEMS

2015-01-15 Thread camden.lindsay at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50928

camden lindsay  changed:

   What|Removed |Added

 CC||camden.lindsay at gmail dot com

--- Comment #6 from camden lindsay  ---
Hello-

I ran into the same error message as below while compiling for m32c
('error: unable to find a register to spill in class 'A_REGS'')

I applied the patches provided in Comment 5

Now the build succeeds.  Cannot test code coming out of the build, though.

newlib-2.2.0
binutils-2.25
gcc-4.9.2


[Bug target/63755] m32c invalid asm generated in libgcc autoconf probe

2015-01-15 Thread camden.lindsay at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63755

camden lindsay  changed:

   What|Removed |Added

 CC||camden.lindsay at gmail dot com

--- Comment #1 from camden lindsay  ---
I see the same failure.
I tried to capture the intermediate files, but perhaps did not do it right as I
do not see any .i* files in the local dir

binutils-2.25
gcc-4.9.2
newlib-2.2.0


configure:: /home/dylan/development/cross_compile/m32c-gcc/./gcc/xgcc
-B/home/dylan/development/cross_compile/m32c-gcc/./gcc/
-B/opt/m32c-elf/m32c-elf/
bin/ -B/opt/m32c-elf/m32c-elf/lib/ -isystem /opt/m32c-elf/m32c-elf/include
-isystem /opt/m32c-elf/m32c-elf/sys-include  -mcpu=m32cm -c --save-temps -fe
xceptions  conftest.c >&5
conftest.c: In function 'foo':
conftest.c:19:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 52 38 23 (set (reg:SI 2 r1 [29])
(reg:SI 4 a0)) 99 {movsi_24}
 (nil))
conftest.c:19:1: internal compiler error: in final_scan_insn, at final.c:2891
0x7df78a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc-4.9.2/gcc/rtl-error.c:109
0x7df7af _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc-4.9.2/gcc/rtl-error.c:120
0x668957 final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*)
../../gcc-4.9.2/gcc/final.c:2891
0x668b91 final(rtx_def*, _IO_FILE*, int)
../../gcc-4.9.2/gcc/final.c:2023
0x668d75 rest_of_handle_final
../../gcc-4.9.2/gcc/final.c:4427
0x668d75 execute
../../gcc-4.9.2/gcc/final.c:4502
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


[Bug target/63755] m32c invalid asm generated in libgcc autoconf probe

2015-01-15 Thread camden.lindsay at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63755

--- Comment #2 from camden lindsay  ---
Failure does not appear to occur with gcc-4.8.4