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

            Bug ID: 89560
           Summary: [9 regression] ICE In function 'rtx_def*
                    gen_vec_extract_lo_v64qi(rtx, rtx)'
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com
  Target Milestone: ---

r268977 bootstrap PASS
r269340 FAIL

Fedora 29 / x86_64

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 158
model name      : Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
stepping        : 9
microcode       : 0x8e

configured as

$ /home/dimhen/src/gcc_current/configure --prefix=/usr/local/gcc_current
--enable-checking=yes,df,fold,rtl,extra --enable-languages=c,c++,lto
--disable-multilib --enable-shared --enable-threads=posix --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --with-isl --enable-libmpx
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --with-tune=native

$ make
[...]

/home/dimhen/build/gcc_current/./prev-gcc/xg++
-B/home/dimhen/build/gcc_current/./prev-gcc/
-B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
 -I/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
 -I/home/dimhen/src/gcc_current/libstdc++-v3/libsupc++
-L/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/dimhen/build/gcc_current/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-fno-PIE -c   -g -O2 -fno-checking -gtoggle -DIN_GCC     -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -I. -I. -I/home/dimhen/src/gcc_current/gcc
-I/home/dimhen/src/gcc_current/gcc/.
-I/home/dimhen/src/gcc_current/gcc/../include
-I/home/dimhen/src/gcc_current/gcc/../libcpp/include
-I/home/dimhen/build/gcc_current/./gmp -I/home/dimhen/src/gcc_current/gmp
-I/home/dimhen/build/gcc_current/./mpfr/src
-I/home/dimhen/src/gcc_current/mpfr/src -I/home/dimhen/src/gcc_current/mpc/src 
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libdecnumber/bid -I../libdecnumber
-I/home/dimhen/src/gcc_current/gcc/../libbacktrace
-I/home/dimhen/build/gcc_current/./isl/include
-I/home/dimhen/src/gcc_current/isl/include  -o insn-emit.o -MT insn-emit.o -MMD
-MP -MF ./.deps/insn-emit.TPo insn-emit.c
In file included from /home/dimhen/src/gcc_current/gcc/rtl.h:3771,
                 from insn-emit.c:11:
insn-emit.c: In function 'rtx_def* gen_vec_extract_lo_v64qi(rtx, rtx)':
./genrtl.h:91:51: internal compiler error: Segmentation fault
   91 |         gen_rtx_fmt_E_stat (c, m, p0 MEM_STAT_INFO)
      |                                                   ^
./genrtl.h:39:40: note: in definition of macro 'gen_rtx_fmt_ee'
   39 |         gen_rtx_fmt_ee_stat (c, m, p0, p1 MEM_STAT_INFO)
      |                                        ^~
insn-emit.c:22526:10: note: in expansion of macro 'gen_rtx_SET'
22526 |   return gen_rtx_SET (operand0,
      |          ^~~~~~~~~~~
./genrtl.h:1104:3: note: in expansion of macro 'gen_rtx_fmt_ee'
 1104 |   gen_rtx_fmt_ee (VEC_SELECT, (MODE), (ARG0), (ARG1))
      |   ^~~~~~~~~~~~~~
insn-emit.c:22527:2: note: in expansion of macro 'gen_rtx_VEC_SELECT'
22527 |  gen_rtx_VEC_SELECT (V32QImode,
      |  ^~~~~~~~~~~~~~~~~~
./genrtl.h:886:3: note: in expansion of macro 'gen_rtx_fmt_E'
  886 |   gen_rtx_fmt_E (PARALLEL, (MODE), (ARG0))
      |   ^~~~~~~~~~~~~
insn-emit.c:22529:2: note: in expansion of macro 'gen_rtx_PARALLEL'
22529 |  gen_rtx_PARALLEL (VOIDmode,
      |  ^~~~~~~~~~~~~~~~
0x157677c crash_signal
        /home/dimhen/src/gcc_current/gcc/toplev.c:326
0x7f6b7db665bf ???
       
/usr/src/debug/glibc-2.28-60-g4d7af7815a/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xfbd3f7 fold_checksum_tree
        /home/dimhen/src/gcc_current/gcc/fold-const.c:12168
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [Makefile:1116: insn-emit.o] Error 1
make[3]: Leaving directory '/home/dimhen/build/gcc_current/gcc'
make[2]: *** [Makefile:4707: all-stage2-gcc] Error 2
make[2]: Leaving directory '/home/dimhen/build/gcc_current'
make[1]: *** [Makefile:26614: stage2-bubble] Error 2
make[1]: Leaving directory '/home/dimhen/build/gcc_current'
make: *** [Makefile:993: all] Error 2
Command exited with non-zero status 2

Reply via email to