public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once
@ 2011-02-09 16:47 jakub at gcc dot gnu.org
  2011-02-09 16:49 ` [Bug c++/47666] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-09 16:47 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE in dfs_walk_once
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


template <typename T>
struct A
{
  int a;
};
template <typename T>
struct B : public A <T>
{
};
class D : public B <D *>
{
  virtual D & operator= (const D &);
};
class E : virtual public D
{
};
class F : public E
{
  virtual void foo ();
};

ICEs in dfs_walk_once, starting in between r161566 and r161597.


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

* [Bug c++/47666] [4.6 Regression] ICE in dfs_walk_once
  2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
@ 2011-02-09 16:49 ` jakub at gcc dot gnu.org
  2011-02-09 16:53 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-09 16:49 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |c++
   Target Milestone|---                         |4.6.0


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

* [Bug c++/47666] [4.6 Regression] ICE in dfs_walk_once
  2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
  2011-02-09 16:49 ` [Bug c++/47666] " jakub at gcc dot gnu.org
@ 2011-02-09 16:53 ` rguenth at gcc dot gnu.org
  2011-02-09 19:34 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-09 16:53 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.02.09 16:49:45
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-09 16:49:45 UTC ---
Confirmed.


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

* [Bug c++/47666] [4.6 Regression] ICE in dfs_walk_once
  2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
  2011-02-09 16:49 ` [Bug c++/47666] " jakub at gcc dot gnu.org
  2011-02-09 16:53 ` rguenth at gcc dot gnu.org
@ 2011-02-09 19:34 ` hjl.tools at gmail dot com
  2011-02-13 17:55 ` jsm28 at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-09 19:34 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-09 19:23:37 UTC ---
It is caused by revision 161579:

http://gcc.gnu.org/ml/gcc-cvs/2010-06/msg01497.html


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

* [Bug c++/47666] [4.6 Regression] ICE in dfs_walk_once
  2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-02-09 19:34 ` hjl.tools at gmail dot com
@ 2011-02-13 17:55 ` jsm28 at gcc dot gnu.org
  2011-02-18 21:02 ` dodji at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2011-02-13 17:55 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug c++/47666] [4.6 Regression] ICE in dfs_walk_once
  2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-02-13 17:55 ` jsm28 at gcc dot gnu.org
@ 2011-02-18 21:02 ` dodji at gcc dot gnu.org
  2011-02-22 20:24 ` dodji at gcc dot gnu.org
  2011-02-22 20:34 ` dodji at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-02-18 21:02 UTC (permalink / raw)
  To: gcc-bugs

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

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |dodji at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |dodji at gcc dot gnu.org
                   |gnu.org                     |


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

* [Bug c++/47666] [4.6 Regression] ICE in dfs_walk_once
  2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-02-18 21:02 ` dodji at gcc dot gnu.org
@ 2011-02-22 20:24 ` dodji at gcc dot gnu.org
  2011-02-22 20:34 ` dodji at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-02-22 20:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-22 19:53:16 UTC ---
Author: dodji
Date: Tue Feb 22 19:53:13 2011
New Revision: 170413

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170413
Log:
Fix PR c++/47666

gcc/cp/

    PR c++/47666
    * class.c (dfs_declare_virt_assop_and_dtor)
    (declare_virt_assop_and_dtor): New static functions.
    (add_implicitly_declared_members): Use
    declare_virt_assop_and_dtor.

gcc/testsuite/

    PR c++/47666
    * g++.dg/inherit/virtual7.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/inherit/virtual7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/47666] [4.6 Regression] ICE in dfs_walk_once
  2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2011-02-22 20:24 ` dodji at gcc dot gnu.org
@ 2011-02-22 20:34 ` dodji at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-02-22 20:34 UTC (permalink / raw)
  To: gcc-bugs

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

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

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

--- Comment #4 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-22 19:59:01 UTC ---
Fixed in trunk (4.6).


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

end of thread, other threads:[~2011-02-22 19:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 16:47 [Bug ada/47666] New: [4.6 Regression] ICE in dfs_walk_once jakub at gcc dot gnu.org
2011-02-09 16:49 ` [Bug c++/47666] " jakub at gcc dot gnu.org
2011-02-09 16:53 ` rguenth at gcc dot gnu.org
2011-02-09 19:34 ` hjl.tools at gmail dot com
2011-02-13 17:55 ` jsm28 at gcc dot gnu.org
2011-02-18 21:02 ` dodji at gcc dot gnu.org
2011-02-22 20:24 ` dodji at gcc dot gnu.org
2011-02-22 20:34 ` dodji at gcc dot gnu.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).