public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
[not found] <20030521072600.10898.hajira_a1@rediffmail.com>
@ 2003-06-08 19:06 ` pinskia@physics.uc.edu
2003-06-22 1:31 ` pinskia at physics dot uc dot edu
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-08 19: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=10898
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
[not found] <20030521072600.10898.hajira_a1@rediffmail.com>
2003-06-08 19:06 ` [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598) pinskia@physics.uc.edu
@ 2003-06-22 1:31 ` pinskia at physics dot uc dot edu
2003-06-23 16:20 ` pinskia at physics dot uc dot edu
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-22 1:31 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=10898
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.1 |3.3.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
[not found] <20030521072600.10898.hajira_a1@rediffmail.com>
2003-06-08 19:06 ` [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598) pinskia@physics.uc.edu
2003-06-22 1:31 ` pinskia at physics dot uc dot edu
@ 2003-06-23 16:20 ` pinskia at physics dot uc dot edu
2003-06-29 16:08 ` pinskia at physics dot uc dot edu
2003-07-25 16:44 ` jbuck at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-23 16:20 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=10898
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.2 |3.3.1
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-23 16:18 -------
Moving target back to 3.3.1.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
[not found] <20030521072600.10898.hajira_a1@rediffmail.com>
` (2 preceding siblings ...)
2003-06-23 16:20 ` pinskia at physics dot uc dot edu
@ 2003-06-29 16:08 ` pinskia at physics dot uc dot edu
2003-07-25 16:44 ` jbuck at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-29 16:08 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=10898
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-29 16:08 -------
Closing as it is fixed in the mainline and there is a sensible error message there.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
[not found] <20030521072600.10898.hajira_a1@rediffmail.com>
` (3 preceding siblings ...)
2003-06-29 16:08 ` pinskia at physics dot uc dot edu
@ 2003-07-25 16:44 ` jbuck at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2003-07-25 16:44 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=10898
jbuck at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.1 |3.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
@ 2003-05-22 11:47 giovannibajo@libero.it
0 siblings, 0 replies; 8+ messages in thread
From: giovannibajo@libero.it @ 2003-05-22 11: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=10898
giovannibajo@libero.it changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo@libero.it
------- Additional Comments From giovannibajo@libero.it 2003-05-22 11:34 -------
*** Bug 10708 has been marked as a duplicate of this bug. ***
------- 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] 8+ messages in thread
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
@ 2003-05-22 11:35 reichelt@gcc.gnu.org
0 siblings, 0 replies; 8+ messages in thread
From: reichelt@gcc.gnu.org @ 2003-05-22 11: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=10898
------- Additional Comments From reichelt@gcc.gnu.org 2003-05-22 11:20 -------
Fixing the missing "typename" keyword, I get another ICE, this time a segfault,
which can be reduced to the following code snippet:
----------------------------------------------------------------
template <BOGUS> struct A
{
typedef BOGUS X;
int i;
};
----------------------------------------------------------------
PR10898B.cc:1: error: parse error before `>' token
PR10898B.cc:4: error: template declaration of `int i'
PR10898B.cc:4: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
This ICE can be observed with gcc 2.95.x - 3.3.
The bug is fixed on mainline.
Btw., it looks as if all keywords "typename" were erased in "param.ii".
That needs to be fixed in order to make the code compile.
------- 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] 8+ messages in thread
* [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598)
@ 2003-05-22 10:12 reichelt@gcc.gnu.org
0 siblings, 0 replies; 8+ messages in thread
From: reichelt@gcc.gnu.org @ 2003-05-22 10: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=10898
reichelt@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-invalid-code
Summary|Unable to compile c++ |[3.3 regression] ICE on
|program containing Rogue |illegal template parameter
|Wave usage using gcc 3.2 |(resume_binding_level, at
| |cp/decl.c:598)
------- Additional Comments From reichelt@gcc.gnu.org 2003-05-22 09:01 -------
The code is invalid, the "class/typename" keyword is missing in line 2560ff:
template< _Alloc>
class allocator;
template< _CharT, _Traits = char_traits<_CharT>,
_Alloc = allocator<_CharT> >
class basic_string;
So we have on ice-on-invalid-code. A reduced example is:
--------------------------------------------------------------
template <BOGUS> struct A;
namespace std {}
--------------------------------------------------------------
The error message (3.3) is:
PR10898.cc:1: error: parse error before `>' token
PR10898.cc:2: internal compiler error: in resume_binding_level, at cp/decl.c:598
Please submit a full bug report, [etc.]
The code crashes gcc 3.0 - 3.3 (checked on i686-pc-linux-gnu).
Gcc 2.95.3 and mainline work fine.
------- 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] 8+ messages in thread
end of thread, other threads:[~2003-07-25 16:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030521072600.10898.hajira_a1@rediffmail.com>
2003-06-08 19:06 ` [Bug c++/10898] [3.3 regression] ICE on illegal template parameter (resume_binding_level, at cp/decl.c:598) pinskia@physics.uc.edu
2003-06-22 1:31 ` pinskia at physics dot uc dot edu
2003-06-23 16:20 ` pinskia at physics dot uc dot edu
2003-06-29 16:08 ` pinskia at physics dot uc dot edu
2003-07-25 16:44 ` jbuck at gcc dot gnu dot org
2003-05-22 11:47 giovannibajo@libero.it
-- strict thread matches above, loose matches on Subject: below --
2003-05-22 11:35 reichelt@gcc.gnu.org
2003-05-22 10:12 reichelt@gcc.gnu.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).