[Bug tree-optimization/25315] [4.2 regression] testsuite failure:27_io/basic_ostream/inserters_character/char/9555-oc.cc wchar_t/9555-oc.cc exec
amodra at bigpond dot net dot au
gcc-bugzilla@gcc.gnu.org
Sun Jan 22 13:00:00 GMT 2006
------- Comment #7 from amodra at bigpond dot net dot au 2006-01-22 13:00 -------
Dan Berlin suggested this patch on irc. (At least, this is how I remember the
sugestion..) Bootstrapped and reg tested powerpc64-linux. Cures the problem.
Index: gcc/tree-ssa-pre.c
===================================================================
--- gcc/tree-ssa-pre.c (revision 110074)
+++ gcc/tree-ssa-pre.c (working copy)
@@ -2745,6 +2745,8 @@ insert_extra_phis (basic_block block, ba
FOR_EACH_EDGE (e, ei, block->preds)
{
+ if (e->flags & EDGE_ABNORMAL)
+ return;
if (first)
{
bitmap_set_copy (tempset, AVAIL_OUT (e->src));
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25315
More information about the Gcc-bugs
mailing list