public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code
@ 2005-07-24  7:23 pinskia at gcc dot gnu dot org
  2005-07-24  7:54 ` [Bug c++/23044] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-24  7:23 UTC (permalink / raw)
  To: gcc-bugs

This is reduced from PR 14719/18835:
struct no_context {
  template< class Event > void no_function( const Event & );
};
template< class Event, class Destination, class TransitionContext = no_context,
void ( TransitionContext::*pTransitionAction )( const Event & ) = &no_context::no_function< Event > >
struct transition
{
  struct EvFlipBit {};
  struct BitState{};
  template< class BitNo, class StateNo > struct FlipTransition {
    typedef transition<EvFlipBit, BitState> type;
  };
};

-- 
           Summary: [4.0/4.1 Regression] ICE on vaild code
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 18835
             nThis:


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
@ 2005-07-24  7:54 ` pinskia at gcc dot gnu dot org
  2005-07-24 14:08 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-24  7:54 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.2


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
  2005-07-24  7:54 ` [Bug c++/23044] " pinskia at gcc dot gnu dot org
@ 2005-07-24 14:08 ` pinskia at gcc dot gnu dot org
  2005-07-24 14:19 ` belyshev at depni dot sinp dot msu dot ru
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-24 14:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-24 14:06 -------
This was working on 20041124 but failing with 20050225.

Here is something a little smaller:
struct no_context {
  template< class Event > void no_function( const Event & );
};
template< class Event, class TransitionContext = no_context,
void ( TransitionContext::*pTransitionAction )( const Event & ) = &no_context::no_function< Event > >
struct transition
{
  struct EvFlipBit {};
  typedef transition<EvFlipBit> type;
};

-- 


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
  2005-07-24  7:54 ` [Bug c++/23044] " pinskia at gcc dot gnu dot org
  2005-07-24 14:08 ` pinskia at gcc dot gnu dot org
@ 2005-07-24 14:19 ` belyshev at depni dot sinp dot msu dot ru
  2005-07-24 14:22 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-07-24 14:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-07-24 14:15 -------
Confirmed, introduced between "2005-01-07 00:20 UTC" and "2005-01-08 00:20 UTC".

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-24 14:15:58
               date|                            |


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on vaild code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-07-24 14:19 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-07-24 14:22 ` pinskia at gcc dot gnu dot org
  2005-08-02 12:34 ` [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code nathan at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-24 14:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-24 14:19 -------
Caused by:
+2005-01-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/19298
+       * pt.c (tsubst_qualified_id): Call convert_from_reference.
+

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-07-24 14:22 ` pinskia at gcc dot gnu dot org
@ 2005-08-02 12:34 ` nathan at gcc dot gnu dot org
  2005-08-17  3:04 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-08-02 12:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-07-24 14:15:58         |2005-08-02 12:33:56
               date|                            |


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-08-02 12:34 ` [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code nathan at gcc dot gnu dot org
@ 2005-08-17  3:04 ` pinskia at gcc dot gnu dot org
  2005-08-23 12:38 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-17  3:04 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-08-17  3:04 ` pinskia at gcc dot gnu dot org
@ 2005-08-23 12:38 ` cvs-commit at gcc dot gnu dot org
  2005-08-23 12:39 ` nathan at gcc dot gnu dot org
  2005-08-23 12:42 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-23 12:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-23 12:36 -------
Subject: Bug 23044

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-08-23 12:35:42

Modified files:
	gcc/cp         : ChangeLog pt.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: instantiate8.C 

Log message:
	cp:
	PR c++/23044
	* pt.c (tsubst_qualified_id): A SCOPE_REF can still remain.
	testsuite:
	PR c++/23044
	* g++.dg/template/instantiate8.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4856&r2=1.4857
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.1024&r2=1.1025
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5953&r2=1.5954
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/instantiate8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-08-23 12:38 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-23 12:39 ` nathan at gcc dot gnu dot org
  2005-08-23 12:42 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-08-23 12:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-08-23 12:38 -------
fixed mainline and 4.0
2005-08-23  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/23044
	* pt.c (tsubst_qualified_id): A SCOPE_REF can still remain.



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


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


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

* [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code
  2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-08-23 12:39 ` nathan at gcc dot gnu dot org
@ 2005-08-23 12:42 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-23 12:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-23 12:39 -------
Subject: Bug 23044

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	nathan@gcc.gnu.org	2005-08-23 12:38:53

Modified files:
	gcc/cp         : ChangeLog pt.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: instantiate8.C 

Log message:
	cp:
	PR c++/23044
	* pt.c (tsubst_qualified_id): A SCOPE_REF can still remain.
	testsuite:
	PR c++/23044
	* g++.dg/template/instantiate8.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/instantiate8.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.80&r2=1.4648.2.81
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.978.2.17&r2=1.978.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.345&r2=1.5084.2.346



-- 


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


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

end of thread, other threads:[~2005-08-23 12:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-24  7:23 [Bug c++/23044] New: [4.0/4.1 Regression] ICE on vaild code pinskia at gcc dot gnu dot org
2005-07-24  7:54 ` [Bug c++/23044] " pinskia at gcc dot gnu dot org
2005-07-24 14:08 ` pinskia at gcc dot gnu dot org
2005-07-24 14:19 ` belyshev at depni dot sinp dot msu dot ru
2005-07-24 14:22 ` pinskia at gcc dot gnu dot org
2005-08-02 12:34 ` [Bug c++/23044] [4.0/4.1 Regression] ICE on valid code nathan at gcc dot gnu dot org
2005-08-17  3:04 ` pinskia at gcc dot gnu dot org
2005-08-23 12:38 ` cvs-commit at gcc dot gnu dot org
2005-08-23 12:39 ` nathan at gcc dot gnu dot org
2005-08-23 12:42 ` cvs-commit 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).