This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23797] [3.4 Regression] ICE on typename outside template
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2005 10:54:30 -0000
- Subject: [Bug c++/23797] [3.4 Regression] ICE on typename outside template
- References: <bug-23797-1902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from reichelt at gcc dot gnu dot org 2005-10-14 10:54 -------
Changin to ice-on-valid-code, because Nathan stated in the patch
http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00712.html
> Note, we do not issue an error on the testcase, even though it uses typename outside of a
> template. DR 382 (http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#382), which
> is in ready status, will allow such uses, so it seems silly to me to become strict only to
> have to remove the strictness later.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797