This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: std::pow implementation
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: Scott Robert Ladd <coyote at coyotegulch dot com>
- Cc: Martin Reinecke <martin at MPA-Garching dot MPG dot DE>, gcc at gcc dot gnu dot org
- Date: 30 Jul 2003 17:55:17 +0200
- Subject: Re: std::pow implementation
- References: <3F27BD38.8020009@mpa-garching.mpg.de> <3F27E78F.1090805@coyotegulch.com>
Op wo 30-07-2003, om 17:43 schreef Scott Robert Ladd:
> At the very least, a compiler should report when it has made a choice
> counter to the programmer's wishes. If I declare a function inline, and
> the compiler decides otherwise, it should inform me of its rebellion.
> Perhaps I'll even agree with it -- but I want to know when my tools make
> choices for me. I am writing the program, not the compiler.
I plan to split the function body size estimate code out in a separate
function (if no-one does so before me), that would be a first step
towards improving the messages you get from -Winline. Right now it just
tells you that it didn't inline something, but not why, so it's not very
helpful.
Gr.
Steven