public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5642: gcc3 crash
@ 2002-02-11  9:35 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-02-11  9:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ivan_iv, nobody

Synopsis: gcc3 crash

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Mon Feb 11 09:35:42 2002
State-Changed-Why:
    Duplicate of PR 5189.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5642


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/5642: gcc3 crash
@ 2002-02-11  2:56 Reichelt
  0 siblings, 0 replies; 3+ messages in thread
From: Reichelt @ 2002-02-11  2:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/5642; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
        ivan_iv@armageddon.br.urbannet.ru
Cc:  
Subject: Re: c++/5642: gcc3 crash
Date: Mon, 11 Feb 2002 12:14:16 +0100

 Hi,
 
 the report is a duplicate of the reduced testcase in PR 5189.
 
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5189
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5642
 
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/5642: gcc3 crash
@ 2002-02-09  4:06 ivan_iv
  0 siblings, 0 replies; 3+ messages in thread
From: ivan_iv @ 2002-02-09  4:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5642
>Category:       c++
>Synopsis:       gcc3 crash
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 09 04:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ivan Shvedunov
>Release:        gcc-3.0.2
>Organization:
>Environment:
SuSE 7.3; uname -a:
Linux armageddon 2.4.16-4GB #1 Tue Dec 18 15:56:11 GMT 2001 i686 unknown
g++:
Configured with: ./configure --prefix=/opt/gcc3 --enable-shared --enable-threads --enable-cpp --enable-languages=c++,f77
Thread model: posix
gcc version 3.0.2
>Description:
The following piece of code (something like that was entered
by mistake) causes gcc3.0.2 to eat up all available memory
and crash ("gcc3crash.cpp"):

struct A {
        A(A& v) {}
        template<class T> A(T x) {}
};

void test()
{
        A x = 12;
}

if you change A(A& v) to A(const A& v) (so it becomes
a normal copy constructor) the code compiles ok.

>How-To-Repeat:
g++ -c gcc3crash.cpp
>Fix:
don't know how to fix it
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-11 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-11  9:35 c++/5642: gcc3 crash rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2002-02-11  2:56 Reichelt
2002-02-09  4:06 ivan_iv

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).