* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
@ 2003-07-13 18:37 ` pinskia at physics dot uc dot edu
2003-07-13 18:46 ` pinskia at physics dot uc dot edu
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-13 18:37 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=11513
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-07-13 18:37:27
date| |
Summary|ICE in |[3.3/3.4 Regression] ICE in
|push_template_decl_real |push_template_decl_real
|cp/pt.c:2755, template |cp/pt.c:2755, template
|member functions |member functions
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-13 18:37 -------
I can confirm this on 2.95.3, 3.0.4, 3.2.3, 3.3.1 (20030707), and the mainline (20030713)
but it did not ICE with 2.91.66 so this is a regression from that. An old regression but still
a regression.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
2003-07-13 18:37 ` [Bug c++/11513] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu
@ 2003-07-13 18:46 ` pinskia at physics dot uc dot edu
2003-07-14 3:38 ` neroden at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-13 18:46 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=11513
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Priority|P2 |P1
Target Milestone|3.4 |3.3.1
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-13 18:46 -------
I had forgot to change the target milestone because it is a regression.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
2003-07-13 18:37 ` [Bug c++/11513] [3.3/3.4 Regression] " pinskia at physics dot uc dot edu
2003-07-13 18:46 ` pinskia at physics dot uc dot edu
@ 2003-07-14 3:38 ` neroden at gcc dot gnu dot org
2003-07-18 14:48 ` lerdsuwa at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-07-14 3:38 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=11513
------- Additional Comments From neroden at gcc dot gnu dot org 2003-07-14 03:38 -------
>I think the problem is in the PROCESSING_REAL_TEMPLATE_DECL_P() macro
>which gives the wrong result when within member template functions.
There are dozens of bug reports about member template functions. I wonder how
many of them are linked to the same problem?...
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (2 preceding siblings ...)
2003-07-14 3:38 ` neroden at gcc dot gnu dot org
@ 2003-07-18 14:48 ` lerdsuwa at gcc dot gnu dot org
2003-07-19 13:05 ` lerdsuwa at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-07-18 14:48 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=11513
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-07-18 14:48 -------
That problematic PROCESSING_REAL_TEMPLATE_DECL_P() macro
would be removed in 3.4 by my proposed fix to PR8442.
I am preparing an updated version now. Not sure about
the 3.3 branch though.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (3 preceding siblings ...)
2003-07-18 14:48 ` lerdsuwa at gcc dot gnu dot org
@ 2003-07-19 13:05 ` lerdsuwa at gcc dot gnu dot org
2003-07-20 11:01 ` lerdsuwa at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-07-19 13:05 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=11513
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-07-19 13:05 -------
Patch for 3.4 is posted:
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01960.html
For 3.3, I think we have to fix PROCESSING_REAL_TEMPLATE_DECL_P()
anyway, maybe in 3.3.2.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (4 preceding siblings ...)
2003-07-19 13:05 ` lerdsuwa at gcc dot gnu dot org
@ 2003-07-20 11:01 ` lerdsuwa at gcc dot gnu dot org
2003-07-20 11:01 ` lerdsuwa at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-07-20 11:01 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=11513
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-07-20 11:01 -------
Patch submitted for 3.3 and mainline:
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02009.html
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (5 preceding siblings ...)
2003-07-20 11:01 ` lerdsuwa at gcc dot gnu dot org
@ 2003-07-20 11:01 ` lerdsuwa at gcc dot gnu dot org
2003-07-23 20:58 ` drtr at dial dot pipex dot com
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-07-20 11:01 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=11513
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (6 preceding siblings ...)
2003-07-20 11:01 ` lerdsuwa at gcc dot gnu dot org
@ 2003-07-23 20:58 ` drtr at dial dot pipex dot com
2003-07-23 23:41 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: drtr at dial dot pipex dot com @ 2003-07-23 20:58 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=11513
------- Additional Comments From drtr at dial dot pipex dot com 2003-07-23 20:58 -------
Yes, that patch for 3.3 fixes my problem.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (7 preceding siblings ...)
2003-07-23 20:58 ` drtr at dial dot pipex dot com
@ 2003-07-23 23:41 ` mmitchel at gcc dot gnu dot org
2003-07-24 11:29 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-07-23 23:41 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=11513
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-07-23 23:41 -------
Kriang --
Your patch http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02009.html is OK for the
branch and the mainline. Would you please apply it, and move the target for
this PR to 3.4?
Thanks,
-- Mark
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.3/3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (8 preceding siblings ...)
2003-07-23 23:41 ` mmitchel at gcc dot gnu dot org
@ 2003-07-24 11:29 ` cvs-commit at gcc dot gnu dot org
2003-07-24 11:40 ` [Bug c++/11513] [3.4 " lerdsuwa at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-24 11:29 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=11513
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-24 11:29 -------
Subject: Bug 11513
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: lerdsuwa@gcc.gnu.org 2003-07-24 11:29:51
Modified files:
gcc/cp : ChangeLog cp-tree.h
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: crash8.C
Log message:
PR c++/11513
* cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): Use current_scope.
* g++.dg/template/crash8.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.187&r2=1.3076.2.188
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.776.2.28&r2=1.776.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.243&r2=1.2261.2.244
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash8.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (9 preceding siblings ...)
2003-07-24 11:29 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-24 11:40 ` lerdsuwa at gcc dot gnu dot org
2003-07-24 11:56 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-07-24 11:40 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=11513
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3/3.4 Regression] ICE in |[3.4 Regression] ICE in
|push_template_decl_real |push_template_decl_real
|cp/pt.c:2755, template |cp/pt.c:2755, template
|member functions |member functions
Target Milestone|3.3.1 |3.4
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-07-24 11:39 -------
Move target to 3.4. Patch committed to 3.3 (to be appeared in 3.3.1).
For 3.4, I'll apply the PROCESSING_REAL_TEMPLATE_DECL_P patch. The one
for PR8442 still has to wait for approval.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (10 preceding siblings ...)
2003-07-24 11:40 ` [Bug c++/11513] [3.4 " lerdsuwa at gcc dot gnu dot org
@ 2003-07-24 11:56 ` cvs-commit at gcc dot gnu dot org
2003-07-25 8:38 ` reichelt at gcc dot gnu dot org
2003-07-25 16:33 ` jbuck at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-24 11:56 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=11513
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-24 11:56 -------
Subject: Bug 11513
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: lerdsuwa@gcc.gnu.org 2003-07-24 11:56:33
Modified files:
gcc/cp : ChangeLog cp-tree.h
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: crash8.C
Log message:
PR c++/11513
* cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): Use current_scope.
* g++.dg/template/crash8.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3546&r2=1.3547
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.885&r2=1.886
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2914&r2=1.2915
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash8.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (11 preceding siblings ...)
2003-07-24 11:56 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-25 8:38 ` reichelt at gcc dot gnu dot org
2003-07-25 16:33 ` jbuck at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-07-25 8:38 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=11513
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-07-25 08:38 -------
Fixed for 3.3.1 and mainline.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/11513] [3.4 Regression] ICE in push_template_decl_real cp/pt.c:2755, template member functions
2003-07-13 16:24 [Bug c++/11513] New: ICE in push_template_decl_real cp/pt.c:2755, template member functions drtr at dial dot pipex dot com
` (12 preceding siblings ...)
2003-07-25 8:38 ` reichelt at gcc dot gnu dot org
@ 2003-07-25 16:33 ` jbuck at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2003-07-25 16: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=11513
jbuck at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |3.3.1
^ permalink raw reply [flat|nested] 15+ messages in thread