This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C constant expressions proposals
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: mark at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 18 Aug 04 07:36:12 EDT
- Subject: Re: C constant expressions proposals
In fact, I consider all diagnostic outputs other than "internal
error", "out of memory", etc. from anything other than the front end
to be bugs. :-)
I assume you also mean to exclude warnings here, right? Undefined variables
are best detected by the middle-end, for example.
Another example are incorrect asm statements: the front end shouldn't be
in the business of validating them.