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)
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

index bea09ffe3e4f3d110fa67d951c9ea9fd72421754..40b84dc04ab5f942de79978e561d21390b9a9986 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2011-04-04  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/48412