exp_aggr.adb (Static_Array_Aggregate): When a static array aggregate with a range...
commit597d7158c66a05d0324c54c6dbaafb999f049301
authorGary Dismukes <dismukes@adacore.com>
Fri, 22 Aug 2008 12:12:04 +0000 (22 14:12 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 22 Aug 2008 12:12:04 +0000 (22 14:12 +0200)
tree4849789b8ace1f34480f9bbcc843de37354fce31
parent5f0085c780dc6269ecbe30618db58ba75ca24df1
exp_aggr.adb (Static_Array_Aggregate): When a static array aggregate with a range is transformed into a positional...

2008-08-22  Gary Dismukes  <dismukes@adacore.com>

* exp_aggr.adb (Static_Array_Aggregate): When a static array aggregate
with a range is transformed into a positional aggregate, any copied
component literals should be marked Is_Static_Expression.

* sem_eval.adb (Compile_Time_Known_Value): Don't treat null literals as
not being known at at compile time when Configurable_Run_Time_Mode is
true.

From-SVN: r139442
gcc/ada/exp_aggr.adb
gcc/ada/sem_eval.adb