[Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise

2005-06-14 Thread reichelt at gcc dot gnu dot org

--- Additional Comments From reichelt at gcc dot gnu dot org  2005-06-14 
08:24 ---


*** This bug has been marked as a duplicate of 20789 ***

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20668


[Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise

2005-06-14 Thread reichelt at gcc dot gnu dot org

--- Additional Comments From reichelt at gcc dot gnu dot org  2005-06-14 
08:22 ---
Fixed by Nathan's patch for PR 20789.
This looks indeed like a duplicate.

-- 
   What|Removed |Added

   Target Milestone|4.0.1   |3.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20668


[Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise

2005-04-11 Thread reichelt at gcc dot gnu dot org

--- Additional Comments From reichelt at gcc dot gnu dot org  2005-04-11 
20:23 ---
Even shorter testcase:

=
template struct A {};

template struct B
{
static const T i;
static const int j = i;
A a;
};

B b;
=


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20668


[Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise

2005-03-28 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-29 
01:33 ---
*** Bug 20676 has been marked as a duplicate of this bug. ***

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20668


[Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise

2005-03-28 Thread pinskia 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  struct f
{
  typedef int reference;
};
template struct bitset
{
  static const E lwb;
  static const long bitCount = int(lwb) + 1;
  typename f::reference operator[](int e);
};
bitset _gBitset;


-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Keywords|error-recovery  |
  Known to work||3.3.3
   Last reconfirmed|-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