https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84811
--- Comment #11 from Zhendong Su <su at cs dot ucdavis.edu> --- (In reply to Martin Liška from comment #9) > Sorry, I meant --verbose. $ gcctk -O3 -c --verbose small.c Using built-in specs. COLLECT_GCC=gcctk Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 8.0.1 20180316 (experimental) [trunk revision 258587] (GCC) COLLECT_GCC_OPTIONS='-O3' '-c' '-v' '-mtune=generic' '-march=x86-64' /home/su/software/tmp/gcc/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/8.0.1/cc1 -quiet -v -imultiarch x86_64-linux-gnu small.c -quiet -dumpbase small.c -mtune=generic -march=x86-64 -auxbase small -O3 -version -o /tmp/cculQbQT.s GNU C17 (GCC) version 8.0.1 20180316 (experimental) [trunk revision 258587] (x86_64-pc-linux-gnu) compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/home/su/software/tmp/gcc/gcc-trunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/../../../../x86_64-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /home/su/software/tmp/gcc/gcc-trunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/include /usr/local/include /home/su/software/tmp/gcc/gcc-trunk/include /home/su/software/tmp/gcc/gcc-trunk/lib/gcc/x86_64-pc-linux-gnu/8.0.1/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C17 (GCC) version 8.0.1 20180316 (experimental) [trunk revision 258587] (x86_64-pc-linux-gnu) compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: f6266f581518b6147a3db5aa3f80d40c during RTL pass: dse1 small.c: In function ‘fn1’: small.c:12:1: internal compiler error: in smallest_mode_for_size, at stor-layout.c:355 } ^ 0xc9009b smallest_mode_for_size(poly_int<1u, unsigned long>, mode_class) ../../gcc-source-trunk/gcc/stor-layout.c:355 0x14376fc smallest_int_mode_for_size(poly_int<1u, unsigned long>) ../../gcc-source-trunk/gcc/machmode.h:842 0x14376fc find_shift_sequence ../../gcc-source-trunk/gcc/dse.c:1701 0x14376fc get_stored_val ../../gcc-source-trunk/gcc/dse.c:1847 0x143a05c record_store ../../gcc-source-trunk/gcc/dse.c:1557 0x143af02 scan_insn ../../gcc-source-trunk/gcc/dse.c:2545 0x143c0f2 dse_step1 ../../gcc-source-trunk/gcc/dse.c:2657 0x143c0f2 rest_of_handle_dse ../../gcc-source-trunk/gcc/dse.c:3574 0x143c0f2 execute ../../gcc-source-trunk/gcc/dse.c:3672 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. $