diff options
author | Thomas Quinot <quinot@adacore.com> | 2005-09-05 09:58:05 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-09-05 09:58:05 +0200 |
commit | c4e5e10fdd72b4375e9b092a5da6c1ca0a751575 (patch) | |
tree | 5dbd152d7a4ba735ea4d5628effde4e817eb6795 /gcc/java/decl.c | |
parent | d52f1094e50cf2120eebc5bf2a63ed0aa56c825a (diff) | |
download | gcc-c4e5e10fdd72b4375e9b092a5da6c1ca0a751575.zip gcc-c4e5e10fdd72b4375e9b092a5da6c1ca0a751575.tar.gz gcc-c4e5e10fdd72b4375e9b092a5da6c1ca0a751575.tar.bz2 |
re PR ada/9087 (Component_Size for packed array returns wrong values)
2005-09-01 Thomas Quinot <quinot@adacore.com>
Ed Schonberg <schonberg@adacore.com>
Robert Dewar <dewar@adacore.com>
* sem_attr.adb (Resolve_Attribute, case 'Address): For an illegal
'Address attribute reference with an overloaded prefix, use the
location of the prefix (not the location of the attribute reference) as
the error location.
(Analyze_Attribute, case 'Size): The name of an enumeration literal, or
a function renaming thereof, is a valid prefix for 'Size (where it is
intepreted as a function call).
(Statically_Denotes_Entity): New predicate to determine whether the
prefix of an array attribute can be considered static.
PR ada/9087
(Eval_Attr): Fix failure to evaluate Component_Size for
unconstrained arrays (resulted in wrong value in packed case, since
back end cannot handle this case)
From-SVN: r103876
Diffstat (limited to 'gcc/java/decl.c')
0 files changed, 0 insertions, 0 deletions