]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR debug/34037 (Bounds for VLAs not emitted into debuginfo)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 18 Sep 2008 15:17:10 +0000 (17:17 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 18 Sep 2008 15:17:10 +0000 (17:17 +0200)
commit802e9f8e7ccb805437419eef74a9a1cbe75a68ed
tree898acbe389ec22bb548f7bcc5341513f81c694a6
parenta2cd689a680e5287cbb4d704ca71092257583e96
re PR debug/34037 (Bounds for VLAs not emitted into debuginfo)

PR debug/34037
* gimplify.c (gimplify_type_sizes): When not optimizing, ensure
TYPE_MIN_VALUE and TYPE_MAX_VALUE is not is not DECL_IGNORED_P
VAR_DECL.
* cfgexpand.c (expand_used_vars): Keep DECL_ARTIFICIAL
!DECL_IGNORED_P vars in local_decls list for instantiate_decls,
ggc_free other TREE_LIST nodes from that chain.
* function.c (instantiate_decls): Instantiate also DECL_RTL
of vars in cfun->local_decls, free that list afterwards.

From-SVN: r140459
gcc/ChangeLog
gcc/cfgexpand.c
gcc/function.c
gcc/gimplify.c