diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-03-19 06:25:26 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-03-19 06:25:26 -0500 |
commit | 79c844cdcad22819e45e5ffc3f1f8dfb8cd5aa72 (patch) | |
tree | 7dd5c4566fc0d05c25b2f705411ef3be7a3f954f /gcc | |
parent | ed8969fa7d85d9467bea0379ff4bca782708ac3f (diff) | |
download | gcc-79c844cdcad22819e45e5ffc3f1f8dfb8cd5aa72.zip gcc-79c844cdcad22819e45e5ffc3f1f8dfb8cd5aa72.tar.gz gcc-79c844cdcad22819e45e5ffc3f1f8dfb8cd5aa72.tar.bz2 |
(const_binop): Avoid initialized aggregate local variables, for
antique compilers.
From-SVN: r6821
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fold-const.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 8195163..59da9ac 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -1330,12 +1330,14 @@ const_binop (code, arg1, arg2, notrunc) #if ! defined (REAL_IS_NOT_DOUBLE) || defined (REAL_ARITHMETIC) if (TREE_CODE (arg1) == REAL_CST) { - REAL_VALUE_TYPE d1 = TREE_REAL_CST (arg1); - REAL_VALUE_TYPE d2 = TREE_REAL_CST (arg2); + REAL_VALUE_TYPE d1; + REAL_VALUE_TYPE d2; int overflow = 0; REAL_VALUE_TYPE value; tree t; + d1 = TREE_REAL_CST (arg1); + d2 = TREE_REAL_CST (arg2); if (setjmp (float_error)) { t = copy_node (arg1); |