https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65235
--- Comment #8 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Mar 12 13:40:50 2015 New Revision: 221387 URL: https://gcc.gnu.org/viewcvs?rev=221387&root=gcc&view=rev Log: [simplify-rtx] PR 65235: Calculate element size correctly when simplifying (vec_select (vec_concat (const_int) (...)) [...]) PR rtl-optimization 65235 * simplify-rtx.c (simplify_binary_operation_1, VEC_SELECT case): When first element of vec_concat is const_int, calculate its size using second element. PR rtl-optimization 65235 * gcc.target/aarch64/pr65235_1.c: New test. Added: trunk/gcc/testsuite/gcc.target/aarch64/pr65235_1.c Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog