Hi, the test fails at -O2 because of the assertion recently added to gen_reg_rtx that crtl->emit.regno_pointer_align_length is non-zero. Now the function expand_vec_perm_interleave_2 can be invoked at the GIMPLE level in "testing" mode and crtl->emit is not initialized by that time. Tested on ia64-linux-gnu, OK for mainline and 4.9 branch? 2015-03-03 Eric Botcazou * config/ia64/ia64.c (expand_vec_perm_interleave_2): Use gen_raw_REG to create a register in testing mode. -- Eric Botcazou