aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/socket.c
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2007-06-06 12:39:47 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-06-06 12:39:47 +0200
commitc7ce71c2263051ea52654243916c7e61640a8a03 (patch)
tree5499c8c53641e1f1f69c4c4836da65c42ce708fb /gcc/ada/socket.c
parent2b73cf6852765d6fc6034577369fc90524987a8c (diff)
downloadgcc-c7ce71c2263051ea52654243916c7e61640a8a03.zip
gcc-c7ce71c2263051ea52654243916c7e61640a8a03.tar.gz
gcc-c7ce71c2263051ea52654243916c7e61640a8a03.tar.bz2
sem_aggr.adb (Resolve_Record_Aggregate): Ignore internal components of the type that specify the position of interface...
2007-04-20 Ed Schonberg <schonberg@adacore.com> * sem_aggr.adb (Resolve_Record_Aggregate): Ignore internal components of the type that specify the position of interface tags when the type inherits discriminated array components from the parent type. If a component is initialized with a box, check for the presence of a default expression in its declaration before using its default initialization procedure. (Resolve_Record_Aggregate): If a component is box-initialized, and the component type has a discriminants, create a partial aggregate for it by copying the discriminants of the component subtype. Reject attempt to initialize a discriminant with a box. (Array_Aggr_Subtype): Indicate to the backend that the size of arrays associated with dispatch tables is known at compile time. (Get_Value): If an association in a record aggregate has a box association, and the corresponding record component has a default expression, always copy the default expression, even when the association has a single choice, in order to create a proper association for the expanded aggregate. From-SVN: r125438
Diffstat (limited to 'gcc/ada/socket.c')
0 files changed, 0 insertions, 0 deletions