Hi, After this commit, GCC build fails for ARM targets: --target=arm-none-eabi --with-mode=arm --with-cpu=cortex-a9 --with-fpu=neon
/obj-arm-none-eabi/gcc1/./gcc/xgcc -B/obj-arm-none-eabi/gcc1/./gcc/ -B/tools/arm-none-eabi/bin/ -B/tools/arm-none-eabi/lib/ -isystem /tools/arm-none-eabi/include -isystem /tools/arm-none-eabi/sys-include -g -O2 -mfloat-abi=hard -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fno-inline -I. -I. -I../../.././gcc -I/trunk/libgcc -I/trunk/libgcc/. -I/trunk/libgcc/../gcc -I/trunk/libgcc/../include -DHAVE_CC_TLS -o _mulhelperDQ.o -MT _mulhelperDQ.o -MD -MP -MF _mulhelperDQ.dep -DL_mulhelper -DDQ_MODE -c /trunk/libgcc/fixed-bit.c -fvisibility=hidden -DHIDE_EXPORTS /trunk/libgcc/fixed-bit.c: In function '__gnu_mulhelperdq': /trunk/libgcc/fixed-bit.c:371:1: error: unable to generate reloads for: } ^ (insn 55 63 59 2 (set (reg:DI 124 [ D.7630 ]) (mult:DI (zero_extend:DI (subreg:SI (reg:DI 112 [ D.7628 ]) 4)) (zero_extend:DI (subreg:SI (reg:DI 111 [ D.7628 ]) 4)))) /trunk/libgcc/fixed-bit.c:307 54 {*umulsidi3_v6} (nil)) /trunk/libgcc/fixed-bit.c:371:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3383 0x9d4875 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /trunk/gcc/rtl-error.c:110 0x904ec4 curr_insn_transform /trunk/gcc/lra-constraints.c:3383 0x9057ce lra_constraints(bool) /trunk/gcc/lra-constraints.c:4324 0x8f5eb1 lra(_IO_FILE*) /trunk/gcc/lra.c:2277 0x8b4959 do_reload /trunk/gcc/ira.c:5391 0x8b4959 execute /trunk/gcc/ira.c:5561 Please submit a full bug report, Can you have a look? Thanks, Christophe. On 12 December 2014 at 21:12, Vladimir Makarov <vmaka...@redhat.com> wrote: > The following patch fixes > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64110 > > The patch was successfully tested and bootstrapped on x86/x86-64. > > Committed as rev. 218688. > > 2014-12-12 Vladimir Makarov <vmaka...@redhat.com> > > PR target/64110 > * lra-constraints.c (process_alt_operands): Refuse alternative > when reload pseudo of given class can not hold value of given > mode. > > 2014-12-12 Vladimir Makarov <vmaka...@redhat.com> > > PR target/64110 > * gcc.target/i386/pr64110.c: New. >