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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:40:43 2016
New Revision: 238093

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

        PR middle-end/70633
        * gimplify.c (gimplify_init_constructor): Clear TREE_STATIC if
        gimplification turns some element into non-constant.

        * gcc.c-torture/compile/pr70633.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/compile/pr70633.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/gimplify.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to