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

Reply via email to