www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/28/19:38:12

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3B3B9E25.A85031E1@phekda.freeserve.co.uk>
Date: Thu, 28 Jun 2001 22:14:13 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP newsgroup <djgpp AT delorie DOT com>
Subject: Re: Strange behavior of compiler.
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010625160253 DOT 2920K-100000 AT is> <3b37e5df DOT 287898614 AT news DOT primus DOT ca> <3B38F0AB DOT 655B722 AT phekda DOT freeserve DOT co DOT uk> <3b3b4a55 DOT 212412430 AT news DOT primus DOT ca>
Reply-To: djgpp AT delorie DOT com

Hello.

Graaagh the Mighty wrote:
> 
> Richard Dawe wrote:
>
> > Maybe if you upgrade to a later version (e.g. 2.95.3 or 3.0), it will
> > generate the warning you want?
> 
> Where the h**l did those come from? Last I checked 2.95.2 was the most
> recent.

Subscribe to the djgpp-announce list to receive announcements about newly
DJGPP packages and other software. See http://www.delorie.com/djgpp/ .

The packages I have for gcc 2.95.3 are dated March 30th 2001. The alpha
packages I have for gcc 3.0 are dated May 24th 2001 (see v2gnu/alphas/ in
the DJGPP archive on Simtel.NET).

> In any case, failing to detect a missing return statement seems like a
> rather glaring omission from 2.95.2 given that the compiler'd been in
> active development and maintenance for years by that point. You'd
> expect any remaining bugs to fall into two classes: the extremely
> subtle (Heisenbugs, Mandelbugs) and bugs in experimental new features
> (a new optimization option, the latest attempt to make C++ templates
> work with the pre-existing legacy linker paradigm, etc.)

This bug is quite subtle, which is perhaps why it has slipped through the
net. All software has bugs - deal with it. Actually I would expect a third
category of bugs - undetected bugs in existing functionality.

Have you constructed a test case that exhibits the bug and reported it to
the GCC maintainers? (I must admit that I have not - I got distracted by
bugfixing my own software. ;) )

Bye,

-- 
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019