public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5189: g++ -c bug.cpp crashed on simple stupid file
@ 2002-04-12 18:35 mmitchel
  0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2002-04-12 18:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hkluender, ivan_iv, mmitchel

Synopsis: g++ -c bug.cpp crashed on simple stupid file

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Fri Apr 12 18:35:53 2002
State-Changed-Why:
    Fixed in GCC 3.1.

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


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

* Re: c++/5189: g++ -c bug.cpp crashed on simple stupid file
@ 2002-04-06 22:47 mmitchel
  0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2002-04-06 22:47 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hkluender, ivan_iv, mmitchel, nobody

Synopsis: g++ -c bug.cpp crashed on simple stupid file

Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Sat Apr  6 22:47:16 2002
Responsible-Changed-Why:
    Working on a fix.
State-Changed-From-To: open->analyzed
State-Changed-By: mmitchel
State-Changed-When: Sat Apr  6 22:47:16 2002
State-Changed-Why:
    Confirmed.

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


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

* Re: c++/5189: g++ -c bug.cpp crashed on simple stupid file
@ 2002-01-04  8:46 Reichelt
  0 siblings, 0 replies; 4+ messages in thread
From: Reichelt @ 2002-01-04  8:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: hkluender@otg.com, gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
        nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/5189: g++ -c bug.cpp crashed on simple stupid file
Date: Fri, 4 Jan 2002 17:57:48 +0100

 Hi,
 
 the bug can be reproduced with an even simpler example:
 
 struct A
 {
     A(A&);
     template <class T> A(T);
 };
 
 A a = 0;
 
 The compiler (g++ -c) seems to run into an endless loop which is killed
 by the system when all virtual memory is exhausted. This affects gcc
 3.0.x and the main trunk (gcc 3.1 as of 20011231) under i686-pc-linux-gnu.
 However, gcc 2.95.2 does not have this problem.
 
 See also http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00202.html
 which is probably related.
 
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5189
 
 


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

* c++/5189: g++ -c bug.cpp crashed on simple stupid file
@ 2001-12-25 11:06 hkluender
  0 siblings, 0 replies; 4+ messages in thread
From: hkluender @ 2001-12-25 11:06 UTC (permalink / raw)
  To: gcc-gnats

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]


>Number:         5189
>Category:       c++
>Synopsis:       g++ -c bug.cpp crashed on simple stupid file
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 25 11:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hans Klünder
>Release:        3.0.3
>Organization:
>Environment:
Linux 2.2.17 #3
>Description:
A few templates using each other cause g++ to do a "segmentation fault". I guess my code itself has a flaw, just the way the compiler tells this is not very helpful.

I am attaching the source file. It's 13 lines and no include file.
>How-To-Repeat:
g++ -c bug.cpp
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cpp"

dGVtcGxhdGUgPCBjbGFzcyBUID4gc3RydWN0IGEgew0KCWlubGluZSBhKCBUICpwICk6IG1fcChw
KSB7IH0NCglpbmxpbmUgYSggYSAmdiApOiBtX3Aodi5tX3ApIHsgfQ0KCVQgKm1fcDsNCn07DQoN
CnRlbXBsYXRlPCBjbGFzcyBUID4gc3RydWN0IGI6IHB1YmxpYyBhPFQ+IHsNCgl0ZW1wbGF0ZTwg
Y2xhc3MgVSA+IGlubGluZSBiKCBVIHcgKTogYTxUPiggdyApIHsgfQ0KfTsNCg0Kc3RhdGljIHZv
aWQgZnVuKCB2b2lkICkgew0KCWI8Y2hhcj4gdiA9IChjaGFyKikwOw0KfQ0K


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

end of thread, other threads:[~2002-04-13  1:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-12 18:35 c++/5189: g++ -c bug.cpp crashed on simple stupid file mmitchel
  -- strict thread matches above, loose matches on Subject: below --
2002-04-06 22:47 mmitchel
2002-01-04  8:46 Reichelt
2001-12-25 11:06 hkluender

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