This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.3 release criteria
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: gcc at gcc dot gnu dot org, lars dot segerlund at comsys dot se
- Date: 25 Feb 2003 13:34:30 +0100
- Subject: Re: GCC 3.3 release criteria
- Organization: Integrable Solutions
- References: <20030225122515.867E5F29F1@nile.gnat.com>
dewar at gnat dot com (Robert Dewar) writes:
| > I think that somtimes 'high level' people don't quite understand the
| > issues involved when you have timing constraints on sections of code.
|
| Actually timing constraints is a weak argument. What about a case in which the
| compiler sees the "INLINE" but determines that it is more efficient (time wise)
| NOT to inline.
I believe that the argument of the poster was that the compiler is always
programmed according the implementor's logic which does not always
match the programmer's.
Not just because the compiler *may* in _certain cases_ know better
than the programmers means that the compiler should always have the
final word. Making things so just create gaps and misunderstandings
bewteen "programmers in the trenches" and implementors.
Ideally, there should be switches that enables the compiler to report
cases where it thinks it knows better than the programmer (no, the
current behaviour of -Winline does not cover that case).
-- Gaby