[Bug c++/87241] A hang problem for c++filt

2018-09-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87241

--- Comment #3 from Jonathan Wakely  ---
Yes, that's why I changed the status from UNCONFIRMED to NEW.

[Bug c++/87241] A hang problem for c++filt

2018-09-06 Thread poppeter1982 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87241

--- Comment #2 from Li Peng  ---
(In reply to Jonathan Wakely from comment #1)
> __cxa_demangle in cp-demangle.c correctly returns -2 (the mangled name is
> not valid) but cplus_demangle in cplus-dem.c tries to allocate crazy amounts
> of memory.

So you can confirm this is a bug, right?

[Bug c++/87241] A hang problem for c++filt

2018-09-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87241

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-09-06
 Ever confirmed|0   |1

--- Comment #1 from Jonathan Wakely  ---
__cxa_demangle in cp-demangle.c correctly returns -2 (the mangled name is not
valid) but cplus_demangle in cplus-dem.c tries to allocate crazy amounts of
memory.