$ cat tf-test.cpp
#include <typeinfo>
typedef float type __attribute__((__mode__(TF)));
int main() { return *(typeid(type).name()); }

$ g++ tf-test.cpp
/tmp/cc8RAh4o.o: In function `main':
tf-test.cpp:(.text+0x5): undefined reference to `typeinfo for __float128'
collect2: ld returned 1 exit status

$ cat ti-test.cpp
#include <typeinfo>
typedef int type __attribute__((__mode__(TI)));
int main() { return *(typeid(type).name()); }

$ g++ ti-test.cpp
/tmp/ccI1nTTK.o: In function `main':
ti-test.cpp:(.text+0x5): undefined reference to `typeinfo for __int128'
collect2: ld returned 1 exit status

$ g++ --version | head -1
g++ (GCC) 4.5.0 20100401 (experimental)


-- 
           Summary: no C++ typeinfo for __float128 and __int128
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: roman at binarylife dot net
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43622

Reply via email to