pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
[gcc.git] / gcc / cp / ChangeLog
index 92907b8d63872e1754978bc4b14f03c6503a92e4..1cb628dadc91b957ba30b9d1a385a52db3b8924a 100644 (file)
@@ -1,3 +1,19 @@
+2001-10-15  Richard Sandiford  <rsandifo@redhat.com>
+
+       * pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
+       (unify): Only handle MINUS_EXPR specially if the above flag is set
+       and the subtracted constant is 1.  Clear the flag on recursive calls.
+       Set it when unifying the maximum value in an INTEGER_TYPE's range.
+
+2001-10-15  Richard Sandiford  <rsandifo@redhat.com>
+
+       * decl.c (bad_specifiers): Don't allow exception specifications
+       on any typedefs.
+
+2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cp/lex.c (init_cp_pragma): Similarly.
+
 2001-10-13  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        * pt.c (lookup_template_class): Build complete template arguments