projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed8969f
)
(const_binop): Avoid initialized aggregate local variables, for
author
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 19 Mar 1994 11:25:26 +0000
(06:25 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sat, 19 Mar 1994 11:25:26 +0000
(06:25 -0500)
antique compilers.
From-SVN: r6821
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index 8195163d8b14384ac38989c52b7ff65d6d45bd2c..59da9acd258044eaa907e28712de6152b183047a 100644
(file)
--- 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);