From 79c844cdcad22819e45e5ffc3f1f8dfb8cd5aa72 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 19 Mar 1994 06:25:26 -0500 Subject: [PATCH] (const_binop): Avoid initialized aggregate local variables, for antique compilers. From-SVN: r6821 --- gcc/fold-const.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 8195163d8b1..59da9acd258 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); -- 2.30.2