X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: pavenis AT lanet DOT lv To: djgpp-workers AT delorie DOT com Date: Tue, 29 Jan 2002 17:57:44 +0200 MIME-Version: 1.0 Subject: Re: gcc-3.0.X Message-ID: <3C56E298.5356.19D34E8@localhost> In-reply-to: <3C56D0B6.30778.157576F@localhost> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 29 Jan 2002 at 16:41, pavenis AT lanet DOT lv wrote: > Seems I have found so serious trouble with DJGPP port of GCC-3.0.X that > I would never ask DJ to put it in better place than v2gnu/betas before > it would be fixed. But it is in v2gnu now (maybe we need to move it to > v2gnu/betas or to v2gnu/alphas ... ) > > ofstream class are seriously broken as following simple example outputs > random contents in major part of output file: > > #include > > int main (void) > { > std::ofstream output ("Test.out"); > for (double x=1; x<65536.0; x++) > output << x << "\n"; > } > It was bug from introduced by me. It can be fixed by changing one line in lang/cxx-v3/bits/fstream.tcc. So it seems I'll heva to reupload archives of gcc-3.0.3. I included also following other changes: changed type of output file to coff-go32 (djgpp-x.djl) changes to avoid using -T djgpp-x.djl if -T* is specified in command line Remaining things to do: C++ exceptions breakage with -gdwarf-2. Maybe somebody could try to write macro MD_CALLBACK_FRAME_STATE_FOR for machine specific stack unwinding (see config/i386/linux.h as and example) or try to figure out, why DWARF2 stack unwinding does not work together with -gdwarf-2. (perhaps not for update of gcc-3.0.3) Andris