https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101352
Bug ID: 101352 Summary: ICE on valid code: in convert_move, at expr.c:279 Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cnsun at uwaterloo dot ca Target Milestone: --- Clang can compile the test program. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /tmp/tmp.t468jxVWYr-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210706 (experimental) [master revision :e442981a9:a3543b5e8002c033b2304d7ac1d1e58218eebb51] (GCC) $ cat mutant.c void g(i) int i __attribute__((__vector_size__(16))); {} $ gcc-trunk mutant.c during RTL pass: expand mutant.c: In function āgā: mutant.c:1:6: internal compiler error: in convert_move, at expr.c:279 1 | void g(i) int i __attribute__((__vector_size__(16))); | ^ 0x6bf71f convert_move(rtx_def*, rtx_def*, int) /tmp/tmp.t468jxVWYr-gcc-builder/gcc/gcc/expr.c:279 0xb859a5 convert_modes(machine_mode, machine_mode, rtx_def*, int) /tmp/tmp.t468jxVWYr-gcc-builder/gcc/gcc/expr.c:738 0xbecea2 assign_parm_setup_stack /tmp/tmp.t468jxVWYr-gcc-builder/gcc/gcc/function.c:3470 0xbecea2 assign_parms /tmp/tmp.t468jxVWYr-gcc-builder/gcc/gcc/function.c:3701 0xbeea22 expand_function_start(tree_node*) /tmp/tmp.t468jxVWYr-gcc-builder/gcc/gcc/function.c:5155 0xa60fd5 execute /tmp/tmp.t468jxVWYr-gcc-builder/gcc/gcc/cfgexpand.c:6693 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.