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
Showing
Please
register
or
sign in
to comment