gimple-pretty-print.c (dump_ternary_rhs): Fix BIT_INSERT_EXPR dumping.

2019-07-03  Richard Biener  <rguenther@suse.de>

	* gimple-pretty-print.c (dump_ternary_rhs): Fix BIT_INSERT_EXPR
	dumping.

From-SVN: r273001
This commit is contained in:
Richard Biener 2019-07-03 11:01:01 +00:00 committed by Richard Biener
parent 0e510d1824
commit 6235b0788c
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2019-07-03 Richard Biener <rguenther@suse.de>
* gimple-pretty-print.c (dump_ternary_rhs): Fix BIT_INSERT_EXPR
dumping.
2019-07-03 Sylvia Taylor <sylvia.taylor@arm.com>
* config/aarch64/aarch64.md (FP_REGNUM): New constant.

View File

@ -604,10 +604,14 @@ dump_ternary_rhs (pretty_printer *buffer, gassign *gs, int spc,
pp_string (buffer, ", ");
dump_generic_node (buffer, gimple_assign_rhs3 (gs),
spc, flags, false);
pp_string (buffer, " (");
if (INTEGRAL_TYPE_P (TREE_TYPE (gimple_assign_rhs2 (gs))))
pp_decimal_int (buffer, TYPE_PRECISION
(TREE_TYPE (gimple_assign_rhs2 (gs))));
{
pp_string (buffer, " (");
pp_decimal_int (buffer, TYPE_PRECISION
(TREE_TYPE (gimple_assign_rhs2 (gs))));
pp_string (buffer, " bits)");
}
pp_greater (buffer);
}
break;