This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C constant expressions proposals


On Aug 18, 2004, at 9:24 AM, Mark Mitchell wrote:

Richard Kenner wrote:
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.

I disagree, but we've had that debate before, so it seems boring to have it again. The bottom line is that optimizer people always think that the middle-end should do this kind of thing; people who do other things don't necessarily agree.

In particular, users don't necessarily agree. Dunno about other organizations, but Apple regularly receives bug reports from users who don't understand why they get a different set of warnings if they change the optimization level. I've never heard of a user who thinks of this as a desirable feature.


--Matt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]