diff options
author | Ben L <bobsayshilol@live.co.uk> | 2019-04-29 22:19:01 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-04-29 16:19:01 -0600 |
commit | 956bea2cd6110f104f12d5861143efc71213c140 (patch) | |
tree | 93fbd2fff674e214a9d87e8edd1a9bcb3689e160 /libiberty/testsuite/demangle-expected | |
parent | 7fb1d0214e4654bbecd212c7f0c2254398b46b13 (diff) | |
download | gcc-956bea2cd6110f104f12d5861143efc71213c140.zip gcc-956bea2cd6110f104f12d5861143efc71213c140.tar.gz gcc-956bea2cd6110f104f12d5861143efc71213c140.tar.bz2 |
cp-demangle.c (d_expression_1): Don't peek ahead unless the current char is valid.
* cp-demangle.c (d_expression_1): Don't peek ahead unless the current
char is valid.
* testsuite/demangle-expected: Add testcase.
From-SVN: r270664
Diffstat (limited to 'libiberty/testsuite/demangle-expected')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 3723b7a..328d51a 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -68,6 +68,10 @@ _$_H1R _Q8ccQ4M2e. _Q8ccQ4M2e. +# Could crash + +_ZmmAtl +_ZmmAtl # # demangler/80513 Test for bogus characters after __thunk_ |