public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43621]  New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
@ 2010-04-01 22:52 zsojka at seznam dot cz
  2010-04-02  2:38 ` [Bug c++/43621] " hjl dot tools at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2010-04-01 22:52 UTC (permalink / raw)
  To: gcc-bugs

Command line:
g++ testcase.C

----- testcase.C -----
template <typename T>
class A {
  template <typename>
  A<T> A<T>::f();
};
----------------------

Tested revisions:
r157877 - crash
alpha20100325 - deadlock (without checking)
r153685 - OK
4.4 r157895 - OK

Compiler output:
$ /mnt/svn/gcc-trunk/binary-157877-lto/bin/g++ testcase.C
testcase.C:4:16: internal compiler error: in poplevel_class, at
cp/name-lookup.c:2615
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.5 Regression] ICE: in poplevel_class, at cp/name-
                    lookup.c:2615 with invalid qualified name
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug c++/43621] [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
@ 2010-04-02  2:38 ` hjl dot tools at gmail dot com
  2010-04-02 11:01 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-02  2:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-04-02 02:38 -------
It is caused by revision 156865:

http://gcc.gnu.org/ml/gcc-cvs/2010-02/msg00448.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-02 02:38:03
               date|                            |


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


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

* [Bug c++/43621] [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
  2010-04-02  2:38 ` [Bug c++/43621] " hjl dot tools at gmail dot com
@ 2010-04-02 11:01 ` rguenth at gcc dot gnu dot org
  2010-04-02 12:59 ` jason at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-02 11:01 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0


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


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

* [Bug c++/43621] [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
  2010-04-02  2:38 ` [Bug c++/43621] " hjl dot tools at gmail dot com
  2010-04-02 11:01 ` rguenth at gcc dot gnu dot org
@ 2010-04-02 12:59 ` jason at gcc dot gnu dot org
  2010-04-02 16:17 ` jason at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-04-02 12:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jason at gcc dot gnu dot org  2010-04-02 12:58 -------
Created an attachment (id=20289)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20289&action=view)
patch

Here's a patch for when 4.5 unfreezes.


-- 


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


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

* [Bug c++/43621] [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-04-02 12:59 ` jason at gcc dot gnu dot org
@ 2010-04-02 16:17 ` jason at gcc dot gnu dot org
  2010-04-03 17:17 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-04-02 16:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-04-02 02:38:03         |2010-04-02 16:17:22
               date|                            |


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


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

* [Bug c++/43621] [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-04-02 16:17 ` jason at gcc dot gnu dot org
@ 2010-04-03 17:17 ` rguenth at gcc dot gnu dot org
  2010-04-06 11:28 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-03 17:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/43621] [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-04-03 17:17 ` rguenth at gcc dot gnu dot org
@ 2010-04-06 11:28 ` rguenth at gcc dot gnu dot org
  2010-04-06 16:11 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-06 11:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-04-06 11:21 -------
GCC 4.5.0 is being released.  Deferring to 4.5.1.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.0                       |4.5.1


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


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

* [Bug c++/43621] [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-04-06 11:28 ` rguenth at gcc dot gnu dot org
@ 2010-04-06 16:11 ` jason at gcc dot gnu dot org
  2010-04-16 18:36 ` [Bug c++/43621] [4.5/4.6 " jason at gcc dot gnu dot org
  2010-05-04  4:43 ` jason at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-04-06 16:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jason at gcc dot gnu dot org  2010-04-06 16:11 -------
Subject: Bug 43621

Author: jason
Date: Tue Apr  6 16:10:47 2010
New Revision: 158006

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158006
Log:
        PR c++/43621
        * pt.c (maybe_update_decl_type): Check the return value from
        push_scope.

Added:
    trunk/gcc/testsuite/g++.dg/template/error-recovery2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/43621] [4.5/4.6 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2010-04-06 16:11 ` jason at gcc dot gnu dot org
@ 2010-04-16 18:36 ` jason at gcc dot gnu dot org
  2010-05-04  4:43 ` jason at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-04-16 18:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jason at gcc dot gnu dot org  2010-04-16 18:36 -------
Subject: Bug 43621

Author: jason
Date: Fri Apr 16 18:35:50 2010
New Revision: 158440

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158440
Log:
        PR c++/43621
        * pt.c (maybe_update_decl_type): Check the return value from
        push_scope.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/error-recovery2.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/pt.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/43621] [4.5/4.6 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name
  2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
                   ` (7 preceding siblings ...)
  2010-04-16 18:36 ` [Bug c++/43621] [4.5/4.6 " jason at gcc dot gnu dot org
@ 2010-05-04  4:43 ` jason at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-05-04  4:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jason at gcc dot gnu dot org  2010-05-04 04:43 -------
Fixed.


-- 

jason at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-05-04  4:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-01 22:52 [Bug c++/43621] New: [4.5 Regression] ICE: in poplevel_class, at cp/name-lookup.c:2615 with invalid qualified name zsojka at seznam dot cz
2010-04-02  2:38 ` [Bug c++/43621] " hjl dot tools at gmail dot com
2010-04-02 11:01 ` rguenth at gcc dot gnu dot org
2010-04-02 12:59 ` jason at gcc dot gnu dot org
2010-04-02 16:17 ` jason at gcc dot gnu dot org
2010-04-03 17:17 ` rguenth at gcc dot gnu dot org
2010-04-06 11:28 ` rguenth at gcc dot gnu dot org
2010-04-06 16:11 ` jason at gcc dot gnu dot org
2010-04-16 18:36 ` [Bug c++/43621] [4.5/4.6 " jason at gcc dot gnu dot org
2010-05-04  4:43 ` jason 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).