frontend-passes: (optimize_lexical_comparison): New function.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 4 Apr 2011 21:02:24 +0000 (21:02 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 4 Apr 2011 21:02:24 +0000 (21:02 +0000)
commit0bcd8186d956af873100b2e7698312e3bd8d5e8f
tree33e4fbea93bd0cc27f2a51c710795eb9a709a5a2
parent9046a4dcc9e0c7c94f5f917740097d954d2c868d
frontend-passes: (optimize_lexical_comparison): New function.

2010-04-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

* frontend-passes: (optimize_lexical_comparison): New function.
(optimize_expr): Call it.
(optimize_comparison): Also handle lexical comparison functions.
Return false instad of -2 for unequal comparison.

From-SVN: r171954
gcc/fortran/ChangeLog