Compiler output: $ gcc -O -ftree-vectorize testcase.c testcase.c: In function 'foo': testcase.c:11:1: internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1056 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. Tested revisions: r164069 - crash r163965 - OK
Created attachment 21751 [details] reduced testcase
I think it is fixed by revision 164071: http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00363.html
Indeed, r164077 no longer crashes.
Fixed.