cccp.c (argdata): Added free_ptr member.
authorMike Karr <mkarr@mathworks.com>
Thu, 2 Dec 1999 16:31:58 +0000 (16:31 +0000)
committerDave Brolley <brolley@gcc.gnu.org>
Thu, 2 Dec 1999 16:31:58 +0000 (11:31 -0500)
commit0e5732f2b545bdacb18461bbb28d36503cecfd98
treee4ec6d5ffc4e3d8b332654cbbed004c3c45a91c0
parentbc622faec91f80027c6dc146f9120fd50001d75a
cccp.c (argdata): Added free_ptr member.

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.

From-SVN: r30760
gcc/ChangeLog
gcc/cccp.c