aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/URLClassLoader.java
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-10-25 22:44:51 +0200
committerAldy Hernandez <aldyh@redhat.com>2022-10-27 11:40:16 +0200
commit2b1fb720818a85d5c893ce65d140add40debf2ff (patch)
treee89fbf13fcc8de28fa6e8d83c6bec7489ca9c972 /libjava/java/net/URLClassLoader.java
parent9119431bc1563217c7c770035b0456d1e2bc596d (diff)
downloadgcc-2b1fb720818a85d5c893ce65d140add40debf2ff.zip
gcc-2b1fb720818a85d5c893ce65d140add40debf2ff.tar.gz
gcc-2b1fb720818a85d5c893ce65d140add40debf2ff.tar.bz2
[PR tree-optimization/107394] Canonicalize global franges as they are read back.
The problem here is that we're inlining a global range with NANs into a function that has been tagged with __attribute__((optimize ("-ffinite-math-only"))). As the global range is copied from SSA_NAME_RANGE_INFO, its NAN bits are copied, which then cause frange::verify_range() to fail a sanity check making sure no NANs creep in when !HONOR_NANS. I think what we should do is nuke the NAN bits as we're restoring the global range. For that matter, if we use the frange constructor, everything except that NAN sign will be done automatically, including dropping INFs to the min/max representable range when appropriate. PR tree-optimization/107394 gcc/ChangeLog: * value-range-storage.cc (frange_storage_slot::get_frange): Use frange constructor. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pr107394.c: New test.
Diffstat (limited to 'libjava/java/net/URLClassLoader.java')
0 files changed, 0 insertions, 0 deletions