public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16593] New: ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944
@ 2004-07-16 19:25 wanderer at rsu dot ru
  2004-07-16 19:26 ` [Bug c++/16593] " wanderer at rsu dot ru
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: wanderer at rsu dot ru @ 2004-07-16 19:25 UTC (permalink / raw)
  To: gcc-bugs

Current CVS mainline G++ (gcc version 3.5.0 20040716) ICE at code:
---8X------------------------------
class C;

struct D {
  D() {}

  virtual ~D() {}
};

struct E : public D {
  void (C::*Impl)();

  E(void (C::*impl)())
      : Impl(impl) {}
};
---8X------------------------------

with message:
Test.cc:9: internal compiler error: vector VEC(tree) index domain error, in 
VEC_tree_index at cp/cp-tree.h:944
Please submit a full bug report,
with preprocessed source if appropriate.

-- 
           Summary: ICE: vector VEC(tree) index domain error, in
                    VEC_tree_index at cp/cp-tree.h:944
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wanderer at rsu dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-freebsd5.1
  GCC host triplet: i386-unknown-freebsd5.1
GCC target triplet: i386-unknown-freebsd5.1


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


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

* [Bug c++/16593] ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944
  2004-07-16 19:25 [Bug c++/16593] New: ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944 wanderer at rsu dot ru
@ 2004-07-16 19:26 ` wanderer at rsu dot ru
  2004-07-16 19:40 ` [Bug c++/16593] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: wanderer at rsu dot ru @ 2004-07-16 19:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wanderer at rsu dot ru  2004-07-16 19:26 -------
Created an attachment (id=6766)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6766&action=view)
test sources


-- 


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


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

* [Bug c++/16593] [3.5 Regression] ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944
  2004-07-16 19:25 [Bug c++/16593] New: ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944 wanderer at rsu dot ru
  2004-07-16 19:26 ` [Bug c++/16593] " wanderer at rsu dot ru
@ 2004-07-16 19:40 ` pinskia at gcc dot gnu dot org
  2004-07-17  3:09 ` pinskia at gcc dot gnu dot org
  2004-07-17  7:35 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-16 19:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-16 19:40 -------
hmm it worked on the 14th.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
           Keywords|                            |ice-on-valid-code
            Summary|ICE: vector VEC(tree) index |[3.5 Regression] ICE: vector
                   |domain error, in            |VEC(tree) index domain
                   |VEC_tree_index at cp/cp-    |error, in VEC_tree_index at
                   |tree.h:944                  |cp/cp-tree.h:944
   Target Milestone|---                         |3.5.0


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


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

* [Bug c++/16593] [3.5 Regression] ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944
  2004-07-16 19:25 [Bug c++/16593] New: ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944 wanderer at rsu dot ru
  2004-07-16 19:26 ` [Bug c++/16593] " wanderer at rsu dot ru
  2004-07-16 19:40 ` [Bug c++/16593] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-07-17  3:09 ` pinskia at gcc dot gnu dot org
  2004-07-17  7:35 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-17  3:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-17 03:09 -------
Confirmed.
This is caused by:
2004-07-15  Mark Mitchell  <mark@codesourcery.com>

        * cp-tree.h (lang_type_class): Remove has_real_assign_ref and
        has_abstract_assign_ref.  Make methods a VEC(tree) *.
        (TYPE_HAS_CONST_ASSIGN_REF): Add documentation.
        (CLASSTYPE_CONSTRUCTORS): Adjust for changes to CLASSTYPE_METHOD_VEC.
        (CLASSTYPE_DESTRUCTORS): Likewise.
        (TYPE_HAS_REAL_ASSIGN_REF): Remove.
        (TYPE_HAS_ABSTRACT_ASSIGN_REF): Likewise.
        (add_method): Change prototoype.
        * class.c (add_method): Remove error_p parameter.  Adjust for
        changes to CLASSTYPE_METHOD_VEC.
        (handle_using_decl): Adjust call to add_method.
        .....

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-17 03:09:18
               date|                            |


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


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

* [Bug c++/16593] [3.5 Regression] ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944
  2004-07-16 19:25 [Bug c++/16593] New: ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944 wanderer at rsu dot ru
                   ` (2 preceding siblings ...)
  2004-07-17  3:09 ` pinskia at gcc dot gnu dot org
@ 2004-07-17  7:35 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-07-17  7:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-07-17 07:35 -------
Already fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-07-17  7:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-16 19:25 [Bug c++/16593] New: ICE: vector VEC(tree) index domain error, in VEC_tree_index at cp/cp-tree.h:944 wanderer at rsu dot ru
2004-07-16 19:26 ` [Bug c++/16593] " wanderer at rsu dot ru
2004-07-16 19:40 ` [Bug c++/16593] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-17  3:09 ` pinskia at gcc dot gnu dot org
2004-07-17  7:35 ` mmitchel 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).