This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2005 14:05:05 -0000
- Subject: [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise
- References: <20050328122137.20668.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-28 14:05 -------
Confirmed, reduced testcase:
template <long> struct f
{
typedef int reference;
};
template<typename E> struct bitset
{
static const E lwb;
static const long bitCount = int(lwb) + 1;
typename f<bitCount>::reference operator[](int e);
};
bitset<float> _gBitset;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords|error-recovery |
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-03-28 14:05:03
date| |
Summary|ICE (segv) |[3.4/4.0/4.1 Regression] ICE
| |on invalid code, value
| |dependent but invalid wise
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20668