http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59011

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Dec  3 07:47:50 2013
New Revision: 205622

URL: http://gcc.gnu.org/viewcvs?rev=205622&root=gcc&view=rev
Log:
    PR middle-end/59011
    * gimplify.c (nonlocal_vla_vars): New variable.
    (gimplify_var_or_parm_decl): Put VAR_DECLs for VLAs into
    nonlocal_vla_vars chain.
    (gimplify_body): Call declare_vars on nonlocal_vla_vars chain
    if outer_bind has DECL_INITIAL (current_function_decl) block.

    * gcc.dg/pr59011.c: New test.

Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/gimplify.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog

Reply via email to