decl.c (gnat_to_gnu_field): Always check components declared as atomic.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 26 Oct 2011 20:32:17 +0000 (20:32 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 26 Oct 2011 20:32:17 +0000 (20:32 +0000)
commit0025cb638168df0f3d7a845fa9e11a308a719b05
tree64fc8636996c2d631bd7438c08224c14fa23f469
parent24847495f3558a50ce191cc8c70bc4b24b58ac09
decl.c (gnat_to_gnu_field): Always check components declared as atomic.

* gcc-interface/decl.c (gnat_to_gnu_field): Always check components
declared as atomic.  Move around conditionally executed code.

From-SVN: r180539
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/atomic1.ads [new file with mode: 0644]