* [Bug c++/13968] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
@ 2004-02-01 23:50 ` rwgk at yahoo dot com
2004-02-02 0:43 ` giovannibajo at libero dot it
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rwgk at yahoo dot com @ 2004-02-01 23:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rwgk at yahoo dot com 2004-02-01 23:50 -------
Created an attachment (id=5638)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5638&action=view)
Preprocessed source, gzipped
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
2004-02-01 23:50 ` [Bug c++/13968] " rwgk at yahoo dot com
@ 2004-02-02 0:43 ` giovannibajo at libero dot it
2004-02-02 4:19 ` [Bug c++/13968] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2004-02-02 0:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-02-02 00:43 -------
Mark, a fallout of your work on uses_template_parms.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mmitchel at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-02-02 00:43:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
2004-02-01 23:50 ` [Bug c++/13968] " rwgk at yahoo dot com
2004-02-02 0:43 ` giovannibajo at libero dot it
@ 2004-02-02 4:19 ` pinskia at gcc dot gnu dot org
2004-02-02 20:27 ` dberlin at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-02 4:19 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |ice-on-valid-code
Summary|Internal compiler error |[3.4/3.5 Regression]
|while compiling Boost |Internal compiler error
|library |while compiling Boost
| |library
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
` (2 preceding siblings ...)
2004-02-02 4:19 ` [Bug c++/13968] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-02-02 20:27 ` dberlin at gcc dot gnu dot org
2004-02-03 8:32 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2004-02-02 20:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at gcc dot gnu dot org 2004-02-02 20:27 -------
This patch will fix it, for example. I believe Mark should know what the right thing to do in this case is,
if not this
Index: pt.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/cp/pt.c,v
retrieving revision 1.821
diff -u -3 -p -r1.821 pt.c
--- pt.c 26 Jan 2004 17:41:50 -0000 1.821
+++ pt.c 2 Feb 2004 20:19:46 -0000
@@ -4744,6 +4744,8 @@ uses_template_parms (tree t)
|| value_dependent_expression_p (t));
else if (t == error_mark_node)
dependent_p = false;
+ else if (TREE_CODE (t) == IDENTIFIER_NODE)
+ dependent_p = false;
else
abort ();
processing_template_decl = saved_processing_template_decl;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
` (3 preceding siblings ...)
2004-02-02 20:27 ` dberlin at gcc dot gnu dot org
@ 2004-02-03 8:32 ` pinskia at gcc dot gnu dot org
2004-02-03 16:12 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-03 8:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-03 08:32 -------
: Search converges between 2004-01-27-trunk (#491) and 2004-01-28-trunk (#492).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
` (4 preceding siblings ...)
2004-02-03 8:32 ` pinskia at gcc dot gnu dot org
@ 2004-02-03 16:12 ` cvs-commit at gcc dot gnu dot org
2004-02-03 16:53 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-03 16:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-03 16:12 -------
Subject: Bug 13968
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-02-03 16:12:33
Modified files:
gcc : ChangeLog tree.c tree.h
gcc/testsuite/g++.old-deja/g++.robertl: eb125.C
gcc/cp : ChangeLog parser.c pt.c semantics.c
Added files:
gcc/testsuite/g++.dg/template: crash17.C koenig4.C
Log message:
PR c++/13975
* tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
TI_PRIVATE.
(access_public_node): Redefine.
(access_protected_node): Likewise.
(access_private_node): Likewise.
* tree.c (build_common_tree_nodes): Create access_public_node,
access_protected_node, and access_private_node.
PR c++/13978
* pt.c (build_non_dependent_expr): Do not build
NON_DEPENDENT_EXPRs for FUNCTION_DECLs or TEMPLATE_DECLs.
PR c++/13968
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a VAR_DECL.
PR c++/13975
* parser.c (cp_parser_simple_declaration): When skipping to the
end of the statement swallow the terminating semicolon.
PR c++/13978
* g++.dg/template/koenig4.C: New test.
PR c++/13968
* g++.dg/template/crash17.C: New test.
PR c++/13975
* g++.dg/parse/error13.C: New test.
* g++.old-deja/g++.robertl/eb125.C: Tweak error messages.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.136&r2=2.2326.2.137
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.342.2.1&r2=1.342.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.458&r2=1.458.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.6&r2=1.6.16.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.28&r2=1.3892.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.157.2.7&r2=1.157.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.816.2.7&r2=1.816.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.381.4.5&r2=1.381.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash17.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/koenig4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
` (5 preceding siblings ...)
2004-02-03 16:12 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-03 16:53 ` cvs-commit at gcc dot gnu dot org
2004-02-03 16:54 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-03 16:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-03 16:53 -------
Subject: Bug 13968
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-02-03 16:53:28
Modified files:
gcc : ChangeLog tree.c tree.h
gcc/testsuite/g++.old-deja/g++.robertl: eb125.C
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog parser.c pt.c semantics.c
Added files:
gcc/testsuite/g++.dg/template: crash17.C koenig4.C
Log message:
PR c++/13975
* tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
TI_PRIVATE.
(access_public_node): Redefine.
(access_protected_node): Likewise.
(access_private_node): Likewise.
* tree.c (build_common_tree_nodes): Create access_public_node,
access_protected_node, and access_private_node.
PR c++/13978
* pt.c (build_non_dependent_expr): Do not build
NON_DEPENDENT_EXPRs for FUNCTION_DECLs or TEMPLATE_DECLs.
PR c++/13968
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a VAR_DECL.
PR c++/13975
* parser.c (cp_parser_simple_declaration): When skipping to the
end of the statement swallow the terminating semicolon.
PR c++/13978
* g++.dg/template/koenig4.C: New test.
PR c++/13968
* g++.dg/template/crash17.C: New test.
PR c++/13975
* g++.dg/parse/error13.C: New test.
* g++.old-deja/g++.robertl/eb125.C: Tweak error messages.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2622&r2=2.2623
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.344&r2=1.345
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.459&r2=1.460
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3457&r2=1.3458
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3925&r2=1.3926
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.165&r2=1.166
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.825&r2=1.826
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.386&r2=1.387
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash17.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/koenig4.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
` (6 preceding siblings ...)
2004-02-03 16:53 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-03 16:54 ` cvs-commit at gcc dot gnu dot org
2004-02-03 16:57 ` mmitchel at gcc dot gnu dot org
2004-02-08 19:12 ` mmitchel at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-03 16:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-03 16:54 -------
Subject: Bug 13968
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-02-03 16:53:57
Modified files:
gcc/testsuite : ChangeLog
Log message:
PR c++/13975
* tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
TI_PRIVATE.
(access_public_node): Redefine.
(access_protected_node): Likewise.
(access_private_node): Likewise.
* tree.c (build_common_tree_nodes): Create access_public_node,
access_protected_node, and access_private_node.
PR c++/13978
* pt.c (build_non_dependent_expr): Do not build
NON_DEPENDENT_EXPRs for FUNCTION_DECLs or TEMPLATE_DECLs.
PR c++/13968
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a VAR_DECL.
PR c++/13975
* parser.c (cp_parser_simple_declaration): When skipping to the
end of the statement swallow the terminating semicolon.
PR c++/13978
* g++.dg/template/koenig4.C: New test.
PR c++/13968
* g++.dg/template/crash17.C: New test.
PR c++/13975
* g++.dg/parse/error13.C: New test.
* g++.old-deja/g++.robertl/eb125.C: Tweak error messages.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.44&r2=1.3389.2.45
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
` (7 preceding siblings ...)
2004-02-03 16:54 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-03 16:57 ` mmitchel at gcc dot gnu dot org
2004-02-08 19:12 ` mmitchel at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-02-03 16:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-02-03 16:57 -------
Fixed in GCC 3.4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/13968] [3.4/3.5 Regression] Internal compiler error while compiling Boost library
2004-02-01 23:47 [Bug c++/13968] New: Internal compiler error while compiling Boost library rwgk at yahoo dot com
` (8 preceding siblings ...)
2004-02-03 16:57 ` mmitchel at gcc dot gnu dot org
@ 2004-02-08 19:12 ` mmitchel at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-02-08 19:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-02-08 19:12 -------
Fixed in GCC 3.4.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13968
^ permalink raw reply [flat|nested] 11+ messages in thread