[Bug binutils/11436] c++filt does not support the C++0x lambdas of GCC 4.5
--- Additional Comments From bruno at clisp dot org 2010-03-27 10:43 --- Created an attachment (id=4684) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4684&action=view) test case -- http://sourceware.org/bugzilla/show_bug.cgi?id=11436 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/11436] New: c++filt does not support the C++0x lambdas of GCC 4.5
In version 2.20.1, c++filt does not know about the name mangling of C++0x lambda expression types that GCC 4.5.0 snapshot 20100322 supports. How to reproduce: - Install GCC 4.5.0 from source in the SVN. - Compile the attached program: $ g++ -O -S -std=c++0x lambda.cc $ c++filt < lambda.s | grep size Result is: .size _ZSt25__unguarded_linear_insertIPfZ7abssortS0_jEUlffE_EvT_T0_, .-_ZSt25__unguarded_linear_insertIPfZ7abssortS0_jEUlffE_EvT_T0_ .size _ZSt13__adjust_heapIPfifZ7abssortS0_jEUlffE_EvT_T0_S3_T1_T2_, .-_ZSt13__adjust_heapIPfifZ7abssortS0_jEUlffE_EvT_T0_S3_T1_T2_ .size _ZSt16__introsort_loopIPfiZ7abssortS0_jEUlffE_EvT_S2_T0_T1_, .-_ZSt16__introsort_loopIPfiZ7abssortS0_jEUlffE_EvT_S2_T0_T1_ .size _ZSt16__insertion_sortIPfZ7abssortS0_jEUlffE_EvT_S2_T0_, .-_ZSt16__insertion_sortIPfZ7abssortS0_jEUlffE_EvT_S2_T0_ .size abssort(float*, unsigned int), .-abssort(float*, unsigned int) -- Summary: c++filt does not support the C++0x lambdas of GCC 4.5 Product: binutils Version: 2.20 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bruno at clisp dot org CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=11436 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/11436] c++filt does not support the C++0x lambdas of GCC 4.5
--- Additional Comments From hjl dot tools at gmail dot com 2010-03-27 14:07 --- FWIW, it works on trunk: void std::__unguarded_linear_insert(float*, abssort(float*, unsigned int)::{lambda(float, float)#1}), .-void std::__unguarded_linear_insert(float*, abssort(float*, unsigned int)::{lambda(float, float)#1}) .size void std::__adjust_heap(float*, int, float*, float, abssort(float*, unsigned int)::{lambda(float, float)#1}), .-void std::__adjust_heap(float*, int, float*, float, abssort(float*, unsigned int)::{lambda(float, float)#1}) .size void std::__introsort_loop(float*, abssort(float*, unsigned int)::{lambda(float, float)#1}, int, abssort(float*, unsigned int)::{lambda(float, float)#1}), .-void std::__introsort_loop(float*, abssort(float*, unsigned int)::{lambda(float, float)#1}, int, abssort(float*, unsigned int)::{lambda(float, float)#1}) .size void std::__insertion_sort(float*, abssort(float*, unsigned int)::{lambda(float, float)#1}, abssort(float*, unsigned int)::{lambda(float, float)#1}), .-void std::__insertion_sort(float*, abssort(float*, unsigned int)::{lambda(float, float)#1}, abssort(float*, unsigned int)::{lambda(float, float)#1}) -- http://sourceware.org/bugzilla/show_bug.cgi?id=11436 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils