[Bug c++/58591] GCC emits bad mangling for template function with a parameter pack

2013-10-04 Thread ccoutant at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58591 Cary Coutant changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/58591] GCC emits bad mangling for template function with a parameter pack

2013-10-04 Thread ccoutant at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58591 --- Comment #3 from Cary Coutant --- I think the template argument descriptors should be "I1AJiiEE". This produces a demangling that looks right: $ c++filt _Z9ConstructI1AJiiEEvPT_DpOT0_ void Construct(A*, int&&, int&&) And running this test cas

[Bug c++/58591] GCC emits bad mangling for template function with a parameter pack

2013-10-01 Thread ccoutant at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58591 --- Comment #2 from Cary Coutant --- I *think* the correct mangling should be this: $ c++filt _Z9ConstructI1AiiEvPT_DpOT0_ void Construct(A*, (int&&)...)

[Bug c++/58591] GCC emits bad mangling for template function with a parameter pack

2013-10-01 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58591 --- Comment #1 from Paul Pluzhnikov --- Google ref: b/10860844