public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8630: Internal compiler error
@ 2002-11-24 14:33 Stuart McFadden
0 siblings, 0 replies; 3+ messages in thread
From: Stuart McFadden @ 2002-11-24 14:33 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8630; it has been noted by GNATS.
From: Stuart McFadden <stuarty@stuartymcf.uklinux.net>
To: reichelt@igpm.rwth-aachen.de, gcc-bugs@gcc.gnu.org,
gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
stuarty@stuartymcf.uklinux.net, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/8630: Internal compiler error
Date: Mon, 18 Nov 2002 23:15:07 +0000
Hi,
Its quite big so rather than attach it its at
http://www.stuartymcf.uklinux.net/detailed.tgz
includes generated .ii files, original source and headers and the
output from generating the .ii files (shows ICE again)
Cheers,
Stuarty
On Mon, Nov 18, 2002 at 10:44:45PM -0000, reichelt@igpm.rwth-aachen.de wrote:
> Synopsis: Internal compiler error
>
> State-Changed-From-To: open->feedback
> State-Changed-By: reichelt
> State-Changed-When: Mon Nov 18 14:44:44 2002
> State-Changed-Why:
> The preprocessed source is missing
> (your code snippet is not sufficient).
> Could you please provide it as described in
>
> http://gcc.gnu.org/bugs.html#detailed
>
> so that we can investigate the bug?
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8630
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/8630: Internal compiler error
@ 2002-11-24 10:59 stuarty
0 siblings, 0 replies; 3+ messages in thread
From: stuarty @ 2002-11-24 10:59 UTC (permalink / raw)
To: gcc-gnats
>Number: 8630
>Category: c++
>Synopsis: Internal compiler error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Nov 18 14:26:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: me
>Release: Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
>Organization:
>Environment:
Debian 3.0, all of the gnu compilers were compiled from source, using "gcc version 2.95.4 20011002"
>Description:
initialising a 2d array with variables causes this:
TerrainMap.cpp: In constructor `TerrainMap::TerrainMap(char*, char*, int)':
TerrainMap.cpp:30: Internal compiler error in find_function_data, at function.c
:329
Please submit a full bug report,
with preprocessed source if appropriate.
>How-To-Repeat:
see code snippet included
>Fix:
use static array initialisers
>Release-Note:
>Audit-Trail:
>Unformatted:
Configured with: ./configure : (reconfigured) ./configure
Thread model: posix
gcc version 3.2
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="code_snippet.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="code_snippet.cpp"
Ly8gVGhlIGNvbnN0cnVjdG9yIHRoYXQgY2F1c2VzIHRoZSBwcm9ibGVtCgpUZXJyYWluTWFwOjpU
ZXJyYWluTWFwKGNoYXIgKm1hcGZpbGUsIGNoYXIgKnRleHR1cmVmaWxlLCBpbnQgbWFwX3N0ZXAp
CnsKCUZJTEUgKmluID0gZm9wZW4oR2V0UGF0aChtYXBmaWxlKSwgInJiIik7CgoJaWYgKCFpbikg
CgkJcmV0dXJuOwoKCWxvbmcgbWFwX3NpemUgPSBHZXRGaWxlU2l6ZShpbik7CglmcHJpbnRmKHN0
ZGVyciwgIkdvdCBmaWxlIHNpemUgb2YgJWxkXG4iLCBtYXBfc2l6ZSk7CgoJdGV4dHVyZSA9IEdl
dFRleHR1cmUodGV4dHVyZWZpbGUsIFJFUEVBVCk7CglVaW50OCBidWZbbWFwX3NpemVdW21hcF9z
aXplXTsKCWZyZWFkKCZidWYsIChtYXBfc2l6ZSAqIG1hcF9zaXplKSwgMSwgaW4pOwoJaWYgKGZl
cnJvcihpbikpIHsKCQlTZXRFcnJvcigiRXJyb3IgcmVhZGluZyBmcm9tICVzXG4iLCBtYXBmaWxl
KTsKCQlyZXR1cm47Cgl9CgoJZ2xQdXNoTWF0cml4KCk7Cgl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ply [flat|nested] 3+ messages in thread
* Re: c++/8630: Internal compiler error
@ 2002-11-24 10:59 reichelt
0 siblings, 0 replies; 3+ messages in thread
From: reichelt @ 2002-11-24 10:59 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, stuarty
Synopsis: Internal compiler error
State-Changed-From-To: open->feedback
State-Changed-By: reichelt
State-Changed-When: Mon Nov 18 14:44:44 2002
State-Changed-Why:
The preprocessed source is missing
(your code snippet is not sufficient).
Could you please provide it as described in
http://gcc.gnu.org/bugs.html#detailed
so that we can investigate the bug?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8630
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-18 23:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-24 14:33 c++/8630: Internal compiler error Stuart McFadden
-- strict thread matches above, loose matches on Subject: below --
2002-11-24 10:59 reichelt
2002-11-24 10:59 stuarty
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).