https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44551
Qirun Zhang <helloqirun at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |helloqirun at gmail dot com --- Comment #15 from Qirun Zhang <helloqirun at gmail dot com> --- This regression crashes the current trunk. $ gcc-trunk -v Using built-in specs. COLLECT_GCC=gcc-trunk COLLECT_LTO_WRAPPER=/home/absozero/trunk/root-gcc/libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/home/absozero/trunk/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20160211 (experimental) [trunk revision 233345] (GCC) $ gcc-trunk pr44551-1.c pr44551-1.c: In function ‘foo’: pr44551-1.c:7:1: note: The ABI for passing parameters with 32-byte alignment has changed in GCC 4.6 foo (__m256i x, __m128i y) ^~~ pr44551-1.c:7:1: warning: AVX vector argument without AVX enabled changes the ABI [-Wpsabi] In file included from /home/absozero/trunk/root-gcc/lib/gcc/x86_64-pc-linux-gnu/6.0.0/include/immintrin.h:41:0, from pr44551-1.c:4: pr44551-1.c:9:15: error: ‘__builtin_ia32_vinsertf128_si256’ needs isa option -m32 __m256i r = _mm256_insertf128_si256(x, y, 1); ^ pr44551-1.c:9:15: internal compiler error: in emit_move_insn, at expr.c:3546 0x851c6f emit_move_insn(rtx_def*, rtx_def*) ../../gcc/gcc/expr.c:3545 0x85859d store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) ../../gcc/gcc/expr.c:5583 0x859b88 expand_assignment(tree_node*, tree_node*, bool) ../../gcc/gcc/expr.c:5175 0x74dd8a expand_call_stmt ../../gcc/gcc/cfgexpand.c:2646 0x74dd8a expand_gimple_stmt_1 ../../gcc/gcc/cfgexpand.c:3536 0x74dd8a expand_gimple_stmt ../../gcc/gcc/cfgexpand.c:3702 0x74fbe8 expand_gimple_basic_block ../../gcc/gcc/cfgexpand.c:5708 0x755bf6 execute ../../gcc/gcc/cfgexpand.c:6323 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.