From: Jakub Jelinek Date: Thu, 19 May 2016 08:49:30 +0000 (+0200) Subject: re PR c++/70498 (Libiberty Demangler segfaults (3)) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1fe3c698f5400139a4a5bec73c4600da8858356;p=gcc.git re PR c++/70498 (Libiberty Demangler segfaults (3)) PR c++/70498 * cp-demangle.c (d_expression_1): Formatting fix. From-SVN: r236445 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index c398abd4f18..59ac8bea53c 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2016-05-19 Jakub Jelinek + + PR c++/70498 + * cp-demangle.c (d_expression_1): Formatting fix. + 2016-05-18 Artemiy Volkov * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index aad0a5d5659..09d64699466 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -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); }