From: Richard Biener Date: Wed, 3 Jul 2019 11:01:01 +0000 (+0000) Subject: gimple-pretty-print.c (dump_ternary_rhs): Fix BIT_INSERT_EXPR dumping. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6235b0788c9bc126993067d19c923fdb05be4ed4;p=gcc.git gimple-pretty-print.c (dump_ternary_rhs): Fix BIT_INSERT_EXPR dumping. 2019-07-03 Richard Biener * gimple-pretty-print.c (dump_ternary_rhs): Fix BIT_INSERT_EXPR dumping. From-SVN: r273001 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 68eb338e7fa..77d1f608b1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-03 Richard Biener + + * gimple-pretty-print.c (dump_ternary_rhs): Fix BIT_INSERT_EXPR + dumping. + 2019-07-03 Sylvia Taylor * config/aarch64/aarch64.md (FP_REGNUM): New constant. diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index 0ccbd6c6352..45e7260e072 100644 --- a/gcc/gimple-pretty-print.c +++ b/gcc/gimple-pretty-print.c @@ -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;