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: malloc attributes and realloc


Gabriel Dos Reis wrote:

I don't agree with all of his views, but I do find that we ought to
make GCC useful.

But that's a vacuous statement. No one is going to say "I disagree, GCC should be useless". The trouble comes from trading off two conflicting requirements to make GCC useful. On the one hand, there is a camp that says, GCC must perform well or it is useless, on the other hand, there is a camp that says, I don't want to get better performance at the cost of failing to do the intuitively right thing with my programs even if the language lawyers cannot guarantee it from the standard.

Balancing these two views is one of the difficult issues in writing
*any* compiler.



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