[Bug c++/11078] [ABI] decltype(T()) doesn't work

aldot at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 19 13:45:00 GMT 2008



------- Comment #29 from aldot at gcc dot gnu dot org  2008-08-19 13:43 -------
4.3.1 and later give:

GNU C++ (Debian 4.3.1-8) version 4.3.1 (i486-linux-gnu)
        compiled by GNU C version 4.3.1, GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 1a96b3b5ffa5cfd9037de3acec5e6692
known.C: In instantiation of ‘__typeof__ ((T1() + T2())) add(T1, T2) [with T1 =
double, T2 = char]Â’:
known.C:3:   instantiated from here
known.C:2: sorry, unimplemented: mangling typeof, use decltype instead


-- 

aldot at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.1


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



More information about the Gcc-bugs mailing list