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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun  8 13:11:43 2016
New Revision: 237214

URL: https://gcc.gnu.org/viewcvs?rev=237214&root=gcc&view=rev
Log:
2016-06-08  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/71452
        * tree-ssa.c (non_rewritable_lvalue_p): Make sure that the
        type used for the SSA rewrite has enough precision to cover
        the dynamic type of the location.

        * gcc.dg/torture/pr71452.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr71452.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa.c

Reply via email to