https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78944

--- Comment #3 from Ivan Sorokin <vanyacpp at gmail dot com> ---
I retested these cases on a more recent version of binutils 2.27. It turned out
that the first three cases are fixed.

The last one still causes a crash. Here is a more simple reprocase:
$ c++filt _Z1fAqu4xxxx4yyyy4zzzz_i
f(int [xxxx?yyyy : zzzz])

$ c++filt _Z1fAqu4xxxx4yyyy4_i
Segmentation fault

The problem is that the parser builds ternary operation with NULL third
component and the printer crashes trying to print it.

Reply via email to