decl.c (check_ok_for_atomic): Do nothing if the type doesn't come from source.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 2 Oct 2009 20:16:18 +0000 (20:16 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 2 Oct 2009 20:16:18 +0000 (20:16 +0000)
commit5004b2347d2b300302d11dcf95e53e610c6c33aa
tree40b5d1e4c2dc203a6c690b49915b38af85291282
parent1aa8b1dd138a0b4aec3bc5747b7298475335e4d7
decl.c (check_ok_for_atomic): Do nothing if the type doesn't come from source.

* gcc-interface/decl.c (check_ok_for_atomic): Do nothing if the type
doesn't come from source.

From-SVN: r152418
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/atomic2.adb [new file with mode: 0644]