[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Sep 2017 13:21:31 +0000 (15:21 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Sep 2017 13:21:31 +0000 (15:21 +0200)
commitc48e0f27232aa6604b80e0d15b6ecb50604400a7
treebfddb1ebb7a5ebb47669f302259856ea4f5a805a
parenta87169db7dc0667a978e3f5b63e0fca648d3b793
[multiple changes]

2017-09-06  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_ch3.adb, sem_aux.adb, sem_res.adb: Minor reformatting.

2017-09-06  Yannick Moy  <moy@adacore.com>

* sem_ch12.adb (Analyze_Instance_And_Renamings): Refactor to set
global variable Ignore_SPARK_Mode_Pragmas_In_Instance only once.

2017-09-06  Bob Duff  <duff@adacore.com>

* sem_ch8.adb: Change Assert to be consistent with
other similar ones.

2017-09-06  Bob Duff  <duff@adacore.com>

* binde.adb (Find_Elab_Order): Do not run Elab_Old unless
requested. Previously, the -do switch meant "run Elab_New and
Elab_Old and use the order chosen by Elab_Old, possibly with
debugging printouts comparing the two orders." Now it means
"do not run Elab_New." This is of use if there are bugs that
cause Elab_New to crash.
(Elab_Position, Num_Chosen): Change type to Nat, to avoid various
type conversions.
* ali.ads (Elab_Position): Change type to Nat, to avoid various
type conversions.

2017-09-06  Arnaud Charlet  <charlet@adacore.com>

* sem_prag.adb (Check_Mode_Restriction_In_Enclosing_Context): Fix
reference to SPARK RM.

2017-09-06  Eric Botcazou  <ebotcazou@adacore.com>

* layout.adb: Use SSU short hand consistently throughout the file.

2017-09-06  Eric Botcazou  <ebotcazou@adacore.com>

* freeze.adb (Freeze_Record_Type)
<Sized_Component_Total_Round_RM_Size>: New local variable to
accumulate the rounded RM_Size of components.  Update it for
every component whose RM_Size is statically known.  Add missing
guard to check that bit packing is really required before issuing
the error about packing.  Swap condition for clarity's sake.
* sem_prag.adb (Usage_Error): fix reference to
SPARK RM in comment

2017-09-06  Fedor Rybin  <frybin@adacore.com>

* makeutl.adb, makeutl.ads, mlib.adb, mlib.ads, mlib-fil.adb,
mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb, mlib-tgt.ads,
mlib-tgt-specific.adb, mlib-tgt-specific.ads,
mlib-tgt-specific-aix.adb, mlib-tgt-specific-darwin.adb,
mlib-tgt-specific-hpux.adb, mlib-tgt-specific-linux.adb,
mlib-tgt-specific-mingw.adb, mlib-tgt-specific-solaris.adb,
mlib-tgt-specific-vxworks.adb, mlib-tgt-specific-xi.adb, mlib-utl.adb,
mlib-utl.ads, prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
prj-attr-pm.adb, prj-attr-pm.ads, prj-com.ads, prj-conf.adb,
prj-conf.ads, prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
prj-err.adb, prj-err.ads, prj-ext.adb, prj-ext.ads, prj-makr.adb,
prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads, prj-proc.adb,
prj-proc.ads, prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
prj-util.adb, prj-util.ads, sinput-p.adb, sinput-p.ads: Remove obsolete
project manager sources.

2017-09-06  Ed Schonberg  <schonberg@adacore.com>

* sem_ch5.adb (Analyze_Assigment): If the left-hand side is an
entity of a mutable type and the right-hand side is a conditional
expression, resolve the alternatives of the conditional using
the base type of the target entity, because the alternatives
may have distinct subtypes. This is particularly relevant if
the alternatives are aggregates.

From-SVN: r251797
71 files changed:
gcc/ada/ChangeLog
gcc/ada/ali.ads
gcc/ada/binde.adb
gcc/ada/freeze.adb
gcc/ada/layout.adb
gcc/ada/makeutl.adb [deleted file]
gcc/ada/makeutl.ads [deleted file]
gcc/ada/mlib-fil.adb [deleted file]
gcc/ada/mlib-fil.ads [deleted file]
gcc/ada/mlib-prj.adb [deleted file]
gcc/ada/mlib-prj.ads [deleted file]
gcc/ada/mlib-tgt-specific-aix.adb [deleted file]
gcc/ada/mlib-tgt-specific-darwin.adb [deleted file]
gcc/ada/mlib-tgt-specific-hpux.adb [deleted file]
gcc/ada/mlib-tgt-specific-linux.adb [deleted file]
gcc/ada/mlib-tgt-specific-mingw.adb [deleted file]
gcc/ada/mlib-tgt-specific-solaris.adb [deleted file]
gcc/ada/mlib-tgt-specific-vxworks.adb [deleted file]
gcc/ada/mlib-tgt-specific-xi.adb [deleted file]
gcc/ada/mlib-tgt-specific.adb [deleted file]
gcc/ada/mlib-tgt-specific.ads [deleted file]
gcc/ada/mlib-tgt.adb [deleted file]
gcc/ada/mlib-tgt.ads [deleted file]
gcc/ada/mlib-utl.adb [deleted file]
gcc/ada/mlib-utl.ads [deleted file]
gcc/ada/mlib.adb [deleted file]
gcc/ada/mlib.ads [deleted file]
gcc/ada/prj-attr-pm.adb [deleted file]
gcc/ada/prj-attr-pm.ads [deleted file]
gcc/ada/prj-attr.adb [deleted file]
gcc/ada/prj-attr.ads [deleted file]
gcc/ada/prj-com.ads [deleted file]
gcc/ada/prj-conf.adb [deleted file]
gcc/ada/prj-conf.ads [deleted file]
gcc/ada/prj-dect.adb [deleted file]
gcc/ada/prj-dect.ads [deleted file]
gcc/ada/prj-env.adb [deleted file]
gcc/ada/prj-env.ads [deleted file]
gcc/ada/prj-err.adb [deleted file]
gcc/ada/prj-err.ads [deleted file]
gcc/ada/prj-ext.adb [deleted file]
gcc/ada/prj-ext.ads [deleted file]
gcc/ada/prj-makr.adb [deleted file]
gcc/ada/prj-makr.ads [deleted file]
gcc/ada/prj-nmsc.adb [deleted file]
gcc/ada/prj-nmsc.ads [deleted file]
gcc/ada/prj-pars.adb [deleted file]
gcc/ada/prj-pars.ads [deleted file]
gcc/ada/prj-part.adb [deleted file]
gcc/ada/prj-part.ads [deleted file]
gcc/ada/prj-pp.adb [deleted file]
gcc/ada/prj-pp.ads [deleted file]
gcc/ada/prj-proc.adb [deleted file]
gcc/ada/prj-proc.ads [deleted file]
gcc/ada/prj-strt.adb [deleted file]
gcc/ada/prj-strt.ads [deleted file]
gcc/ada/prj-tree.adb [deleted file]
gcc/ada/prj-tree.ads [deleted file]
gcc/ada/prj-util.adb [deleted file]
gcc/ada/prj-util.ads [deleted file]
gcc/ada/prj.adb [deleted file]
gcc/ada/prj.ads [deleted file]
gcc/ada/sem_aux.adb
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch5.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_res.adb
gcc/ada/sinput-p.adb [deleted file]
gcc/ada/sinput-p.ads [deleted file]