[Bug tree-optimization/71405] [6 Regression] ICE on valid C++ code at -Os and above on x86_64-linux-gnu: verify_gimple failed

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 14 14:43:00 GMT 2016


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  <jakub@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


More information about the Gcc-bugs mailing list