Commit 5521cae9 by Sebastian Pop Committed by Sebastian Pop

Fix PR44363: don't abort when the ifcvt analysis fails to recognize a Gimple stmt.

2010-06-02  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/44363
	* tree-if-conv.c (predicate_bbs): Do not call gcc_unreachable,
	return false instead.

From-SVN: r160163
parent 437ffe7b
2010-06-02 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/44363
* tree-if-conv.c (predicate_bbs): Do not call gcc_unreachable,
return false instead.
2010-06-02 Jan Hubicka <jh@suse.cz>
PR middle-end/44295
......
......@@ -483,8 +483,8 @@ get_loop_body_in_if_conv_order (const struct loop *loop)
| else
| S2;
S1 will be predicated with "x", and S2 will be predicated with
"!x". */
S1 will be predicated with "x", and
S2 will be predicated with "!x". */
static bool
predicate_bbs (loop_p loop)
......@@ -546,12 +546,9 @@ predicate_bbs (loop_p loop)
break;
}
case GIMPLE_SWITCH:
default:
/* Not handled yet in if-conversion. */
return false;
default:
gcc_unreachable ();
}
}
......
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