This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
other/6760: Large array in class causes sigsegv at init
- From: don_reid at agilent dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 21 May 2002 20:00:30 -0000
- Subject: other/6760: Large array in class causes sigsegv at init
- Reply-to: don_reid at agilent dot com
>Number: 6760
>Category: other
>Synopsis: Large array in class causes sigsegv at init
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 21 13:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Don Reid
>Release: gcc version 2.95.4 20011002 (Debian prerelease)
>Organization:
>Environment:
Debian - Woody
>Description:
Large array in class causes sigsegv.
I don't know if it is an error that the compiler did not complain, or that the _start code did not check.
>How-To-Repeat:
compile and run
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cpp"
Y2xhc3MgYmlnX2ZyYW1lIHsKICAgIHB1YmxpYzoKCWludCBidWZbNDA5NiAqIDEwMjRdOwp9OwoK
bWFpbigpIHsKCWJpZ19mcmFtZSBmcmFtZTsKCglmcmFtZS5idWZbMF0gPSAwOwp9Cg==