* trans-array.c (structure_alloc_comps): Use correct type
for null pointer constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122375
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-02-27 Richard Guenther <rguenther@suse.de>
+
+ * trans-array.c (structure_alloc_comps): Use correct type
+ for null pointer constant.
+
2007-02-26 Brooks Moses <brooks.moses@codesourcery.com>
* gfortran.texi: Standardize title page, remove version number
null_cond = gfc_conv_descriptor_data_get (decl);
null_cond = build2 (NE_EXPR, boolean_type_node, null_cond,
- build_int_cst (TREE_TYPE (tmp), 0));
+ build_int_cst (TREE_TYPE (null_cond), 0));
}
else
{