1999-12-02 Mike Karr <mkarr@mathworks.com>
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 1999 16:31:58 +0000 (16:31 +0000)
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 1999 16:31:58 +0000 (16:31 +0000)
commit91a70e60f146ebf0651f001e02b745eed36813fc
treee4ec6d5ffc4e3d8b332654cbbed004c3c45a91c0
parenta01dde0a547018727781f0a9022cab48d63d838d
1999-12-02  Mike Karr  <mkarr@mathworks.com>

* cccp.c (argdata): Added free_ptr member.
(macroexpand): Initialize free_ptr of each argument. When an
argument's buffers are freed, if the argument's free_ptr corresponds
to a buffer on the input stack, then return the free_ptr to that stack
frame, otherwise, free it.
(macarg): If an argument begins and ends on the same input stack level,
then transfer the free_ptr of that buffer to the argument in case
the stack is popped during the processing of a subsequent argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30760 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cccp.c