First Last Prev Next    No search results available
Details
: The Ada f-e generates bogus records for descendants of ta...
Bug#: 2010
: tools
: gnat
Status: NEW
Resolution:
: Other
: Linux
: trunk
: P2
: enhancement
: ---

:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Duncan Sands <baldrick@free.fr>
Assigned To: Unassigned LLVM Bugs <unassignedbugs@nondot.org>

Attachments
testcase .ads (540 bytes, text/plain)
2008-02-10 07:33, Duncan Sands
Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2008-02-10 07:33
Created an attachment (id=1393) [details]
testcase .ads

The problem occurs when a child type, due to a discriminant
constraint, does not have all the fields of the parent.  The
f-e nonetheless generates the non-present fields in the child
record type even if they are off the end of the record (this
causes llvm-gcc to abort).  See attached testcase.

First Last Prev Next    No search results available