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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jun 14 14:42:46 2016
New Revision: 237446

URL: https://gcc.gnu.org/viewcvs?rev=237446&root=gcc&view=rev
Log:
        Backported from mainline
        2016-06-04  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/71405
        * tree-ssa.c (execute_update_addresses_taken): For clobber with
        incompatible type, build a new clobber with the right type instead
        of building a VIEW_CONVERT_EXPR around it.

        * g++.dg/torture/pr71405.C: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/torture/pr71405.C
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-ssa.c

Reply via email to