public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* ada/5679: ICE in assign_stack_temp_for_type, returning unconstrained type conversion
@ 2002-02-12 23:56 fw
  0 siblings, 0 replies; only message in thread
From: fw @ 2002-02-12 23:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: adi


>Number:         5679
>Category:       ada
>Synopsis:       ICE in assign_stack_temp_for_type, returning unconstrained type conversion
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 12 23:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     adi@drcomp.erfurt.thur.de
>Release:        GCC 3.1 CVS from 2002-02-12
>Organization:
>Environment:
Debian GNU/Linux unstable, x86
>Description:
When the call is expanded, there does not seem to be a target tree for the returned object, although GCC cannot determine its size and thus needs one.

The problem disappears if the type conversion is removed, so the test case is probably minimal.
>How-To-Repeat:
Compile the attached code.
>Fix:
Unknown.  The bug might be caused by the incomplete merge from the ACT tree.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="unconstrained_return.ada"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="unconstrained_return.ada"

d2l0aCBJbnRlcmZhY2VzLkMuU3RyaW5nczsgdXNlIEludGVyZmFjZXMuQy5TdHJpbmdzOwoKcGFj
a2FnZSBVbmNvbnN0cmFpbmVkX1JldHVybiBpcwoKICAgdHlwZSBHdGtfUGxvdF9EYXRhX1JlY29y
ZCBpcyBudWxsIHJlY29yZDsKCiAgIGZ1bmN0aW9uIEdldF9MYWJlbHMgKERhdGEgOiBhY2Nlc3Mg
R3RrX1Bsb3RfRGF0YV9SZWNvcmQpCiAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIENoYXJz
X1B0cl9BcnJheTsKCmVuZCBVbmNvbnN0cmFpbmVkX1JldHVybjsKCnBhY2thZ2UgYm9keSBVbmNv
bnN0cmFpbmVkX1JldHVybiBpcwoKICAgdHlwZSBTdHJfQXJyYXkgaXMgYXJyYXkgKE5hdHVyYWwp
IG9mIENoYXJzX1B0cjsKICAgZnVuY3Rpb24gSW50ZXJuYWwgKERhdGEgOiBhY2Nlc3MgR3RrX1Bs
b3RfRGF0YV9SZWNvcmQpIHJldHVybiBTdHJfQXJyYXk7CiAgIHByYWdtYSBJbXBvcnQgKEFkYSwg
SW50ZXJuYWwpOwoKICAgZnVuY3Rpb24gR2V0X0xhYmVscyAoRGF0YSA6IGFjY2VzcyBHdGtfUGxv
dF9EYXRhX1JlY29yZCkKICAgICAgcmV0dXJuIENoYXJzX1B0cl9BcnJheQogICBpcwogICBiZWdp
bgogICAgICByZXR1cm4gQ2hhcnNfUHRyX0FycmF5IChJbnRlcm5hbCAoRGF0YSkpOwogICAgICAt
LSAgVGhlIGNvbnZlcnNpb24gaXMgZXNzZW50aWFsLiAgSWYgSW50ZXJuYWwgd291bGQgcmV0dXJu
CiAgICAgIC0tICBDaGFyc19QdHJfQXJyYXkgZGlyZWN0bHksIHRoZSBidWcgaXMgbm90IHRyaWdn
ZWQuCiAgIGVuZCBHZXRfTGFiZWxzOwoKZW5kIFVuY29uc3RyYWluZWRfUmV0dXJuOwo=


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-13  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-12 23:56 ada/5679: ICE in assign_stack_temp_for_type, returning unconstrained type conversion fw

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