r274473 - in /trunk/gcc: ada/ChangeLog ada/doc/...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Wed Aug 14 09:52:00 GMT 2019
Author: pmderodat
Date: Wed Aug 14 09:52:54 2019
New Revision: 274473
URL: https://gcc.gnu.org/viewcvs?rev=274473&root=gcc&view=rev
Log:
[Ada] Alignment may be specified as zero
An Alignment clause or an aspect_specification for Alignment may be
specified as 0, which is treated the same as 1.
2019-08-14 Bob Duff <duff@adacore.com>
gcc/ada/
* sem_ch13.adb (Get_Alignment_Value): Return 1 for Alignment 0,
and do not give an error.
* doc/gnat_rm/representation_clauses_and_pragmas.rst: Update the
corresponding documentation.
* gnat_rm.texi: Regenerate.
gcc/testsuite/
* gnat.dg/alignment15.adb: New testcase.
Added:
trunk/gcc/testsuite/gnat.dg/alignment15.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
trunk/gcc/ada/gnat_rm.texi
trunk/gcc/ada/sem_ch13.adb
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list