sure pointers within def_dec_p are valid before it is freed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6156
138bc75d-0d04-0410-961f-
82ee72b054a4
p--;
+#ifndef UNPROTOIZE
+ def_dec_p->f_list_chain = NULL;
+#endif /* !defined (UNPROTOIZE) */
+
while (p != ansi_start && (p[-1] == ' ' || p[-1] == '\t')) p--;
- if (p[-1] != ')')
+ if (*p != ')')
{
free_def_dec (def_dec_p);
return;
def_dec_p->f_list_count = 0;
-#ifndef UNPROTOIZE
- def_dec_p->f_list_chain = NULL;
-#endif /* !defined (UNPROTOIZE) */
-
for (;;)
{
const char *left_paren_p = find_corresponding_lparen (p);