This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50870] [C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Oct 2011 15:53:39 +0000
- Subject: [Bug c++/50870] [C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments
- Auto-submitted: auto-generated
- References: <bug-50870-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50870
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-10-28 15:53:39 UTC ---
(In reply to comment #4)
> HJ, any chance you can figure out when we regressed for testcase in Comment #3
> ?
I tried different versions of GCC, I got
pr50870.cc:8: error: expected type-specifier before âdecltypeâ
pr50870.cc:8: error: expected `>' before âdecltypeâ
pr50870.cc:12: error: template argument 4 is invalid
pr50870.cc:12: error: invalid type in declaration before â;â token