[Bug debug/34037] [4.2/4.3/4.4 Regression] Bounds for VLAs not emitted into debuginfo
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 18 15:20:00 GMT 2008
------- Comment #5 from jakub at gcc dot gnu dot org 2008-09-18 15:18 -------
Subject: Bug 34037
Author: jakub
Date: Thu Sep 18 15:17:10 2008
New Revision: 140459
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140459
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
trunk/gcc/function.c
trunk/gcc/gimplify.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34037
More information about the Gcc-bugs
mailing list