public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20602] New: gcc crashes and asks to submit a bug.
@ 2005-03-23 12:40 nivelle at mpi-sb dot mpg dot de
2005-03-23 14:33 ` [Bug c++/20602] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: nivelle at mpi-sb dot mpg dot de @ 2005-03-23 12:40 UTC (permalink / raw)
To: gcc-bugs
Hi,
g++ crashes and asks me to submit a bug on the following program fragment:
The command is:
g++-3.2 -c -Wreturn-type -pedantic -pedantic-errors -Wundef testing.cpp -o
testing.o
The OS:
Linux 2.4.26.1.p4 #1 i686
(and also on 2.4.21.4)
The code (file testing.cpp) is:
#include <vector>
#include <iostream>
template< class D > class union_find;
template< class D > class union_find<D> :: index;
template< class D >
std::ostream& operator << ( std::ostream& ,
const union_find< D > & );
int main( unsigned int nrarguments, char arguments [] )
{
std::cout << "have a nice day without crashes!\n";
}
--
Summary: gcc crashes and asks to submit a bug.
Product: gcc
Version: 3.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nivelle at mpi-sb dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20602
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/20602] gcc crashes and asks to submit a bug.
2005-03-23 12:40 [Bug c++/20602] New: gcc crashes and asks to submit a bug nivelle at mpi-sb dot mpg dot de
@ 2005-03-23 14:33 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-23 14:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-23 14:33 -------
Fixed already in 3.2.3. Confirmed in 3.2.2.
Also this is invalid code but only rejected in 3.4.0 and above.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-invalid-code
Known to fail| |3.2.2
Known to work| |3.4.0 4.0.0 4.1.0
Resolution| |FIXED
Target Milestone|--- |3.1.x/3.2.x
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20602
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-23 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-23 12:40 [Bug c++/20602] New: gcc crashes and asks to submit a bug nivelle at mpi-sb dot mpg dot de
2005-03-23 14:33 ` [Bug c++/20602] " pinskia 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).