backport patch to fix PR65177

        PR tree-optimization/65177
        * tree-ssa-threadupdate.c (verify_seme): Renamed verify_jump_thread.
        (bb_in_bbs): New.
        (duplicate_seme_region): Renamed duplicate_thread_path.  Redirect all
        edges not adjacent on the path to the original code.

        * gcc.dg/tree-ssa/ssa-dom-thread-10.c: New.
2 files changed
tree: 9a059b4050b7d2694e159ffe09c3e5097f997886
  1. gcc-4.8/
  2. gcc-4.9/
  3. build-gcc.sh
  4. build.py