Commit 79c844cd by Richard Kenner

(const_binop): Avoid initialized aggregate local variables, for

antique compilers.

From-SVN: r6821
parent ed8969fa
...@@ -1330,12 +1330,14 @@ const_binop (code, arg1, arg2, notrunc) ...@@ -1330,12 +1330,14 @@ const_binop (code, arg1, arg2, notrunc)
#if ! defined (REAL_IS_NOT_DOUBLE) || defined (REAL_ARITHMETIC) #if ! defined (REAL_IS_NOT_DOUBLE) || defined (REAL_ARITHMETIC)
if (TREE_CODE (arg1) == REAL_CST) if (TREE_CODE (arg1) == REAL_CST)
{ {
REAL_VALUE_TYPE d1 = TREE_REAL_CST (arg1); REAL_VALUE_TYPE d1;
REAL_VALUE_TYPE d2 = TREE_REAL_CST (arg2); REAL_VALUE_TYPE d2;
int overflow = 0; int overflow = 0;
REAL_VALUE_TYPE value; REAL_VALUE_TYPE value;
tree t; tree t;
d1 = TREE_REAL_CST (arg1);
d2 = TREE_REAL_CST (arg2);
if (setjmp (float_error)) if (setjmp (float_error))
{ {
t = copy_node (arg1); t = copy_node (arg1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment