re PR c++/70498 (Libiberty Demangler segfaults (3))
authorJakub Jelinek <jakub@redhat.com>
Thu, 19 May 2016 08:49:30 +0000 (10:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 19 May 2016 08:49:30 +0000 (10:49 +0200)
PR c++/70498
* cp-demangle.c (d_expression_1): Formatting fix.

From-SVN: r236445

libiberty/ChangeLog
libiberty/cp-demangle.c

index c398abd4f1818763a80ca8b06479f0cf4f2a8dfa..59ac8bea53c8de2d9531703cf70f2d6885b26263 100644 (file)
@@ -1,3 +1,8 @@
+2016-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/70498
+       * cp-demangle.c (d_expression_1): Formatting fix.
+
 2016-05-18  Artemiy Volkov  <artemiyv@acm.org>
 
        * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference
index aad0a5d565977077cbab1cce88658e75868f45a6..09d646994665ec692c78822320e37bca7e9d378e 100644 (file)
@@ -3181,7 +3181,7 @@ d_expression_1 (struct d_info *di)
          index = d_compact_number (di);
          if (index == INT_MAX || index == -1)
            return NULL;
-         index ++;
+         index++;
        }
       return d_make_function_param (di, index);
     }