public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
[not found] <bug-20789-6594@http.gcc.gnu.org/bugzilla/>
@ 2005-10-16 1:25 ` gcc-bugzilla at gcc dot gnu dot org
0 siblings, 0 replies; 12+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2005-10-16 1:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from nathan at gcc dot gnu dot org 2005-07-12 11:29 -------
fixed on 4.0 branch
--
nathan at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (9 preceding siblings ...)
2005-07-12 11:31 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-12 11:47 ` nathan at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-07-12 11:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-12 11:29 -------
Subject: Bug 20789
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: nathan@gcc.gnu.org 2005-07-12 11:28:03
Modified files:
gcc/cp : ChangeLog class.c cp-tree.def cp-tree.h decl.c
decl2.c error.c method.c parser.c pt.c
semantics.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/overload: error1.C
gcc/testsuite/g++.dg/parse: crash11.C
gcc/testsuite/g++.old-deja/g++.benjamin: warn02.C
gcc/testsuite/g++.old-deja/g++.brendan: arm2.C
gcc/testsuite/g++.old-deja/g++.other: redecl2.C redecl4.C
gcc/testsuite/g++.old-deja/g++.pt: memtemp78.C
Added files:
gcc/testsuite/g++.dg/abi: covariant5.C
gcc/testsuite/g++.dg/init: member1.C
gcc/testsuite/g++.dg/other: crash-4.C
gcc/testsuite/g++.dg/parse: crash26.C defarg9.C
Log message:
cp:
PR c++/20678
* error.c (dump_expr) <COMPONENT_REF case>: Check DECL_NAME is not
null.
PR 21903
* cp-tree.def (DEFAULT_ARG): Document TREE_CHAIN use.
* parser.c (cp_parser_late_parsing_default_args): Propagate parsed
argument to any early instantiations.
* pt.c (tsubst_arg_types): Chain early instantiation of default
arg.
PR c++/20789
* decl.c (cp_finish_decl): Clear runtime runtime initialization if
in-class decl's initializer is bad.
PR c++/21929
* parser.c (struct cp_parser): Document that scope could be
error_mark.
(cp_parser_diagnose_invalid_type_name): Cope with error_mark for
scope.
(cp_parser_nested_name_specifier): Return NULL_TREE on error.
(cp_parser_postfix_expression): Deal with null or error_mark
scope.
(cp_parser_elaborated_type_specifier): Adjust
cp_parser_nested_name_specifier call.
PR c++/20746
* method.c (use_thunk): Protect covariant pointer return
adjustments from NULL pointers.
testsuite:
PR c++/20678
* g++.dg/other/crash-4.C: New.
PR 21903
* g++.dg/parse/defarg9.C: New.
PR c++/21929
* g++.dg/parse/crash26.C: New.
PR c++/20789
* g++.dg/init/member1.C: New.
PR c++/20746
* g++.dg/abi/covariant5.C: New.
Patches:
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.63&r2=1.4648.2.64
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.707.2.3&r2=1.707.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.def.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.94.4.2&r2=1.94.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1106.2.8&r2=1.1106.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1371.2.14&r2=1.1371.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.770.2.2&r2=1.770.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.279.2.1&r2=1.279.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/method.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.322.4.4&r2=1.322.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.319.2.10&r2=1.319.2.11
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.12&r2=1.978.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.463.2.4&r2=1.463.2.5
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.268&r2=1.5084.2.269
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/abi/covariant5.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/member1.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/crash-4.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/overload/error1.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2&r2=1.2.112.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash26.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/defarg9.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash11.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4&r2=1.4.28.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/warn02.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4&r2=1.4.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.brendan/arm2.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/redecl2.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/redecl4.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2&r2=1.2.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.76.1
------- Additional Comments From nathan at gcc dot gnu dot org 2005-07-12 11:29 -------
fixed on 4.0 branch
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (8 preceding siblings ...)
2005-07-12 11:21 ` nathan at codesourcery dot com
@ 2005-07-12 11:31 ` cvs-commit at gcc dot gnu dot org
2005-07-12 11:47 ` nathan at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-12 11:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-12 11:29 -------
Subject: Bug 20789
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: nathan@gcc.gnu.org 2005-07-12 11:28:03
Modified files:
gcc/cp : ChangeLog class.c cp-tree.def cp-tree.h decl.c
decl2.c error.c method.c parser.c pt.c
semantics.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/overload: error1.C
gcc/testsuite/g++.dg/parse: crash11.C
gcc/testsuite/g++.old-deja/g++.benjamin: warn02.C
gcc/testsuite/g++.old-deja/g++.brendan: arm2.C
gcc/testsuite/g++.old-deja/g++.other: redecl2.C redecl4.C
gcc/testsuite/g++.old-deja/g++.pt: memtemp78.C
Added files:
gcc/testsuite/g++.dg/abi: covariant5.C
gcc/testsuite/g++.dg/init: member1.C
gcc/testsuite/g++.dg/other: crash-4.C
gcc/testsuite/g++.dg/parse: crash26.C defarg9.C
Log message:
cp:
PR c++/20678
* error.c (dump_expr) <COMPONENT_REF case>: Check DECL_NAME is not
null.
PR 21903
* cp-tree.def (DEFAULT_ARG): Document TREE_CHAIN use.
* parser.c (cp_parser_late_parsing_default_args): Propagate parsed
argument to any early instantiations.
* pt.c (tsubst_arg_types): Chain early instantiation of default
arg.
PR c++/20789
* decl.c (cp_finish_decl): Clear runtime runtime initialization if
in-class decl's initializer is bad.
PR c++/21929
* parser.c (struct cp_parser): Document that scope could be
error_mark.
(cp_parser_diagnose_invalid_type_name): Cope with error_mark for
scope.
(cp_parser_nested_name_specifier): Return NULL_TREE on error.
(cp_parser_postfix_expression): Deal with null or error_mark
scope.
(cp_parser_elaborated_type_specifier): Adjust
cp_parser_nested_name_specifier call.
PR c++/20746
* method.c (use_thunk): Protect covariant pointer return
adjustments from NULL pointers.
testsuite:
PR c++/20678
* g++.dg/other/crash-4.C: New.
PR 21903
* g++.dg/parse/defarg9.C: New.
PR c++/21929
* g++.dg/parse/crash26.C: New.
PR c++/20789
* g++.dg/init/member1.C: New.
PR c++/20746
* g++.dg/abi/covariant5.C: New.
Patches:
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.63&r2=1.4648.2.64
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.707.2.3&r2=1.707.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.def.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.94.4.2&r2=1.94.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1106.2.8&r2=1.1106.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1371.2.14&r2=1.1371.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.770.2.2&r2=1.770.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.279.2.1&r2=1.279.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/method.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.322.4.4&r2=1.322.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.319.2.10&r2=1.319.2.11
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.12&r2=1.978.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.463.2.4&r2=1.463.2.5
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.268&r2=1.5084.2.269
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/abi/covariant5.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/member1.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/crash-4.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/overload/error1.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2&r2=1.2.112.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash26.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/defarg9.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash11.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4&r2=1.4.28.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/warn02.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4&r2=1.4.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.brendan/arm2.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/redecl2.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/redecl4.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2&r2=1.2.76.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.pt/memtemp78.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.76.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (7 preceding siblings ...)
2005-07-12 10:53 ` reichelt at gcc dot gnu dot org
@ 2005-07-12 11:21 ` nathan at codesourcery dot com
2005-07-12 11:31 ` cvs-commit at gcc dot gnu dot org
2005-07-12 11:47 ` nathan at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: nathan at codesourcery dot com @ 2005-07-12 11:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From nathan at codesourcery dot com 2005-07-12 11:07 -------
Subject: Re: [4.0 regression] ICE with incomplete type in
template
reichelt at gcc dot gnu dot org wrote:
> ------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-12 10:48 -------
> Nathan, would you mind applying the patch to the 4.0 branch,
> since the branch is now open again? Thanks!
yes, I'm testing my jumbo set of patches there as I write :)
nathan
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (6 preceding siblings ...)
2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
@ 2005-07-12 10:53 ` reichelt at gcc dot gnu dot org
2005-07-12 11:21 ` nathan at codesourcery dot com
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-07-12 10:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-07-12 10:48 -------
Nathan, would you mind applying the patch to the 4.0 branch,
since the branch is now open again? Thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (5 preceding siblings ...)
2005-06-25 2:08 ` pinskia at gcc dot gnu dot org
@ 2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
2005-07-12 10:53 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:35 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (4 preceding siblings ...)
2005-06-21 16:56 ` pinskia at gcc dot gnu dot org
@ 2005-06-25 2:08 ` pinskia at gcc dot gnu dot org
2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-25 2:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-25 02:07 -------
*** Bug 22181 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |micha at lrde dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (3 preceding siblings ...)
2005-06-14 8:30 ` reichelt at gcc dot gnu dot org
@ 2005-06-21 16:56 ` pinskia at gcc dot gnu dot org
2005-06-25 2:08 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-21 16:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-21 16:56 -------
*** Bug 22137 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |Woebbeking at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
` (2 preceding siblings ...)
2005-06-14 8:24 ` reichelt at gcc dot gnu dot org
@ 2005-06-14 8:30 ` reichelt at gcc dot gnu dot org
2005-06-21 16:56 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-14 8:30 UTC (permalink / raw)
To: gcc-bugs
--
Bug 20789 depends on bug 17323, which changed state.
Bug 17323 Summary: [3.4/4.0/4.1 regression] ICE on invalid code if static member array initialized with size computed as division by zero
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17323
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
2005-06-13 16:36 ` [Bug c++/20789] [4.0 regression] ICE with incomplete type in template nathan at gcc dot gnu dot org
2005-06-13 17:20 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-14 8:24 ` reichelt at gcc dot gnu dot org
2005-06-14 8:30 ` reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-14 8:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-14 08:24 -------
*** Bug 20668 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
2005-06-13 16:36 ` [Bug c++/20789] [4.0 regression] ICE with incomplete type in template nathan at gcc dot gnu dot org
@ 2005-06-13 17:20 ` cvs-commit at gcc dot gnu dot org
2005-06-14 8:24 ` reichelt at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-13 17:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-13 17:20 -------
Subject: Bug 20789
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: nathan@gcc.gnu.org 2005-06-13 17:20:31
Modified files:
gcc/cp : decl.c ChangeLog
gcc/testsuite/g++.dg/other: warning1.C
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/init: member1.C
Log message:
cp:
PR c++/20789
* decl.c (cp_finish_decl): Clear runtime runtime initialization if
in-class decl's initializer is bad.
testsuite:
PR c++/20789
* g++.dg/init/member1.C: New.
* g++.dg/other/warning1.C: Adjust.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1174.2.35&r2=1.1174.2.36
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.225&r2=1.3892.2.226
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/member1.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/other/warning1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1&r2=1.1.48.1
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.404&r2=1.3389.2.405
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/20789] [4.0 regression] ICE with incomplete type in template
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
@ 2005-06-13 16:36 ` nathan at gcc dot gnu dot org
2005-06-13 17:20 ` cvs-commit at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-06-13 16:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From nathan at gcc dot gnu dot org 2005-06-13 16:36 -------
fixed mainline and 3.4
2005-06-13 Nathan Sidwell <nathan@codesourcery.com>
PR c++/20789
* decl.c (cp_finish_decl): Clear runtime runtime initialization if
in-class decl's initializer is bad.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4/4.0/4.1 regression] ICE|[4.0 regression] ICE with
|with incomplete type in |incomplete type in template
|template |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20789
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-10-16 1:25 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-20789-6594@http.gcc.gnu.org/bugzilla/>
2005-10-16 1:25 ` [Bug c++/20789] [4.0 regression] ICE with incomplete type in template gcc-bugzilla at gcc dot gnu dot org
2005-04-06 12:36 [Bug c++/20789] New: segv igodard at pacbell dot net
2005-06-13 16:36 ` [Bug c++/20789] [4.0 regression] ICE with incomplete type in template nathan at gcc dot gnu dot org
2005-06-13 17:20 ` cvs-commit at gcc dot gnu dot org
2005-06-14 8:24 ` reichelt at gcc dot gnu dot org
2005-06-14 8:30 ` reichelt at gcc dot gnu dot org
2005-06-21 16:56 ` pinskia at gcc dot gnu dot org
2005-06-25 2:08 ` pinskia at gcc dot gnu dot org
2005-07-08 1:35 ` mmitchel at gcc dot gnu dot org
2005-07-12 10:53 ` reichelt at gcc dot gnu dot org
2005-07-12 11:21 ` nathan at codesourcery dot com
2005-07-12 11:31 ` cvs-commit at gcc dot gnu dot org
2005-07-12 11:47 ` nathan 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).