]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-common.c (shorten_compare): Get the min/max value from the underlying type of an...
authorCharles G Waldman <cgw@alum.mit.edu>
Tue, 16 Feb 1999 00:39:51 +0000 (17:39 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 16 Feb 1999 00:39:51 +0000 (17:39 -0700)

        * c-common.c (shorten_compare): Get the min/max value from the
        underlying type of an enumeration, not the enumerated type itself.

From-SVN: r25226

gcc/ChangeLog

index 5f11bfeacab7cb87fc9a2cc1afa1ac2345299236..3687f136fede4c1113ad4cf57b0dbc0df97086b3 100644 (file)
@@ -1,3 +1,8 @@
+Tue Feb 16 01:37:33 1999  Charles G Waldman  <cgw@alum.mit.edu>
+
+       * c-common.c (shorten_compare): Get the min/max value from the
+       underlying type of an enumeration, not the enumerated type itself.
+
 Mon Feb 15 11:33:51 1999  Jeffrey A Law  (law@cygnus.com)
 
        * jump.c: Include insn-attr.h.