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

            Bug ID: 80306
           Summary: ICE in cfgexpand.c during cross-compilation for mips
                    target
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: niva at niisi dot msk.ru
  Target Milestone: ---

Created attachment 41119
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41119&action=edit
The source file at which the bug is reproduced.

The cross-compiler mips64-none-elf-gcc configured as:

/home/niva/src/gcc-6.3.0/configure --target=mips64-none-elf --enable-threads=no
--disable-shared --enable-long-long --enable-c99 --enable-languages=c,c++
--enable-multilib --enable-symvers=gnu --disable-libmudflap --disable-libssp
--disable-libgcc_eh --with-newlib --disable-libstdc++-v3 --with-dwarf2
--with-system-zlib --enable-checking=release --enable-generated-files-in-srcdir
--verbose --prefix=/home/niva/local --enable-cpp

ICE during compilation:

LC_ALL=C mips64-none-elf-gcc-6.3.0 pr43300.c  -O3 -mips64 -S -o pr43300.s
pr43300.c: In function 'foo':
pr43300.c:20:1: internal compiler error: in commit_one_edge_insertion, at
cfgrtl.c:2072
 }
 ^
0x5faf45 commit_one_edge_insertion(edge_def*)
        /home/niva/src/gcc-6.3.0/gcc/cfgrtl.c:2072
0x5e8d63 execute
        /home/niva/src/gcc-6.3.0/gcc/cfgexpand.c:6408
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.

The source file is a reduced version of gcc/testsuite/gcc.dg/pr43300.c
(attached)

Reply via email to