PATCH to real.c:do_multiply

Jason Merrill jason@redhat.com
Wed Aug 27 21:21:00 GMT 2003


I tracked down a recent bootstrap failure to our failure to initialize
u.canonical along with the rest of u.

Repeat after me:  I will always use memset to initialize a struct.  Trying
to initialize all members invariably breaks.

Booted and tested powerpc-linux-gnu, applied to trunk and tree-ssa.

2003-08-27  Jason Merrill  <jason@redhat.com>

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030827/de401989/attachment.bin>


More information about the Gcc-patches mailing list