trans.c (node_has_volatile_full_access): Consider only entities for objects.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 10 Mar 2018 10:11:29 +0000 (10:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 10 Mar 2018 10:11:29 +0000 (10:11 +0000)
commitf1bc6414556c6526a6560be45066ffe77c8815a7
tree96d7fd84190a97e8e13135f396c57850d3e9290f
parent7b602c4dc28c0eb24fec50fe20af78c13114e8a6
trans.c (node_has_volatile_full_access): Consider only entities for objects.

* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
Consider only entities for objects.

From-SVN: r258412
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/prot3.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/prot3_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/prot3_pkg.ads [new file with mode: 0644]