https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89248
Bug ID: 89248 Summary: internal compiler error: in expand_LOOP_VECTORIZED, at internal-fn.c:2409 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: gsocshubham at gmail dot com Target Milestone: --- Host: x86_64-linux-gnu Target: x86_64-linux-gnu Build: x86_64-linux-gnu Created attachment 45642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45642&action=edit Preprocessed code of file named "work23_crash1.c" -----------------COMMAND LINE USED FOR COMPILATION------------------------ ~/gcc-8.2/build/gcc/xgcc -B ~/gcc-8.2/build/gcc/ -w work23_crash1.c -O3 during RTL pass: expand work23_crash1.c: In function ‘func_20.constprop’: work23_crash1.c:975:24: internal compiler error: in expand_LOOP_VECTORIZED, at internal-fn.c:2409 static int8_t * const func_20(uint32_t p_21, int8_t * p_22, struct S0 p_23, int8_t * p_24) ^~~~~~~ 0x92d027 expand_LOOP_VECTORIZED ../../gcc-8.2.0/gcc/internal-fn.c:2409 0x76e107 expand_call_stmt ../../gcc-8.2.0/gcc/cfgexpand.c:2598 0x76e107 expand_gimple_stmt_1 ../../gcc-8.2.0/gcc/cfgexpand.c:3624 0x76e107 expand_gimple_stmt ../../gcc-8.2.0/gcc/cfgexpand.c:3790 0x76f74d expand_gimple_basic_block ../../gcc-8.2.0/gcc/cfgexpand.c:5819 0x774bd6 execute ../../gcc-8.2.0/gcc/cfgexpand.c:6425 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. ---------------------------REDUCED CODE----------------------------------- a; b() { void *c = &&d; for (;;) d: if (a) ; else a = ({ 0 < b; }); } -------------------------COMPILER BUILD OPTION----------------------------- Using built-in specs. COLLECT_GCC=/home/extended_csmith/gcc-8.2/build/gcc/xgcc Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.2.0/configure --enable-languages=c,c++ --enable-lto --disable-bootstrap Thread model: posix gcc version 8.2.0 (GCC)