sem_ch13.adb (Adjust_Record_For_Reverse_Bit_Order): Split original Ada 95 part off...
authorThomas Quinot <quinot@adacore.com>
Mon, 23 Jan 2017 11:33:13 +0000 (11:33 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 23 Jan 2017 11:33:13 +0000 (12:33 +0100)
commit52b70b1bef33b0a6a339c631b084cf030bc501e9
treef3f25445d145ac100f2433babca3f8a02c79478d
parent2a02fa985d8c474e0855f1354746f54a2b3fc749
sem_ch13.adb (Adjust_Record_For_Reverse_Bit_Order): Split original Ada 95 part off into new subprogram below.

2017-01-23  Thomas Quinot  <quinot@adacore.com>

* sem_ch13.adb (Adjust_Record_For_Reverse_Bit_Order):
Split original Ada 95 part off into new subprogram
below. Call that subprogram (instead of proceeding with
AI95-0133 behaviour) if debug switch -gnatd.p is in use.
(Adjust_Record_For_Reverse_Bit_Order_Ada_95): ... new subprogram
* debug.adb Document new switch -gnatd.p
* freeze.adb (Freeze_Entity.Freeze_Record_Type): Do not adjust
record for reverse bit order if an error has already been posted
on the record type.  This avoids generating extraneous "info:"
messages for illegal code.

From-SVN: r244786
gcc/ada/ChangeLog
gcc/ada/debug.adb
gcc/ada/freeze.adb
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch13.ads