c++/5108: i'm not sure this should seg fault, even though i admit its not good code...
germain@cs.utah.edu
germain@cs.utah.edu
Thu Dec 13 18:57:00 GMT 2001
>Number: 5108
>Category: c++
>Synopsis: i'm not sure this should seg fault, even though i admit its not good code...
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 13 15:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: germain@cs.utah.edu
>Release: ugcc version 2.95.1 19990816 (release)
>Organization:
>Environment:
linux?
>Description:
this seg faults. i dont think it should
#include <string>
#include <stdio.h>
string
doit()
{
;
}
int
main()
{
doit();
}
>How-To-Repeat:
compile it
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="temp2.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="temp2.C"
CiNpbmNsdWRlIDxzdHJpbmc+CiNpbmNsdWRlIDxzdGRpby5oPgoKdXNpbmcgbmFtZXNwYWNlIHN0
ZDsKCgpzdHJpbmcKZG9pdCgpCnsKICA7Cn0KCmludAptYWluKCkKewogIGRvaXQoKTsKfQo=
More information about the Gcc-bugs
mailing list