summaryrefslogtreecommitdiffstats
path: root/libjava/java/text/NumberFormat.java
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-18 00:26:51 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-18 00:26:51 +0000
commit276beea2f86e5daac59353636de0d0c0e07b89e4 (patch)
tree3875a0446ee77a593d30fb10e6a14b62fcc0f4ec /libjava/java/text/NumberFormat.java
parentf96457e51b0d3fa70f4027622a87a4c4d8e61ca3 (diff)
downloadppe42-gcc-276beea2f86e5daac59353636de0d0c0e07b89e4.tar.gz
ppe42-gcc-276beea2f86e5daac59353636de0d0c0e07b89e4.zip
* fold-const.c (const_binop): Avoid performing the FP operation at
compile-time, if either operand is NaN and we honor signaling NaNs, or if we're dividing by zero and either flag_trapping_math is set or the desired mode doesn't support infinities. (fold_initializer): New function to fold an expression ignoring any potential run-time exceptions or traps. * tree.h (fold_initializer): Prototype here. * c-typeck.c (build_binary_op): Move to the end of the file so that intializer_stack is in scope. If constructing an initializer, i.e. when initializer_stack is not NULL, use fold_initializer to fold expressions. * simplify-rtx.c (simplify_binary_operation): Likewise, avoid performing FP operations at compile-time, if they would raise an exception at run-time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69533 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/text/NumberFormat.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud