diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-09-01 16:07:18 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-09-01 20:06:19 +0200 |
commit | 5924b6b2e75afa95f09f75ad3ef9ccbeac65d55d (patch) | |
tree | ff03da497e1d161d6049bb0bed0bda7b1ce265a8 /gcc/value-range.cc | |
parent | 37ff51a98583e63fb9afe83cf9f4351760149028 (diff) | |
download | gcc-5924b6b2e75afa95f09f75ad3ef9ccbeac65d55d.zip gcc-5924b6b2e75afa95f09f75ad3ef9ccbeac65d55d.tar.gz gcc-5924b6b2e75afa95f09f75ad3ef9ccbeac65d55d.tar.bz2 |
Add global REAL_VALUE_TYPE infinities to real.*.
We're starting to abuse the infinity endpoints in the frange code and
the associated range operators. Building infinities are rather cheap,
and we could even inline them, but I think it's best to just not
recalculate them all the time.
I see about 20 uses of real_inf in the source code, not including the
backends. And I'm about to add more :).
gcc/ChangeLog:
* emit-rtl.cc (init_emit_once): Initialize dconstinf and
dconstninf.
* real.h: Add dconstinf and dconstninf.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions