r219009 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Mon Dec 22 10:35:00 GMT 2014
Author: ebotcazou
Date: Mon Dec 22 10:35:11 2014
New Revision: 219009
URL: https://gcc.gnu.org/viewcvs?rev=219009&root=gcc&view=rev
Log:
* gcc-interface/decl.c (gnat_to_gnu_field): Post the error message
for parent overlapping on the position instead of on the first bit.
For a field that needs strict alignment, issue the error for the
position first and, for the size, issue an error if it is too large
only for the atomic and aliased cases. Issue a specific error if
the size is not a multiple of a byte in the volatile and the stric
alignment cases.
Added:
trunk/gcc/testsuite/gnat.dg/specs/volatile1.ads
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gnat.dg/specs/clause_on_volatile.ads
trunk/gcc/testsuite/gnat.dg/specs/size_clause3.ads
More information about the Gcc-cvs
mailing list