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]

Re: in search of clue regarding -fcheck-memory-usage


>>>>> "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

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