[arm] Fix rtl-checking failure in arm_print_value
Noticed while debugging the arm bootstrap failure. 2019-10-03 Richard Sandiford <richard.sandiford@arm.com> gcc/ * config/arm/arm.c (arm_print_value): Use real_to_decimal to print CONST_DOUBLEs. From-SVN: r276508
This commit is contained in:
parent
12e088ba57
commit
eec306385d
@ -1,3 +1,8 @@
|
||||
2019-10-03 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* config/arm/arm.c (arm_print_value): Use real_to_decimal
|
||||
to print CONST_DOUBLEs.
|
||||
|
||||
2019-10-03 Andrea Corallo <andrea.corallo@arm.com>
|
||||
|
||||
* ipa-cp.c (ipa_cp_c_finalize): Release ipcp_transformation_sum.
|
||||
|
@ -16122,7 +16122,12 @@ arm_print_value (FILE *f, rtx x)
|
||||
return;
|
||||
|
||||
case CONST_DOUBLE:
|
||||
fprintf (f, "<0x%lx,0x%lx>", (long)XWINT (x, 2), (long)XWINT (x, 3));
|
||||
{
|
||||
char fpstr[20];
|
||||
real_to_decimal (fpstr, CONST_DOUBLE_REAL_VALUE (x),
|
||||
sizeof (fpstr), 0, 1);
|
||||
fputs (fpstr, f);
|
||||
}
|
||||
return;
|
||||
|
||||
case CONST_VECTOR:
|
||||
|
Loading…
Reference in New Issue
Block a user