This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15696] [3.4/3.5 Regression] ICE with pointer-to-members
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2004 17:09:48 -0000
- Subject: [Bug c++/15696] [3.4/3.5 Regression] ICE with pointer-to-members
- References: <20040528014556.15696.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-05-31 17:09 -------
This code is invalid because [expr.mptr.operator] requires that .* expressions
naming a non-static member be used as part of a function call. Still, we should
not ICE.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15696