public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11076] New: ICE with invalid base class
@ 2003-06-03 9:36 reichelt@gcc.gnu.org
2003-06-03 14:12 ` [Bug c++/11076] " bangerth@dealii.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: reichelt@gcc.gnu.org @ 2003-06-03 9:36 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=11076
Summary: ICE with invalid base class
Product: gcc
Version: 3.4
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: reichelt@gcc.gnu.org
CC: gcc-bugs@gcc.gnu.org
This is fallout from PR5702:
The following code crashes gcc 2.95.x - 3.3 and mainline:
----------------------------------------------------------------
template<typename, typename T=void> struct A
{
typedef A<T,T> B;
};
template <typename T> struct C
{
typedef typename A<T>::B X;
X::Y;
};
C<void> c;
----------------------------------------------------------------
The error message on mainline is:
pr5702.cc: In instantiation of `C<void>':
pr5702.cc:12: instantiated from here
pr5702.cc:9: internal compiler error: tree check: accessed elt 2 of tree_vec
with 1 elts in tsubst, at cp/pt.c:6697
Please submit a full bug report,
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/11076] ICE with invalid base class
2003-06-03 9:36 [Bug c++/11076] New: ICE with invalid base class reichelt@gcc.gnu.org
@ 2003-06-03 14:12 ` bangerth@dealii.org
2003-06-22 13:10 ` pinskia at physics dot uc dot edu
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bangerth@dealii.org @ 2003-06-03 14:12 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=11076
------- Additional Comments From bangerth@dealii.org 2003-06-03 14:12 -------
Confirmed
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/11076] ICE with invalid base class
2003-06-03 9:36 [Bug c++/11076] New: ICE with invalid base class reichelt@gcc.gnu.org
2003-06-03 14:12 ` [Bug c++/11076] " bangerth@dealii.org
@ 2003-06-22 13:10 ` pinskia at physics dot uc dot edu
2003-08-02 4:06 ` pinskia at physics dot uc dot edu
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-22 13:10 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=11076
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/11076] ICE with invalid base class
2003-06-03 9:36 [Bug c++/11076] New: ICE with invalid base class reichelt@gcc.gnu.org
2003-06-03 14:12 ` [Bug c++/11076] " bangerth@dealii.org
2003-06-22 13:10 ` pinskia at physics dot uc dot edu
@ 2003-08-02 4:06 ` pinskia at physics dot uc dot edu
2003-10-21 14:52 ` lerdsuwa at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-02 4:06 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=11076
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-07-27 15:04:53 |2003-08-02 04:06:13
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-02 04:06 -------
This only ICE when checking is enabled. (I think we need a checking keyword which
only applies to ice-*).
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/11076] ICE with invalid base class
2003-06-03 9:36 [Bug c++/11076] New: ICE with invalid base class reichelt@gcc.gnu.org
` (2 preceding siblings ...)
2003-08-02 4:06 ` pinskia at physics dot uc dot edu
@ 2003-10-21 14:52 ` lerdsuwa at gcc dot gnu dot org
2003-10-24 14:47 ` cvs-commit at gcc dot gnu dot org
2003-10-24 14:51 ` lerdsuwa at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-10-21 14:52 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=11076
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
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-10-21 14:45 -------
I'm looking at it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/11076] ICE with invalid base class
2003-06-03 9:36 [Bug c++/11076] New: ICE with invalid base class reichelt@gcc.gnu.org
` (3 preceding siblings ...)
2003-10-21 14:52 ` lerdsuwa at gcc dot gnu dot org
@ 2003-10-24 14:47 ` cvs-commit at gcc dot gnu dot org
2003-10-24 14:51 ` lerdsuwa at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-24 14:47 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=11076
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-24 14:45 -------
Subject: Bug 11076
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: lerdsuwa@gcc.gnu.org 2003-10-24 14:45:53
Modified files:
gcc/cp : ChangeLog class.c parser.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: crash13.C
Log message:
PR c++/11076
* class.c (handle_using_decl): Swap arguments of error_not_base_type.
* parser.c (cp_parser_direct_declarator): Only resolve typename for
namespace scope declarations.
* g++.dg/template/crash13.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3744&r2=1.3745
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.580&r2=1.581
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.117&r2=1.118
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3142&r2=1.3143
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/crash13.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/11076] ICE with invalid base class
2003-06-03 9:36 [Bug c++/11076] New: ICE with invalid base class reichelt@gcc.gnu.org
` (4 preceding siblings ...)
2003-10-24 14:47 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-24 14:51 ` lerdsuwa at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-10-24 14:51 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=11076
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-10-24 14:47 -------
Fixed in mainline.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-10-24 14:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-03 9:36 [Bug c++/11076] New: ICE with invalid base class reichelt@gcc.gnu.org
2003-06-03 14:12 ` [Bug c++/11076] " bangerth@dealii.org
2003-06-22 13:10 ` pinskia at physics dot uc dot edu
2003-08-02 4:06 ` pinskia at physics dot uc dot edu
2003-10-21 14:52 ` lerdsuwa at gcc dot gnu dot org
2003-10-24 14:47 ` cvs-commit at gcc dot gnu dot org
2003-10-24 14:51 ` lerdsuwa 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).