------- Comment #2 from joseph at codesourcery dot com 2007-06-02 20:09 ------- Subject: Re: Complex __float128 is rejected
On Sat, 2 Jun 2007, ubizjak at gmail dot com wrote: > Is this a parser problem? Compilation fails even for generic: > > --cut here-- > typedef float DFtype __attribute__((mode(DF))); > > __complex__ DFtype z; Of course, 6.7.2 paragraph 2 does not include _Complex typedef-name in the possible sets of type specifiers. __float128 is a built-in typedef, but there probably is a case for allowing certain such typedefs to be treated like keywords with regard to adding _Complex, signed or unsigned. You should be able to use typedef _Complex float TCtype __attribute__((mode(TC))); or similar to access _Complex __float128 at present. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32187