This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50870] [C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]