utils2.c (build_atomic_load): Do a mere view-conversion to the original type before...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 13 Aug 2013 10:26:40 +0000 (10:26 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 13 Aug 2013 10:26:40 +0000 (10:26 +0000)
commit537e035c48955b3ea88dcb3a4b0ff03ef4bb2e31
treefb3c96501d1d6d6055e09aec228353590a1c90e7
parent3944d88d35e71f0aaf58c2c82bc7cf34414cb6ac
utils2.c (build_atomic_load): Do a mere view-conversion to the original type before converting to the result type.

* gcc-interface/utils2.c (build_atomic_load): Do a mere view-conversion
to the original type before converting to the result type.
(build_atomic_store): First do a conversion to the original type before
view-converting to the effective type, but deal with a padded type
specially.

From-SVN: r201682
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils2.c