2017-04-25 Arnaud Charlet <charlet@adacore.com>
commite77f77353610750182e8aee542336722c95e63f1
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Apr 2017 15:54:39 +0000 (25 15:54 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Apr 2017 15:54:39 +0000 (25 15:54 +0000)
tree55dae71c0ef21060e28548eed6b71f8e8f1b0965
parent881e7d61384d8bac3d29e9a0951134de1dac5332
2017-04-25  Arnaud Charlet  <charlet@adacore.com>

* exp_ch4.adb (Expand_N_Case_Expression): Emit error message when
generating C code on complex case expressions.

2017-04-25  Arnaud Charlet  <charlet@adacore.com>

* sem_prag.adb (Analyze_Pragma): Generate a warning instead
of silently ignoring pragma Ada_xxx in Latest_Ada_Only mode.
* directio.ads, ioexcept.ads, sequenio.ads, text_io.ads: Use
Ada_2012 instead of Ada_2005 to be compatible with the above
change.
* bindgen.adb: Silence new warning on pragma Ada_95.

2017-04-25  Hristian Kirtchev  <kirtchev@adacore.com>

* checks.adb (Generate_Range_Check): Revert part of previous change.

2017-04-25  Ed Schonberg  <schonberg@adacore.com>

* sem_ch4.adb (Try_Container_Indexing): Handle properly a
container indexing operation that appears as a an actual in a
parameter association in a procedure call.

2017-04-25  Olivier Ramonat  <ramonat@adacore.com>

* prj-proc.adb, sem_util.adb, s-stposu.adb, sem_attr.adb, prj-conf.ads:
Fix spelling mistakes.

2017-04-25  Bob Duff  <duff@adacore.com>

* types.ads, osint.adb, sinput-c.adb, sinput-d.adb, sinput-l.adb,
* sinput-p.adb: Use regular fat pointers, with bounds checking,
for source buffers.  Fix misc obscure bugs.
* sinput.ads, sinput.adb: Use regular fat pointers, with bounds
checking, for source buffers.  Modify representation clause for
Source_File_Record as appropriate.  Move Source_File_Index_Table
from spec to body, because it is not used outside the body.
Move Set_Source_File_Index_Table into the private part, because
it is used only in the body and in children.  Use trickery to
modify the dope in the generic instantiation case.  It's ugly,
but not as ugly as the previous method.  Fix documentation.
Remove obsolete code.
* fname-sf.adb, targparm.adb: Fix misc out-of-bounds
indexing in source buffers.
* fmap.adb: Avoid conversions from one string type to another.
Remove a use of global name buffer.
* osint.ads, sfn_scan.ads, sfn_scan.adb, sinput-c.ads: Comment
fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247252 138bc75d-0d04-0410-961f-82ee72b054a4
32 files changed:
gcc/ada/ChangeLog
gcc/ada/bindgen.adb
gcc/ada/checks.adb
gcc/ada/directio.ads
gcc/ada/exp_ch4.adb
gcc/ada/fmap.adb
gcc/ada/fname-sf.adb
gcc/ada/ioexcept.ads
gcc/ada/namet.adb
gcc/ada/namet.ads
gcc/ada/osint.adb
gcc/ada/osint.ads
gcc/ada/prj-conf.ads
gcc/ada/prj-proc.adb
gcc/ada/s-stposu.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_util.adb
gcc/ada/sequenio.ads
gcc/ada/sfn_scan.adb
gcc/ada/sfn_scan.ads
gcc/ada/sinput-c.adb
gcc/ada/sinput-c.ads
gcc/ada/sinput-d.adb
gcc/ada/sinput-l.adb
gcc/ada/sinput-p.adb
gcc/ada/sinput.adb
gcc/ada/sinput.ads
gcc/ada/targparm.adb
gcc/ada/text_io.ads
gcc/ada/types.ads