public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12699] New: [g++ 3.4] ICE  in get_vcall_index
@ 2003-10-21  5:52 grigory at stl dot sarov dot ru
  2003-10-21 13:33 ` [Bug c++/12699] " bangerth at dealii dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: grigory at stl dot sarov dot ru @ 2003-10-21  5:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [g++ 3.4] ICE  in get_vcall_index
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: grigory at stl dot sarov dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-redhat-linux
  GCC host triplet: i686-redhat-linux
GCC target triplet: i686-redhat-linux

G++ 3.4 gives ICE on the the test-case listed below. This happens both on i686-
redhat-linux and ia64-suse-linux.

$ g++ -c ice.cpp
ice.cpp:14: internal compiler error: in get_vcall_index, at cp/class.c:2100
Please submit a full bug report,
with preprocessed source if appropriate.

$ cat ice.cpp
	struct c1 {
	    virtual void f1() const {};
	};
	
	struct c5 {};
	
	struct c6 : virtual c1 {
	  virtual c5* f33() const {};
	};
	
	struct c13 : virtual c5 { };
	
	struct c17 : virtual c6
	{
	  virtual c13* f33() const {};
	};


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

* [Bug c++/12699] [g++ 3.4] ICE  in get_vcall_index
  2003-10-21  5:52 [Bug c++/12699] New: [g++ 3.4] ICE in get_vcall_index grigory at stl dot sarov dot ru
@ 2003-10-21 13:33 ` bangerth at dealii dot org
  2003-10-21 13:51 ` [Bug c++/12699] " nathan at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2003-10-21 13:33 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-21 13:32:35
               date|                            |


------- Additional Comments From bangerth at dealii dot org  2003-10-21 13:32 -------
Confirmed.


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

* [Bug c++/12699] ICE  in get_vcall_index
  2003-10-21  5:52 [Bug c++/12699] New: [g++ 3.4] ICE in get_vcall_index grigory at stl dot sarov dot ru
  2003-10-21 13:33 ` [Bug c++/12699] " bangerth at dealii dot org
@ 2003-10-21 13:51 ` nathan at gcc dot gnu dot org
  2003-10-24  8:09 ` nathan at gcc dot gnu dot org
  2003-12-04  9:47 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-10-21 13:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


nathan at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
           Severity|normal                      |critical
             Status|NEW                         |ASSIGNED
           Priority|P2                          |P1


------- Additional Comments From nathan at gcc dot gnu dot org  2003-10-21 13:50 -------
This is possibly an ABI problem, so upping priority


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

* [Bug c++/12699] ICE  in get_vcall_index
  2003-10-21  5:52 [Bug c++/12699] New: [g++ 3.4] ICE in get_vcall_index grigory at stl dot sarov dot ru
  2003-10-21 13:33 ` [Bug c++/12699] " bangerth at dealii dot org
  2003-10-21 13:51 ` [Bug c++/12699] " nathan at gcc dot gnu dot org
@ 2003-10-24  8:09 ` nathan at gcc dot gnu dot org
  2003-12-04  9:47 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-10-24  8:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


nathan at gcc dot gnu dot org changed:

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


------- Additional Comments From nathan at gcc dot gnu dot org  2003-10-24 08:09 -------
2003-10-24  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/12698, c++/12699, c++/12700, c++/12566
	* cp-tree.h (THUNK_ALIAS_P, THUNK_ALIAS): New.
	(debug_class, debug_thunks): New.
	* class.c (dump_class_hierarchy_1): New break out from ...
	(dump_class_hierarchy): ... here.
	(dump_thunk, debug_thunks, debug_class): New.
	(update_vtable_entry_for_fn): Add ssizetype casts. Correct
	continued search for primary binfo via virtual.
	(build_vtbl_initializer): Follow covariant thunk alias.
	* method.c (make_thunk): Clear DECL_THUNKS of the thunk.
	(finish_thunk): Look for an alias of the covariant thunk and point
	to it.
	(use_thunk): We should never use an alias.
	* semantics.c (emit_associated_thunks): Do not emit aliases.

	PR c++/12566
	* cp-tree.h (cp_fname_init): Add TYPE pointer param.
	* decl.c (cp_fname_init): Add TYPE pointer param. Set it. Don't
	create an ad-hoc ERROR_MARK.
	(cp_make_fname_decl): Adjust.
	* pt.c (tsubst_expr): Adjust.


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

* [Bug c++/12699] ICE  in get_vcall_index
  2003-10-21  5:52 [Bug c++/12699] New: [g++ 3.4] ICE in get_vcall_index grigory at stl dot sarov dot ru
                   ` (2 preceding siblings ...)
  2003-10-24  8:09 ` nathan at gcc dot gnu dot org
@ 2003-12-04  9:47 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-04  9:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


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


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

end of thread, other threads:[~2003-12-04  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-21  5:52 [Bug c++/12699] New: [g++ 3.4] ICE in get_vcall_index grigory at stl dot sarov dot ru
2003-10-21 13:33 ` [Bug c++/12699] " bangerth at dealii dot org
2003-10-21 13:51 ` [Bug c++/12699] " nathan at gcc dot gnu dot org
2003-10-24  8:09 ` nathan at gcc dot gnu dot org
2003-12-04  9:47 ` pinskia 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).