[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-16 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #17 from Ian Lance Taylor 2010-11-16 14:51:44 UTC --- I have added this patch to the binutils 2.21 release branch, so it will be in the GNU binutils 2.21 release.

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-12 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Ian Lance Taylor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-12 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #15 from ian at gcc dot gnu.org 2010-11-13 01:21:17 UTC --- Author: ian Date: Sat Nov 13 01:21:12 2010 New Revision: 166695 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166695 Log: libiberty/: PR other/46332 * cp-dem

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-10 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #14 from Jonathan Wakely 2010-11-10 16:46:17 UTC --- Yep, looks right to me void (double) is a function type void (*)(double) is a pointer to such a function type void (&)(double) is a reference to such a type

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-10 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #13 from Benjamin Kosnik 2010-11-10 15:24:28 UTC --- > Should we change the expected demangling in 14.cc to > be void foo() or should we do something else. I think 14.cc should be foo(). Your change is ok with me. FWIW, this is als

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #12 from Paolo Carlini 2010-11-10 08:24:59 UTC --- IMHO, void (double) is fine for a function type: Ian's point about function type vs pointer to function type fully clarifies the issue for me. If currently the C++ front-end also uses

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|2010-11-09

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Benjamin Kosnik changed: What|Removed |Added CC||bkoz at gcc dot gnu.org --- Comment #10

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Ever Confirmed|1

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #8 from Paolo Carlini 2010-11-09 19:55:49 UTC --- Thanks.

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #7 from Ian Lance Taylor 2010-11-09 19:55:05 UTC --- Created attachment 22352 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22352 Possible patch This is the patch I tested which drops the inner "()".

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Paolo Carlini changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #5

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread gcc-bugzilla at contacts dot eelis.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #3 from Eelis 2010-11-09 17:26:40 UTC --- (In reply to comment #2) > I'm pretty sure to have seen this behavior mentioned already... You may be thinking of bug #36002. That one was about errors emitted during compilation, and has bee

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #2 from Paolo Carlini 2010-11-09 17:02:21 UTC --- Actually, if this happens also in error messages cannot be a demangler issue only. I'm pretty sure to have seen this behavior mentioned already... Ian, any hint?

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Paolo Carlini changed: What|Removed |Added CC||ian at airs dot com Component|li