[Ada] Add warning for overlays changing scalar storage order
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 30 May 2020 09:14:12 +0000 (11:14 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 10 Jul 2020 09:16:23 +0000 (05:16 -0400)
commitdb6c298d166d22cdd33761d37a1dc94ec20b6969
tree7262622fd43f9e34ed3436073b1aa22d27174113
parent33502a3a8ce760840d3e71dfe0dab9910514327e
[Ada] Add warning for overlays changing scalar storage order

gcc/ada/

* sem_ch13.adb (Analyze_Attribute_Definition_Clause) <Address>:
Issue an unconditional warning for an overlay that changes the
scalar storage order.
gcc/ada/sem_ch13.adb