From 138ca312d41bcfe98c0171f031c40303bb01a562 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 27 Aug 2003 17:28:15 -0400 Subject: [PATCH] * real.c (do_multiply): Initialize with memset. From-SVN: r70863 --- gcc/ChangeLog | 4 ++++ gcc/real.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a97ad585e9..25c63ab3e15 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-08-27 Jason Merrill + + * real.c (do_multiply): Initialize with memset. + 2003-08-27 Zdenek Dvorak * gcov.c (typedef struct arc_info): New field cs_count. diff --git a/gcc/real.c b/gcc/real.c index 5180aec382a..d2e780c7843 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -763,8 +763,8 @@ do_multiply (REAL_VALUE_TYPE *r, const REAL_VALUE_TYPE *a, continue; } + memset (&u, 0, sizeof (u)); u.class = rvc_normal; - u.sign = 0; u.exp = exp; for (k = j; k < SIGSZ * 2; k += 2)