This is the mail archive of the
mailing list for the GCC project.
Re: in search of clue regarding -fcheck-memory-usage
>>>>> "Tristan" == Tristan Gingold <email@example.com> writes:
Tristan> Being at the origin of the -fcheck-memory patches, I
Tristan> agree with you: it is too interleaved. I think a
Cool! That's nice of you to say.
Tristan> separate pass on tree is the right way to do the job (RTL
Tristan> is really too late), but is there a single point of entry
There is in C and C++ now. Look, for example, at cp/optimize.c to see
how inlining is done entirely on trees. You could do a similar pass
to add memory checking calls.
Mark Mitchell firstname.lastname@example.org
CodeSourcery, LLC http://www.codesourcery.com