* tree-ssa-threadedge.c (thread_across_edge): Mark the start of
        the jump thread path properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205245 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree-ssa-threadupdate.c: Include tree-cfg.h and tree-pass.h
	(thread_block_1): Do not cancel jump threads which go from
	inside a loop, through the header, then back inside the loop.
	(bb_ends_with_multiway_branch): New function.
	(thread_through_all_blocks): Handle threading cases which start
	in a loop through the loop header to a point in the loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205246 138bc75d-0d04-0410-961f-82ee72b054a4