Commit 7b0a0ee2 by Tom de Vries Committed by Tom de Vries

Use decl_type in create_variable_info_for_1

2015-11-04  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-structalias.c (create_variable_info_for_1): Use decl_type
	variable.

From-SVN: r229754
parent 78847ba3
2015-11-04 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (create_variable_info_for_1): Use decl_type
variable.
2015-11-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 2015-11-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* config/arm/coff.h: Remove. * config/arm/coff.h: Remove.
...@@ -5718,8 +5718,8 @@ create_variable_info_for_1 (tree decl, const char *name, bool add_id) ...@@ -5718,8 +5718,8 @@ create_variable_info_for_1 (tree decl, const char *name, bool add_id)
vi->fullsize = tree_to_uhwi (declsize); vi->fullsize = tree_to_uhwi (declsize);
vi->size = vi->fullsize; vi->size = vi->fullsize;
vi->is_full_var = true; vi->is_full_var = true;
if (POINTER_TYPE_P (TREE_TYPE (decl)) if (POINTER_TYPE_P (decl_type)
&& TYPE_RESTRICT (TREE_TYPE (decl))) && TYPE_RESTRICT (decl_type))
vi->only_restrict_pointers = 1; vi->only_restrict_pointers = 1;
fieldstack.release (); fieldstack.release ();
return vi; return vi;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment