* cpptrad.c (_cpp_replacement_text_len): Add check for macro parameter count.
commit65688736c069de1727a6b561d4cdaa86cca2bb67
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Apr 2003 19:52:51 +0000 (22 19:52 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Apr 2003 19:52:51 +0000 (22 19:52 +0000)
tree29ae547a1ad3c6927d1542311de1a9b3f12eb215
parentbc205914531d551c6d7526da0ae70533b99c7a3c
    * cpptrad.c (_cpp_replacement_text_len): Add check for macro parameter count.
        (_cpp_copy_replacement_text): Same.

        * gcc.dg/cpp/trad/funlike-5.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65952 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpptrad.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c [new file with mode: 0644]