[Bug other/61321] demangler crash on casts in template parameters

2016-05-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #21 from Jakub Jelinek --- Author: jakub Date: Thu May 19 12:04:11 2016 New Revision: 236455 URL: https://gcc.gnu.org/viewcvs?rev=236455&root=gcc&view=rev Log: Backported from mainline 2015-11-27 Pedro Alves

[Bug other/61321] demangler crash on casts in template parameters

2016-05-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #20 from Jakub Jelinek --- Author: jakub Date: Thu May 19 10:40:57 2016 New Revision: 236451 URL: https://gcc.gnu.org/viewcvs?rev=236451&root=gcc&view=rev Log: Backported from mainline 2015-11-27 Pedro Alves

[Bug other/61321] demangler crash on casts in template parameters

2016-05-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #19 from Jakub Jelinek --- Author: jakub Date: Thu May 19 09:55:01 2016 New Revision: 236449 URL: https://gcc.gnu.org/viewcvs?rev=236449&root=gcc&view=rev Log: Move ChangeLog entry to the right file. PR other/61321 PR

[Bug other/61321] demangler crash on casts in template parameters

2015-11-27 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 Mikhail Maltsev changed: What|Removed |Added CC||cas43 at cs dot stanford.edu --- Comme

[Bug other/61321] demangler crash on casts in template parameters

2015-11-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 Markus Trippelsdorf changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/61321] demangler crash on casts in template parameters

2015-11-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #16 from Markus Trippelsdorf --- Author: trippels Date: Fri Nov 27 14:48:21 2015 New Revision: 231020 URL: https://gcc.gnu.org/viewcvs?rev=231020&root=gcc&view=rev Log: PR other/61321 - demangler crash on casts in template parameters

[Bug other/61321] demangler crash on casts in template parameters

2015-11-26 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #15 from Markus Trippelsdorf --- Yet another example: template struct S {}; template S f() {} int main() {f();} (with Ian's go demangler:) markus@x4 tmp % c++filt_ _Z1fIiE1SIDTdecvPT_Li0EEEv S f() markus@x4 tmp % c++f

[Bug other/61321] demangler crash on casts in template parameters

2015-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #14 from Markus Trippelsdorf --- It was first reported in PR68159. I've opened PR68383 for the issue. The reporter is CCed in PR68383, so please ask him there directly.

[Bug other/61321] demangler crash on casts in template parameters

2015-11-17 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #13 from Ian Lance Taylor --- Was the symbol from comment #12, _ZSt7forwardIRKZN5Write14DataMapGrammarISt20back_insert_iteratorISsEEC4EvEUlRT_E_EOS5_RNSt16remove_referenceIS5_E4typeE, generated by g++ or clang? That is, is it suppose

[Bug other/61321] demangler crash on casts in template parameters

2015-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #12 from Markus Trippelsdorf --- _ZSt7forwardIRKZN5Write14DataMapGrammarISt20back_insert_iteratorISsEEC4EvEUlRT_E_EOS5_RNSt16remove_referenceIS5_E4typeE still recurses endless, even with your patch applied.

[Bug other/61321] demangler crash on casts in template parameters

2015-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #11 from Markus Trippelsdorf --- Any update, Pedro?

[Bug other/61321] demangler crash on casts in template parameters

2015-08-18 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 Mikhail Maltsev changed: What|Removed |Added CC||ian at airs dot com --- Comment #10 fr

[Bug other/61321] demangler crash on casts in template parameters

2015-07-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #9 from Markus Trippelsdorf --- *** Bug 63465 has been marked as a duplicate of this bug. ***

[Bug other/61321] demangler crash on casts in template parameters

2015-07-14 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #8 from Pedro Alves --- The patch was meanwhile approved: https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01247.html I'm afraid I won't have time to get back to this for at least a few weeks. If someone else could push it, I'd apprec

[Bug other/61321] demangler crash on casts in template parameters

2015-07-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #7 from Markus Trippelsdorf --- Pedro could you please ping your patch?

[Bug other/61321] demangler crash on casts in template parameters

2015-07-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug other/61321] demangler crash on casts in template parameters

2014-11-10 Thread ccoutant at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 Cary Coutant changed: What|Removed |Added CC||nheghathivhistha at gmail dot com --- Co

[Bug other/61321] demangler crash on casts in template parameters

2014-11-10 Thread ccoutant at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 Cary Coutant changed: What|Removed |Added CC||riku at multitaction dot com --- Comment

[Bug other/61321] demangler crash on casts in template parameters

2014-05-27 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #3 from Pedro Alves --- https://gcc.gnu.org/ml/gcc-patches/2014-05/msg02279.html

[Bug other/61321] demangler crash on casts in template parameters

2014-05-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/61321] demangler crash on casts in template parameters

2014-05-26 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #2 from Pedro Alves --- That worked. Running bootstrap/tests.

[Bug other/61321] demangler crash on casts in template parameters

2014-05-26 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #1 from Pedro Alves --- I think we need to distinguish conversion operators from expression casts. Working on a patch that adds: --- c/include/demangle.h +++ w/include/demangle.h @@ -373,6 +373,10 @@ enum demangle_component_type