Remove unnecessary fold_convert in gfc_(un)likely
authorJanne Blomqvist <jb@gcc.gnu.org>
Mon, 25 Sep 2017 06:44:18 +0000 (09:44 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Mon, 25 Sep 2017 06:44:18 +0000 (09:44 +0300)
commitb35659407b92cc26f48a9a8d5acad63d9c8b212b
treec10cbb87b837d2880be2ada079812ad92382caf6
parent28a8cba039962b22318bda9afb1daf26281dd521
Remove unnecessary fold_convert in gfc_(un)likely

This patch removes an unnecessary fold_convert to boolean_type_node at
the end of gfc_likely and gfc_unlikely.  It makes no difference to the
generated code, but makes tree dumps a little bit cleaner.

2017-09-25  Janne Blomqvist  <jb@gcc.gnu.org>
        * trans.c (gfc_unlikely): Remove unnecessary fold_convert.
        (gfc_likely): Likewise.

Regtested on x86_64-pc-linux-gnu.

From-SVN: r253132
gcc/fortran/ChangeLog
gcc/fortran/trans.c