in search of clue regarding -fcheck-memory-usage
Mark Mitchell
mark@codesourcery.com
Mon Jan 22 10:25:00 GMT 2001
>>>>> "Tristan" == Tristan Gingold <tgi@netgem.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
Tristan> ?
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 mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list