This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37177] [c++0x] ICE on decltype(rel_ops::operator><int>);
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2009 03:54:11 -0000
- Subject: [Bug c++/37177] [c++0x] ICE on decltype(rel_ops::operator><int>);
- References: <bug-37177-14909@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jason at gcc dot gnu dot org 2009-10-08 03:54 -------
The reduced testcase is indeed valid, this is DR 115:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#115
However, rel_ops::operator><int> is ill-formed, because it has no operands of
class or enumeration type.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-08-29 05:42:33 |2009-10-08 03:54:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37177