* real.c (do_multiply): Initialize with memset.

From-SVN: r70863
This commit is contained in:
Jason Merrill 2003-08-27 17:28:15 -04:00 committed by Jason Merrill
parent d253f9ba03
commit 138ca312d4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-08-27 Jason Merrill <jason@redhat.com>
* real.c (do_multiply): Initialize with memset.
2003-08-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcov.c (typedef struct arc_info): New field cs_count.

View File

@ -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)