This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11078] [ABI] decltype(T()) doesn't work
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2008 13:43:39 -0000
- Subject: [Bug c++/11078] [ABI] decltype(T()) doesn't work
- References: <bug-11078-6207@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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