public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30659] New: ICE in undefined template
@ 2007-01-31 20:27 mrs at apple dot com
2007-01-31 20:30 ` [Bug c++/30659] " mrs at apple dot com
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: mrs at apple dot com @ 2007-01-31 20:27 UTC (permalink / raw)
To: gcc-bugs
mrs2 $ ./xgcc -B./ /tmp/t.ii
/tmp/t.ii:1: error: ISO C++ forbids declaration of 'basic_istream' with no type
/tmp/t.ii:1: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
mrs2 $ cat /tmp/t.ii
extern "C" { extern template basic_istream<char>&
operator>>(basic_istream<char>&, string&);
--
Summary: ICE in undefined template
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mrs at apple dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
@ 2007-01-31 20:30 ` mrs at apple dot com
2007-02-01 9:24 ` [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mrs at apple dot com @ 2007-01-31 20:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from mrs at apple dot com 2007-01-31 20:30 -------
radr://4958852
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
2007-01-31 20:30 ` [Bug c++/30659] " mrs at apple dot com
@ 2007-02-01 9:24 ` pinskia at gcc dot gnu dot org
2007-02-01 9:25 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-01 9:24 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.0.4 3.2.3 3.3.6 3.4.4
| |4.0.0 4.1.0 4.3.0
Known to work| |2.95.3
Summary|ICE in undefined template |[4.0/4.1/4.2/4.3 Regression]
| |ICE in undefined template
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
2007-01-31 20:30 ` [Bug c++/30659] " mrs at apple dot com
2007-02-01 9:24 ` [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-02-01 9:25 ` pinskia at gcc dot gnu dot org
2007-02-05 5:58 ` mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-01 9:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-02-01 09:24 -------
Confirmed a regression from 2.95.3.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-02-01 09:24:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (2 preceding siblings ...)
2007-02-01 9:25 ` pinskia at gcc dot gnu dot org
@ 2007-02-05 5:58 ` mmitchel at gcc dot gnu dot org
2007-02-09 0:48 ` reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-05 5:58 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (3 preceding siblings ...)
2007-02-05 5:58 ` mmitchel at gcc dot gnu dot org
@ 2007-02-09 0:48 ` reichelt at gcc dot gnu dot org
2007-02-14 9:20 ` mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-09 0:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2007-02-09 00:48 -------
Even shorter testcase:
====================================
extern "C" template A<char> foo();
====================================
I don't get the segfault in GCC 4.0.4 and current 4.1 branch
(although I see it in 4.0.3 and 4.1.1).
Can somebody reproduce the bug on these branches?
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (4 preceding siblings ...)
2007-02-09 0:48 ` reichelt at gcc dot gnu dot org
@ 2007-02-14 9:20 ` mmitchel at gcc dot gnu dot org
2007-09-21 11:51 ` pcarlini at suse dot de
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:20 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (5 preceding siblings ...)
2007-02-14 9:20 ` mmitchel at gcc dot gnu dot org
@ 2007-09-21 11:51 ` pcarlini at suse dot de
2007-09-28 15:42 ` pcarlini at suse dot de
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pcarlini at suse dot de @ 2007-09-21 11:51 UTC (permalink / raw)
To: gcc-bugs
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (6 preceding siblings ...)
2007-09-21 11:51 ` pcarlini at suse dot de
@ 2007-09-28 15:42 ` pcarlini at suse dot de
2007-10-29 0:17 ` paolo at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pcarlini at suse dot de @ 2007-09-28 15:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pcarlini at suse dot de 2007-09-28 15:42 -------
Patch at:
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01674.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (7 preceding siblings ...)
2007-09-28 15:42 ` pcarlini at suse dot de
@ 2007-10-29 0:17 ` paolo at gcc dot gnu dot org
2007-10-29 0:18 ` [Bug c++/30659] [4.0/4.1/4.2 " pcarlini at suse dot de
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-10-29 0:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from paolo at gcc dot gnu dot org 2007-10-29 00:17 -------
Subject: Bug 30659
Author: paolo
Date: Mon Oct 29 00:17:10 2007
New Revision: 129710
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129710
Log:
cp/
2007-10-28 Paolo Carlini <pcarlini@suse.de>
Mark Mitchell <mark@codesourcery.com>
PR c++/30659
* pt.c (do_decl_instantiation): If the VAR_DECL is not a
class member error out and return.
testsuite/
2007-10-28 Paolo Carlini <pcarlini@suse.de>
Mark Mitchell <mark@codesourcery.com>
PR c++/30659
* g++.dg/template/crash71.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/crash71.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.0/4.1/4.2 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (8 preceding siblings ...)
2007-10-29 0:17 ` paolo at gcc dot gnu dot org
@ 2007-10-29 0:18 ` pcarlini at suse dot de
2008-07-04 21:49 ` [Bug c++/30659] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 20:23 ` jsm28 at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pcarlini at suse dot de @ 2007-10-29 0:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pcarlini at suse dot de 2007-10-29 00:18 -------
Fixed in mainline.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pcarlini at suse dot de |unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
Known to fail|3.0.4 3.2.3 3.3.6 3.4.4 |3.0.4 3.2.3 3.3.6 3.4.4
|4.0.0 4.1.0 4.3.0 |4.0.0 4.1.0
Summary|[4.0/4.1/4.2/4.3 Regression]|[4.0/4.1/4.2 Regression] ICE
|ICE in undefined template |in undefined template
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.2 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (9 preceding siblings ...)
2007-10-29 0:18 ` [Bug c++/30659] [4.0/4.1/4.2 " pcarlini at suse dot de
@ 2008-07-04 21:49 ` jsm28 at gcc dot gnu dot org
2009-03-30 20:23 ` jsm28 at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 21:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jsm28 at gcc dot gnu dot org 2008-07-04 21:48 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2 Regression] ICE in |[4.2 Regression] ICE in
|undefined template |undefined template
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/30659] [4.2 Regression] ICE in undefined template
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
` (10 preceding siblings ...)
2008-07-04 21:49 ` [Bug c++/30659] [4.2 " jsm28 at gcc dot gnu dot org
@ 2009-03-30 20:23 ` jsm28 at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 20:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from jsm28 at gcc dot gnu dot org 2009-03-30 20:22 -------
Closing 4.2 branch, fixed in 4.3.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail|3.0.4 3.2.3 3.3.6 3.4.4 |3.0.4 3.2.3 3.3.6 3.4.4
|4.0.0 4.0.4 4.1.0 |4.0.0 4.0.4 4.1.0 4.2.5
Known to work|2.95.3 |2.95.3 4.3.0
Resolution| |FIXED
Target Milestone|4.2.5 |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30659
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-03-30 20:23 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 20:27 [Bug c++/30659] New: ICE in undefined template mrs at apple dot com
2007-01-31 20:30 ` [Bug c++/30659] " mrs at apple dot com
2007-02-01 9:24 ` [Bug c++/30659] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
2007-02-01 9:25 ` pinskia at gcc dot gnu dot org
2007-02-05 5:58 ` mmitchel at gcc dot gnu dot org
2007-02-09 0:48 ` reichelt at gcc dot gnu dot org
2007-02-14 9:20 ` mmitchel at gcc dot gnu dot org
2007-09-21 11:51 ` pcarlini at suse dot de
2007-09-28 15:42 ` pcarlini at suse dot de
2007-10-29 0:17 ` paolo at gcc dot gnu dot org
2007-10-29 0:18 ` [Bug c++/30659] [4.0/4.1/4.2 " pcarlini at suse dot de
2008-07-04 21:49 ` [Bug c++/30659] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 20:23 ` jsm28 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).