https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65235

--- Comment #10 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Thu Mar 19 09:58:42 2015
New Revision: 221511

URL: https://gcc.gnu.org/viewcvs?rev=221511&root=gcc&view=rev
Log:
[simplify-rtx] PR 65235: Calculate element size correctly when simplifying
(vec_select (vec_concat (const_int) (...)) [...])

    Backport from mainline
    2015-03-12  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

    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:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/aarch64/pr65235_1.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/simplify-rtx.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog

Reply via email to