Commit 386cfa6f by Andrew Pinski Committed by Andrew Pinski

re PR tree-optimization/23946 (ICE: verify_ssa failed ("definition ... follows the use"))

2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/23946
        * gcc.c-torture/compile/pr23946.c: New test.

2005-10-11  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/23946
        * tree-ssa-ccp.c (execute_fold_all_builtins): Call
        mark_new_vars_to_rename instead of update_stmt.

From-SVN: r105239
parent ace0544a
2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/23946
* tree-ssa-ccp.c (execute_fold_all_builtins): Call
mark_new_vars_to_rename instead of update_stmt.
2005-10-11 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/crti.s (__init, __fini): Renamed from _init, _fini.
......
2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/23946
* gcc.c-torture/compile/pr23946.c: New test.
2005-10-11 Jakub Jelinek <jakub@redhat.com>
* g++.dg/opt/mmx2.C: New test.
extern int foo (void);
int
avi_parse_comments (int fd, char *buf, int space_left)
{
int len = 0, readlen = 0, k;
char *data, *c, *d;
if (fd <= 0 || !buf || space_left <= 0)
return -1;
memset (buf, 0, space_left);
readlen = foo ();
if (!(data = malloc (readlen * sizeof (char) + 1)))
return -1;
c = data;
space_left--;
while (len < space_left)
{
if (!c || *c == '\0')
break;
else if (*c == 'I')
{
d = c + 4;
k = 0;
while (d[k] != '\r' && d[k] != '\n' && d[k] != '\0')
++k;
if (k >= space_left)
return len;
memcpy (buf + len, c, 4);
len += 4;
long2str (buf + len, k + 1);
len += 4;
memcpy (buf + len, d, k);
*(buf + len + k + 1) = '\0';
if ((k + 1) & 1)
{
k++;
*(buf + len + k + 1) = '\0';
}
len += k + 1;
while (*c != '\n' && *c != '\0')
++c;
if (*c != '\0')
++c;
else
break;
}
}
free (data);
return len;
}
......@@ -2460,7 +2460,7 @@ execute_fold_all_builtins (void)
gcc_assert (ok);
}
}
update_stmt (*stmtp);
mark_new_vars_to_rename (*stmtp);
if (maybe_clean_or_replace_eh_stmt (old_stmt, *stmtp)
&& tree_purge_dead_eh_edges (bb))
cfg_changed = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment