[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




------- Comment #28 from jason at gcc dot gnu dot org  2007-10-03 23:54 -------
Changing the testcase to use decltype instead of typeof produces this error
with current sources:

wa.C:2: sorry, unimplemented: zero-operand casts cannot be mangled due to a
defect in the C++ ABI

Now that we have decltype, I think we don't need to worry about mangling
typeof.  I'm just going to add a sorry to suggest that people use decltype
instead.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doug dot gregor at gmail dot
                   |                            |com
           Keywords|ice-on-valid-code           |rejects-valid
            Summary|[ABI] ICE in write_type with|[ABI] decltype(T()) doesn't
                   |typeof and templates        |work


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: