From: Richard Kenner Date: Sat, 19 Mar 1994 11:25:26 +0000 (-0500) Subject: (const_binop): Avoid initialized aggregate local variables, for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79c844cdcad22819e45e5ffc3f1f8dfb8cd5aa72;p=gcc.git (const_binop): Avoid initialized aggregate local variables, for antique compilers. From-SVN: r6821 --- 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);