public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20668] New: ICE (segv)
@ 2005-03-28 12:21 igodard at pacbell dot net
  2005-03-28 12:23 ` [Bug c++/20668] " igodard at pacbell dot net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: igodard at pacbell dot net @ 2005-03-28 12:21 UTC (permalink / raw)
  To: gcc-bugs

 

-- 
           Summary: ICE (segv)
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] ICE (segv)
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
@ 2005-03-28 12:23 ` igodard at pacbell dot net
  2005-03-28 12:23 ` igodard at pacbell dot net
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: igodard at pacbell dot net @ 2005-03-28 12:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From igodard at pacbell dot net  2005-03-28 12:22 -------
Created an attachment (id=8471)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8471&action=view)
compiler output (-v)


-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] ICE (segv)
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
  2005-03-28 12:23 ` [Bug c++/20668] " igodard at pacbell dot net
@ 2005-03-28 12:23 ` igodard at pacbell dot net
  2005-03-28 13:07 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: igodard at pacbell dot net @ 2005-03-28 12:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From igodard at pacbell dot net  2005-03-28 12:23 -------
Created an attachment (id=8472)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8472&action=view)
source code (-save-temps, compressed)


-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] ICE (segv)
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
  2005-03-28 12:23 ` [Bug c++/20668] " igodard at pacbell dot net
  2005-03-28 12:23 ` igodard at pacbell dot net
@ 2005-03-28 13:07 ` pinskia at gcc dot gnu dot org
  2005-03-28 13:08 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-28 13:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8471|application/octet-stream    |text/plain
          mime type|                            |


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] ICE (segv)
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
                   ` (2 preceding siblings ...)
  2005-03-28 13:07 ` pinskia at gcc dot gnu dot org
@ 2005-03-28 13:08 ` pinskia at gcc dot gnu dot org
  2005-03-28 13:17 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-28 13:08 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] ICE (segv)
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
                   ` (3 preceding siblings ...)
  2005-03-28 13:08 ` pinskia at gcc dot gnu dot org
@ 2005-03-28 13:17 ` pinskia at gcc dot gnu dot org
  2005-03-28 14:05 ` [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-28 13:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.1.0 3.4.0


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
                   ` (4 preceding siblings ...)
  2005-03-28 13:17 ` pinskia at gcc dot gnu dot org
@ 2005-03-28 14:05 ` pinskia at gcc dot gnu dot org
  2005-03-29  1:33 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-28 14:05 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
                   ` (5 preceding siblings ...)
  2005-03-28 14:05 ` [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise pinskia at gcc dot gnu dot org
@ 2005-03-29  1:33 ` pinskia at gcc dot gnu dot org
  2005-04-11 20:23 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-29  1:33 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
                   ` (6 preceding siblings ...)
  2005-03-29  1:33 ` pinskia at gcc dot gnu dot org
@ 2005-04-11 20:23 ` reichelt at gcc dot gnu dot org
  2005-06-14  8:22 ` reichelt at gcc dot gnu dot org
  2005-06-14  8:24 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-04-11 20:23 UTC (permalink / raw)
  To: gcc-bugs


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

=================================
template<int> struct A {};

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

B<int> b;
=================================


-- 


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
                   ` (7 preceding siblings ...)
  2005-04-11 20:23 ` reichelt at gcc dot gnu dot org
@ 2005-06-14  8:22 ` reichelt at gcc dot gnu dot org
  2005-06-14  8:24 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-14  8:22 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise
  2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
                   ` (8 preceding siblings ...)
  2005-06-14  8:22 ` reichelt at gcc dot gnu dot org
@ 2005-06-14  8:24 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-14  8:24 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-06-14  8:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-28 12:21 [Bug c++/20668] New: ICE (segv) igodard at pacbell dot net
2005-03-28 12:23 ` [Bug c++/20668] " igodard at pacbell dot net
2005-03-28 12:23 ` igodard at pacbell dot net
2005-03-28 13:07 ` pinskia at gcc dot gnu dot org
2005-03-28 13:08 ` pinskia at gcc dot gnu dot org
2005-03-28 13:17 ` pinskia at gcc dot gnu dot org
2005-03-28 14:05 ` [Bug c++/20668] [3.4/4.0/4.1 Regression] ICE on invalid code, value dependent but invalid wise pinskia at gcc dot gnu dot org
2005-03-29  1:33 ` pinskia at gcc dot gnu dot org
2005-04-11 20:23 ` reichelt at gcc dot gnu dot org
2005-06-14  8:22 ` reichelt at gcc dot gnu dot org
2005-06-14  8:24 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).