cppinit.c (cpp_start_read): Free the imacros list as we traverse it.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sat, 1 Sep 2001 10:22:17 +0000 (10:22 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 1 Sep 2001 10:22:17 +0000 (10:22 +0000)
commit53aabfbce906da1e583b951fd0b1ef0521e86d8f
treec8e77bbd1648ca6f454e28a95c6b55ed3309b279
parent058466a1a17e7d152d117faf9cec688167b76245
cppinit.c (cpp_start_read): Free the imacros list as we traverse it.

* cppinit.c (cpp_start_read): Free the imacros list as we
traverse it.  Don't free the chains before returning.
(_cpp_push_next_buffer): Only try pushing buffers if we've
completed -imacros handling.

From-SVN: r45349
gcc/ChangeLog
gcc/cppinit.c