tree-pretty-print.c (dump_generic_node): Print ARRAY_REF lower bound and element size if...
2007-04-12 Richard Guenther <rguenther@suse.de> * tree-pretty-print.c (dump_generic_node): Print ARRAY_REF lower bound and element size if lower bound is not zero or either of the ARRAY_REF operands is set. From-SVN: r123738
This commit is contained in:
parent
6e734d9820
commit
a670437d92
|
@ -1,3 +1,9 @@
|
|||
2007-04-12 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree-pretty-print.c (dump_generic_node): Print ARRAY_REF
|
||||
lower bound and element size if lower bound is not zero
|
||||
or either of the ARRAY_REF operands is set.
|
||||
|
||||
2007-04-12 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/24689
|
||||
|
|
|
@ -952,8 +952,8 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
|
|||
op1 = array_ref_element_size (node);
|
||||
|
||||
if (!integer_zerop (op0)
|
||||
|| (TYPE_SIZE_UNIT (TREE_TYPE (node))
|
||||
&& !operand_equal_p (op1, TYPE_SIZE_UNIT (TREE_TYPE (node)), 0)))
|
||||
|| TREE_OPERAND (node, 2)
|
||||
|| TREE_OPERAND (node, 3))
|
||||
{
|
||||
pp_string (buffer, "{lb: ");
|
||||
dump_generic_node (buffer, op0, spc, flags, false);
|
||||
|
|
Loading…
Reference in New Issue