From: "Doug Gale" Newsgroups: comp.os.msdos.djgpp References: <92o5uf$702n5$1 AT ID-57378 DOT news DOT dfncis DOT de> <978314359 DOT 13074 DOT 0 DOT nnrp-02 DOT 9e989cbe AT news DOT demon DOT co DOT uk> <92ophd$7kdsq$1 AT ID-57378 DOT news DOT dfncis DOT de> <8fd45t46ttftcmahol8erf6sipdjfs9v8v AT 4ax DOT com> <92tlcf$8accm$1 AT ID-57378 DOT news DOT dfncis DOT de> Subject: Re: either I'm stupid or GCC once again has random behaviour Lines: 5 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Wed, 03 Jan 2001 06:28:49 GMT NNTP-Posting-Host: 216.154.50.47 X-Complaints-To: abuse AT look DOT ca X-Trace: quark.idirect.com 978503329 216.154.50.47 (Wed, 03 Jan 2001 01:28:49 EST) NNTP-Posting-Date: Wed, 03 Jan 2001 01:28:49 EST Organization: Internet Look Communications - http://www.look.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com It is not a good idea to stosw/stosl to an unaligned address (multi-cycle penalty for each write). Maybe gcc called memset because it wasn't sure the destination address was aligned.