This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19121] [4.0 Regression] ICE: in merge_alias_info, at tree-ssa-copy.c:236
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2004 02:25:20 -0000
- Subject: [Bug tree-optimization/19121] [4.0 Regression] ICE: in merge_alias_info, at tree-ssa-copy.c:236
- References: <20041221220253.19121.v.haisman@sh.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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