------- Comment #9 from and_j_rob at yahoo dot com  2010-05-03 07:22 -------
Created an attachment (id=20540)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20540&action=view)
Was a C/C++ comparison

I found a similar problem while comparing C/C++ complexes, I'm on a x86_64 mac,
and was trying to learn about how the ABI works (with the attached code) when I
stumbled upon this.

Here is an overview of different combinations of floats and languages.

complex<*>..|.C..............|.C++
------------+----------------+--------
long double.|.(good).........|.(good)
__float80...|.(syntax error).|.(good)
__float128..|.(syntax error).|.(internal compiler error)

the ICE is
test.cpp:25: internal compiler error: in write_builtin_type, at
cp/mangle.c:1793

so I think what caused the ICE was the std::complex<__float128> snippet.


-- 


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

Reply via email to