This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
missing C++ typeinfo for __float128
- From: Roman Kononov <roman at binarylife dot net>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 12 Mar 2010 17:56:52 -0600
- Subject: missing C++ typeinfo for __float128
- Bcc: roman at binarylife dot net
Hi,
Typeinfo for __float128 is undefined. Is it a bug?
Thanks.
$ cat test.cpp
#include <string.h>
#include <typeinfo>
int main() {
return strlen(typeid(__float128).name());
}
$ g++ test.cpp
/tmp/ccw01pnm.o: In function `main':
test.cpp:(.text+0x5): undefined reference to `typeinfo for __float128'
collect2: ld returned 1 exit status
$ g++ --version | head -1
g++ (GCC) 4.5.0 20100312 (experimental)
$ g++ -dumpmachine
x86_64-unknown-linux-gnu
$ ld --version | head -1
GNU ld (GNU Binutils) 2.20.1.20100303