re PR fortran/52865 (GCC can't vectorize fortran loop but able to vectorize similar...
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Jan 2013 16:05:27 +0000 (17:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Jan 2013 16:05:27 +0000 (17:05 +0100)
commit8c01de7fb34ae3d5fbedc3377cf431aa34ebca64
tree65bbd29ce62f63c8255d1398996d1bb5aadc998f
parentcb9cf03b1dee7d180025763533904fe1c71907f4
re PR fortran/52865 (GCC can't vectorize fortran loop but able to vectorize similar c-loop)

PR fortran/52865
* trans-stmt.c (gfc_trans_do): Put countm1-- before conditional
and use value of countm1 before the decrement in the condition.

From-SVN: r195241
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c