This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: special keyword for silent wrong-code bugs
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Thomas Koenig <tkoenig at alice-dsl dot net>
- Date: Fri, 25 May 2007 22:12:17 +0100
- Subject: Re: special keyword for silent wrong-code bugs
- References: <1180126202.4655.4.camel@meiner.onlinehome.de>
On Friday 25 May 2007, Thomas Koenig wrote:
> What about a keyword for bugs that
>
> - generate wrong code
> - affect a standard-conforming program
> - are silent (no error message)
We already have one: "wrong-code"
1 and 3 mutually exclusive. ie. if we generate an error, then by definition we
don't generate bad code because the compilation process never gets that far.
2 is a IMHO fairly academic distinction. We either care about code working
(and support no-conforming code as an extension), or we decide that we're ok
with that particular code being broken.
Paul