GCC 3.3 release criteria

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Feb 25 11:30:00 GMT 2003


Steven Bosscher <s.bosscher@student.tudelft.nl> writes:

[...]

| Especially in C, people that do use "inline" probably have strong
| reasons for why they want to see this function be inlined.   For example
| in the kernel, they want to be able to control and predict what the
| compiler does with the code.  It this case it is a mistake on the
| compiler's part to think it can outsmart man.

Since the introduction of "inline" in "C with classes" (circa 1981),
there regularly have been arguments along the line that the next
version of the compiler will be able to do much better than the
programmer and inline would be useless as a keyword.  Alas, more than
twenty years after, the practice is that the compiler still has issues
with inline.

Yes, I would really love to see GCC perform better in this area, but I'm
skeptical about the pratical goal of making the keyword "inline" mean
nothing but "may violate the ODR". 


-- Gaby



More information about the Gcc mailing list