aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/unit.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2014-03-12 13:59:03 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2014-03-12 13:59:03 +0100
commitbf4787b26777cad2bf7ed499248a350387366d9f (patch)
tree05765033e37c62eaaa2671e33349a3edc4370a9a /libgfortran/io/unit.c
parent7d55b94832e4c81e06cbc5007aa77ee31a8875a6 (diff)
downloadgcc-bf4787b26777cad2bf7ed499248a350387366d9f.zip
gcc-bf4787b26777cad2bf7ed499248a350387366d9f.tar.gz
gcc-bf4787b26777cad2bf7ed499248a350387366d9f.tar.bz2
tree-ssa-ifcombine.c (forwarder_block_to): New function.
* tree-ssa-ifcombine.c (forwarder_block_to): New function. (tree_ssa_ifcombine_bb_1): New function. (tree_ssa_ifcombine_bb): Use it. Handle also cases where else_bb is an empty forwarder block to then_bb or vice versa and then_bb and else_bb are effectively swapped. * gcc.dg/tree-ssa/ssa-ifcombine-12.c: New test. * gcc.dg/tree-ssa/ssa-ifcombine-13.c: New test. * gcc.dg/tree-ssa/phi-opt-2.c: Pass -mbranch-cost=1 if possible, only test for exactly one if if -mbranch-cost=1 has been passed. From-SVN: r208512
Diffstat (limited to 'libgfortran/io/unit.c')
0 files changed, 0 insertions, 0 deletions