tree-ssa-threadedge.c (thread_across_edge): Use foo.last () rather than foo[foo.lengt...
authorJeff Law <law@redhat.com>
Wed, 25 Sep 2013 15:33:34 +0000 (09:33 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 25 Sep 2013 15:33:34 +0000 (09:33 -0600)
commitaf33629e0a154de55f8b5c4459d9e09eee403b71
tree1dfdaa7e4acd2b6fce294316b85339816660856f
parented0d30514f77227b7d1d89c855f9791db102180e
tree-ssa-threadedge.c (thread_across_edge): Use foo.last () rather than foo[foo.length () - 1] to access last member in a vec.

        * tree-ssa-threadedge.c (thread_across_edge): Use foo.last () rather
        than foo[foo.length () - 1] to access last member in a vec.
        * tree-ssa-threadupdate.c (register_jump_thread): Similarly.

From-SVN: r202892
gcc/ChangeLog
gcc/tree-ssa-threadedge.c
gcc/tree-ssa-threadupdate.c