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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jan  1 11:30:28 2018
New Revision: 256063

URL: https://gcc.gnu.org/viewcvs?rev=256063&root=gcc&view=rev
Log:
        PR middle-end/83608
        * expr.c (store_expr_with_bounds): Use simplify_gen_subreg instead of
        convert_modes if target mode has the right side, but different mode
        class.

        * g++.dg/opt/pr83608.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/opt/pr83608.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/expr.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to