summaryrefslogtreecommitdiffstats
path: root/libjava/java/io/ObjectStreamField.java
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-03 21:33:57 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-03 21:33:57 +0000
commit67c65562f54b79711c2faccaebb6faa31fdbdd4f (patch)
tree09c0fbd9595e9411be41c39493368c74ad3a13be /libjava/java/io/ObjectStreamField.java
parente0820f9b2ce32cdd93ad566100054d50bc3f542a (diff)
downloadppe42-gcc-67c65562f54b79711c2faccaebb6faa31fdbdd4f.tar.gz
ppe42-gcc-67c65562f54b79711c2faccaebb6faa31fdbdd4f.zip
PR optimization/9325, PR java/6391
* fold-const.c (fold_convert): For floating point to integer conversions, return the maximum/minimum representable integer value if the real constant overflows the destination type. * tree.c (real_value_from_int_cst): Allow the type to be NULL, meaning don't truncate the result to a floating point mode. Simplify the logic by calling real_from_integer directly. * simplify-rtx.c (simplify_unary_operation): Implement the same semantics for folding floating point to integer conversions in RTL. * gcc.c-torture/execute/20031003-1.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72079 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io/ObjectStreamField.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud