https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012

--- Comment #1 from Paul Hua <paul.hua.gm at gmail dot com> ---
The cross compile also crashed ...

/home/xuchenghua/GCC/mips/gcc-trunk-231896-o32_obj/./gcc/xgcc
-B/home/xuchenghua/GCC/mips/gcc-trunk-231896-o32_obj/./gcc/
-B/home/xuchenghua/toolchain/cross-tool
s/gcc-o32/usr/mipsel-redhat-linux/bin/
-B/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/mipsel-redhat-linux/lib/
-isystem /home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/mipsel-redhat-linux
/include -isystem
/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/mipsel-redhat-linux/sys-include
-DHAVE_CONFIG_H -I. -I../../../../gcc_git_trunk/libgfortran
-iquote../../../../gcc_git_trunk/li
bgfortran/io -I../../../../gcc_git_trunk/libgfortran/../gcc
-I../../../../gcc_git_trunk/libgfortran/../gcc/config -I../.././gcc
-I../../../../gcc_git_trunk/libgfortran/../libgcc -I../libgcc -I../.
./../../gcc_git_trunk/libgfortran/../libbacktrace -I../libbacktrace
-I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings -Werr
or=implicit-function-declaration -Werror=vla -fcx-fortran-rules
-ffunction-sections -fdata-sections -std=gnu11 -g -O2 -minterlink-mips16
-Wunknown-pragmas -MT maxval_r4.lo -MD -MP -MF .deps/maxval
_r4.Tpo -c ../../../../gcc_git_trunk/libgfortran/generated/maxval_r4.c -o
maxval_r4.o
../../../../gcc_git_trunk/libgfortran/generated/maxval_r4.c: In function
'maxval_r4':
../../../../gcc_git_trunk/libgfortran/generated/maxval_r4.c:200:1: error:
unrecognizable insn:
 }
 ^

(insn 688 687 690 2 (parallel [
            (set (mem/c:SI (plus:SI (reg/f:SI 29 $sp)
                        (const_int 16 [0x10])) [11  S4 A32])
                (unspec:SI [
                        (const_int 16 [0x10])
                        (reg:SI 28 $28)
                    ] UNSPEC_POTENTIAL_CPRESTORE))
            (clobber (scratch:SI))
        ]) ../../../../gcc_git_trunk/libgfortran/generated/maxval_r4.c:42 -1
     (expr_list:REG_DEAD (reg:SI 28 $28)
        (nil)))
../../../../gcc_git_trunk/libgfortran/generated/maxval_r4.c:200:1: internal
compiler error: in get_attr_got, at config/mips/mips.md:694

Host:x86_64-redhat-linux
Target:mipsel-redhat-linux

The cross compile configured with:
  $ ../../gcc_git_trunk/configure
--prefix=/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr
--with-sysroot=/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/mipsel-redhat-linux/sysroot
--target=mipsel-redhat-linux --with-arch=mips64r2 --with-abi=32
--with-gmp=/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/
--with-mpfr=/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/
--with-mpc=/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/
--enable-threads=posix --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --disable-dssi --disable-multilib
--enable-languages=c,c++,objc,obj-c++,fortran,go,lto --enable-shared
--with-build-time-tools=/home/xuchenghua/toolchain/cross-tools/gcc-o32/usr/mipsel-redhat-linux/bin
--with-pkgversion=gcc 20151222 commit: gcc-trunk-231896 

This may be help to reproduced。

Reply via email to