exp_aggr.adb (Initialize_Array_Component): Avoid adjusting a component of an array...
authorPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Fri, 20 Oct 2017 15:08:36 +0000 (15:08 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Fri, 20 Oct 2017 15:08:36 +0000 (15:08 +0000)
commite201023c0e13ee6f7f62da6c58dee872a92ce359
tree7c4323af32f49b9fde5cce011c2bb4d24244838d
parent3a248f7cecb43333923d6b2f89a1acb4e6b3dd6e
exp_aggr.adb (Initialize_Array_Component): Avoid adjusting a component of an array aggregate if...

gcc/ada/

2017-10-20  Bob Duff  <duff@adacore.com>

* exp_aggr.adb (Initialize_Array_Component): Avoid adjusting a
component of an array aggregate if it is initialized by a
build-in-place function call.
* exp_ch6.adb (Is_Build_In_Place_Result_Type): Use -gnatd.9 to disable
bip for nonlimited types.
* debug.adb: Document -gnatd.9.

2017-10-20  Bob Duff  <duff@adacore.com>

* sem_ch12.adb: Remove redundant setting of Parent.

2017-10-20  Eric Botcazou  <ebotcazou@adacore.com>

* sem_ch4.adb (Find_Concatenation_Types): Filter out operators if one
of the operands is a string literal.

2017-10-20  Bob Duff  <duff@adacore.com>

* einfo.ads: Comment fix.

2017-10-20  Clement Fumex  <fumex@adacore.com>

* switch-c.adb: Remove -gnatwm from the switches triggered by -gnateC.

2017-10-20  Ed Schonberg  <schonberg@adacore.com>

* sem_dim.adb (Extract_Power): Accept dimension values that are not
non-negative integers when the dimensioned base type is an Integer
type.

gcc/testsuite/

2017-10-20  Ed Schonberg  <schonberg@adacore.com>

* gnat.dg/dimensions.adb, gnat.dg/dimensions.ads: New testcase.

From-SVN: r253941
22 files changed:
gcc/ada/ChangeLog
gcc/ada/bindgen.adb
gcc/ada/debug.adb
gcc/ada/einfo.ads
gcc/ada/exp_aggr.adb
gcc/ada/exp_attr.adb
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch9.adb
gcc/ada/exp_util.adb
gcc/ada/lib.ads
gcc/ada/libgnat/s-parame.adb
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_dim.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_res.adb
gcc/ada/switch-c.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/dimensions.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/dimensions.ads [new file with mode: 0644]