public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
@ 2003-06-11 4:03 pinskia@physics.uc.edu
2003-06-11 4:06 ` [Bug c++/11149] " pinskia@physics.uc.edu
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-11 4:03 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=11149
Summary: [3.3/3.4 Regression] ICE on error when instantiation
with call function of a base type
Product: gcc
Version: unknown
Status: NEW
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: pinskia@physics.uc.edu
CC: gcc-bugs@gcc.gnu.org
OtherBugsDependingO 11148
nThis:
compile this code:
template <typename X>
class Foo {
int i;
public:
Foo() {
X::explode();
}
};
class Bar {
Foo<int> foo_;
public:
Bar() {}
};
template class Foo<int>;
Since this is split, and I can confirm this on the mainline (20030610) and 3.3.1
(20030526) and I do not see the ICE. in 3.2.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11149] [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
2003-06-11 4:03 [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type pinskia@physics.uc.edu
@ 2003-06-11 4:06 ` pinskia@physics.uc.edu
2003-06-11 14:32 ` bangerth@dealii.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-11 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=11149
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |3.3.1
Version|unknown |3.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11149] [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
2003-06-11 4:03 [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type pinskia@physics.uc.edu
2003-06-11 4:06 ` [Bug c++/11149] " pinskia@physics.uc.edu
@ 2003-06-11 14:32 ` bangerth@dealii.org
2003-07-01 17:35 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bangerth@dealii.org @ 2003-06-11 14:32 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=11149
bangerth@dealii.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
------- Additional Comments From bangerth@dealii.org 2003-06-11 14:32 -------
Confirmed indeed. A regression in 3.3 and mainline over 3.2.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11149] [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
2003-06-11 4:03 [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type pinskia@physics.uc.edu
2003-06-11 4:06 ` [Bug c++/11149] " pinskia@physics.uc.edu
2003-06-11 14:32 ` bangerth@dealii.org
@ 2003-07-01 17:35 ` cvs-commit at gcc dot gnu dot org
2003-07-01 17:36 ` cvs-commit at gcc dot gnu dot org
2003-07-01 17:39 ` mmitchel at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-01 17:35 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=11149
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-01 17:35 -------
Subject: Bug 11149
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: mmitchel@gcc.gnu.org 2003-07-01 17:35:00
Modified files:
gcc/cp : ChangeLog call.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/lookup: scoped6.C
Log message:
PR c++/11149
* call.c (resolve_scoped_fn_name): Check that the qualifying scope
is a class type.
PR c++/11149
* g++.dg/lookup/scoped6.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.170&r2=1.3076.2.171
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.341.2.24&r2=1.341.2.25
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.210&r2=1.2261.2.211
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/scoped6.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11149] [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
2003-06-11 4:03 [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type pinskia@physics.uc.edu
` (2 preceding siblings ...)
2003-07-01 17:35 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-01 17:36 ` cvs-commit at gcc dot gnu dot org
2003-07-01 17:39 ` mmitchel at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-01 17: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=11149
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-01 17:36 -------
Subject: Bug 11149
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2003-07-01 17:36:00
Modified files:
gcc/cp : ChangeLog call.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/lookup: scoped6.C
Log message:
PR c++/11149
* call.c (resolve_scoped_fn_name): Check that the qualifying scope
is a class type.
PR c++/11149
* g++.dg/lookup/scoped6.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3476&r2=1.3477
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.394&r2=1.395
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2824&r2=1.2825
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/lookup/scoped6.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11149] [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type
2003-06-11 4:03 [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type pinskia@physics.uc.edu
` (3 preceding siblings ...)
2003-07-01 17:36 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-01 17:39 ` mmitchel at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-07-01 17:39 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=11149
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-07-01 17:39 -------
Fixed in GCC 3.3.1, GCC 3.4.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-07-01 17:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-11 4:03 [Bug c++/11149] New: [3.3/3.4 Regression] ICE on error when instantiation with call function of a base type pinskia@physics.uc.edu
2003-06-11 4:06 ` [Bug c++/11149] " pinskia@physics.uc.edu
2003-06-11 14:32 ` bangerth@dealii.org
2003-07-01 17:35 ` cvs-commit at gcc dot gnu dot org
2003-07-01 17:36 ` cvs-commit at gcc dot gnu dot org
2003-07-01 17:39 ` mmitchel 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).