]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add debug functions for REAL_VALUE_TYPE.
authorAldy Hernandez <aldyh@redhat.com>
Thu, 22 Sep 2022 16:03:16 +0000 (18:03 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 23 Sep 2022 08:52:20 +0000 (10:52 +0200)
commit76dbbfe62c0d7f4548cb12e757f67a1b1f84c3df
treef31cd16e1e6cd782e897ea643308e6304955d954
parent0706262498bc5d206330c08414df0c780a0c3141
Add debug functions for REAL_VALUE_TYPE.

We currently have no way of dumping REAL_VALUE_TYPEs when debugging.

Tested on a gdb session examining the real value 10.0:

(gdb) p min
$9 = {cl = 1, decimal = 0, sign = 0, signalling = 0, canonical = 0, uexp = 4, sig = {0, 0, 11529215046068469760}}
(gdb) p debug (min)
0x0.ap+4

gcc/ChangeLog:

* real.cc (debug): New.
gcc/real.cc