------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-22
02:25 -------
Reduced testcase (24 lines or so, yes it looks nothing like the original):
typedef struct interpreter {
char Itokenbuf[256];
} PerlInterpreter;
static inline void S_missingterm(char *s)
{
char tmpbuf[3] = "";
char q;
if (!s)
s = tmpbuf;
q = strchr(s,'"') ? '\'' : '"';
}
void S_scan_heredoc(PerlInterpreter *my_perl, char *s, int i)
{
char term;
term = *my_perl->Itokenbuf;
if (i)
{
*s = term;
S_missingterm(my_perl->Itokenbuf);
}
else
S_missingterm(my_perl->Itokenbuf);
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-22 02:25:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19121