This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44175] [C++0x] decltype sometimes cannot recurse
- From: "potswa at mac dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2010 22:56:32 -0000
- Subject: [Bug c++/44175] [C++0x] decltype sometimes cannot recurse
- References: <bug-44175-18186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from potswa at mac dot com 2010-05-17 22:56 -------
Created an attachment (id=20690)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20690&action=view)
regression test using G++ typeof
Here is a version that doesn't require C++0x. It uses the typeof extension.
It compiles on Apple GCC 4.2.1 and crashes my 4.5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44175