This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r205622 - in /branches/gcc-4_8-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 03 Dec 2013 07:47:50 -0000
- Subject: r205622 - in /branches/gcc-4_8-branch/gcc: Chan...
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