* [Bug c++/19034] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
@ 2004-12-16 14:13 ` jttoivon at cc dot helsinki dot fi
2004-12-16 15:08 ` [Bug c++/19034] [3.4/4.0 Regression] " belyshev at lubercy dot com
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jttoivon at cc dot helsinki dot fi @ 2004-12-16 14:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jttoivon at cc dot helsinki dot fi 2004-12-16 14:12 -------
Created an attachment (id=7757)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7757&action=view)
source code that doesn't compile
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4/4.0 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
2004-12-16 14:13 ` [Bug c++/19034] " jttoivon at cc dot helsinki dot fi
@ 2004-12-16 15:08 ` belyshev at lubercy dot com
2004-12-16 15:21 ` belyshev at lubercy dot com
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-16 15:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-12-16 15:08 -------
// reduced testcase
template< bool C > struct B
{
};
template<typename S> int foo();
template<typename S> int foo1();
template<typename T> struct bar : public B <(sizeof(foo<T>()) == 1)>
{
};
template<typename T> struct bar1 : public B <(sizeof(foo1<T>()) == 1)>
{
};
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Known to fail| |3.4.4 4.0.0
Known to work| |3.3.5
Last reconfirmed|0000-00-00 00:00:00 |2004-12-16 15:08:27
date| |
Summary|internal compiler error: in |[3.4/4.0 Regression]
|cp_tree_equal, at |internal compiler error: in
|cp/tree.c:1633 |cp_tree_equal, at
| |cp/tree.c:1633
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4/4.0 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
2004-12-16 14:13 ` [Bug c++/19034] " jttoivon at cc dot helsinki dot fi
2004-12-16 15:08 ` [Bug c++/19034] [3.4/4.0 Regression] " belyshev at lubercy dot com
@ 2004-12-16 15:21 ` belyshev at lubercy dot com
2004-12-17 20:59 ` reichelt at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-16 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-12-16 15:20 -------
: Search converges between 2003-06-18-trunk (#268) and 2003-06-19-trunk (#269).
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|3.4.4 4.0.0 |3.4.0 3.4.1 3.4.2 3.4.3
| |3.4.4 4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4/4.0 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (2 preceding siblings ...)
2004-12-16 15:21 ` belyshev at lubercy dot com
@ 2004-12-17 20:59 ` reichelt at gcc dot gnu dot org
2004-12-21 20:26 ` mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-17 20:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-17 20:59 -------
Nathan, this was caused by your patch
http://gcc.gnu.org/ml/gcc-cvs/2003-06/msg00871.html
Apparently we have a tcc_exceptional in the last switch
statement of cp_tree_equal so that we hit gcc_unreachable.
I don't know whether tcc_exceptional should be handled more
gracefully or whether it shouldn't appear there at all.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4/4.0 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (3 preceding siblings ...)
2004-12-17 20:59 ` reichelt at gcc dot gnu dot org
@ 2004-12-21 20:26 ` mmitchel at gcc dot gnu dot org
2004-12-22 3:35 ` cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-12-21 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-12-21 20:25 -------
Working on a fix.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4/4.0 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (4 preceding siblings ...)
2004-12-21 20:26 ` mmitchel at gcc dot gnu dot org
@ 2004-12-22 3:35 ` cvs-commit at gcc dot gnu dot org
2004-12-22 3:39 ` [Bug c++/19034] [3.4 " mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-22 3:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-22 03:35 -------
Subject: Bug 19034
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-12-22 03:34:59
Modified files:
gcc/cp : ChangeLog call.c decl.c parser.c tree.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/ext: packed8.C
gcc/testsuite/g++.dg/template: crash31.C crash30.C
Log message:
PR c++/18378
* call.c (convert_like_real): Do not permit the use of a copy
constructor to copy a packed field.
PR c++/17413
* decl.c (grokdeclarator): Return error_mark_node, not
void_type_node, to indicate errors.
* parser.c (cp_parser_template_parameter_list): Robustify.
(cp_parser_template_parameter): Likewise.
PR c++/19034
* tree.c (cp_tree_equal): Handle OVERLOAD.
PR c++/18378
* g++.dg/ext/packed8.C: New test.
PR c++/13268
* g++.dg/template/crash31.C: New test.
PR c++/19034
* g++.dg/template/crash30.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4550&r2=1.4551
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.523&r2=1.524
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1345&r2=1.1346
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.296&r2=1.297
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&r1=1.420&r2=1.421
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/packed8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash31.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash30.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4796&r2=1.4797
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (5 preceding siblings ...)
2004-12-22 3:35 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-22 3:39 ` mmitchel at gcc dot gnu dot org
2004-12-28 16:38 ` aj at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-12-22 3:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-12-22 03:39 -------
Fixed in GCC 4.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4/4.0 Regression] |[3.4 Regression] internal
|internal compiler error: in |compiler error: in
|cp_tree_equal, at |cp_tree_equal, at
|cp/tree.c:1633 |cp/tree.c:1633
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (6 preceding siblings ...)
2004-12-22 3:39 ` [Bug c++/19034] [3.4 " mmitchel at gcc dot gnu dot org
@ 2004-12-28 16:38 ` aj at gcc dot gnu dot org
2005-01-05 14:25 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: aj at gcc dot gnu dot org @ 2004-12-28 16:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From aj at gcc dot gnu dot org 2004-12-28 16:38 -------
It's fixed
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (7 preceding siblings ...)
2004-12-28 16:38 ` aj at gcc dot gnu dot org
@ 2005-01-05 14:25 ` reichelt at gcc dot gnu dot org
2005-02-12 23:06 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-05 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-01-05 14:25 -------
Not fixed on the 3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (8 preceding siblings ...)
2005-01-05 14:25 ` reichelt at gcc dot gnu dot org
@ 2005-02-12 23:06 ` pinskia at gcc dot gnu dot org
2005-05-05 5:47 ` cvs-commit at gcc dot gnu dot org
2005-05-05 6:28 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-12 23:06 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (9 preceding siblings ...)
2005-02-12 23:06 ` pinskia at gcc dot gnu dot org
@ 2005-05-05 5:47 ` cvs-commit at gcc dot gnu dot org
2005-05-05 6:28 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-05 5:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-05 05:47 -------
Subject: Bug 19034
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2005-05-05 05:45:55
Modified files:
gcc/cp : ChangeLog tree.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: crash30.C
Log message:
Backport:
2004-12-21 Mark Mitchell <mark@codesourcery.com>
PR c++/19034
* tree.c (cp_tree_equal): Handle OVERLOAD.
Backport:
2004-12-21 Mark Mitchell <mark@codesourcery.com>
PR c++/19034
* g++.dg/template/crash30.C: New test.
Patches:
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.216&r2=1.3892.2.217
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.360.4.12&r2=1.360.4.13
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.390&r2=1.3389.2.391
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash30.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.34.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/19034] [3.4 Regression] internal compiler error: in cp_tree_equal, at cp/tree.c:1633
2004-12-16 14:08 [Bug c++/19034] New: internal compiler error: in cp_tree_equal, at cp/tree.c:1633 jttoivon at cc dot helsinki dot fi
` (10 preceding siblings ...)
2005-05-05 5:47 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-05 6:28 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-05 6:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-05-05 06:27 -------
Fixed in 3.4.4.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19034
^ permalink raw reply [flat|nested] 13+ messages in thread