aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/ChangeLog
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2018-05-24 13:05:20 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-24 13:05:20 +0000
commit36e7d49f8afc9bde0ef5691fc5a3ce4330fd3063 (patch)
treea1f671816f03d35cf2f2d90b42ac6661e47fd123 /gcc/ada/ChangeLog
parent37a104eaa89a54f7c1a64a58c332fc04d2d757a6 (diff)
downloadgcc-36e7d49f8afc9bde0ef5691fc5a3ce4330fd3063.zip
gcc-36e7d49f8afc9bde0ef5691fc5a3ce4330fd3063.tar.gz
gcc-36e7d49f8afc9bde0ef5691fc5a3ce4330fd3063.tar.bz2
[Ada] Ineffective use warning is suppressed when performing verification
This patch fixes an issue whereby the compiler incorrectly marked use clauses as effective due to code generated for verification referencing certain types leading to missing use clause warnings. No reasonably small testcase available. 2018-05-24 Justin Squirek <squirek@adacore.com> gcc/ada/ * sem_res.adb (Resolve_Entity_Name): Add guard to protect against marking use clauses as effective when the reference appears within generated code. From-SVN: r260652
Diffstat (limited to 'gcc/ada/ChangeLog')
-rw-r--r--gcc/ada/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index ae9c071..6707a1a 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2018-05-24 Justin Squirek <squirek@adacore.com>
+
+ * sem_res.adb (Resolve_Entity_Name): Add guard to protect against
+ marking use clauses as effective when the reference appears within
+ generated code.
+
2018-05-24 Cyrille Comar <comar@adacore.com>
* doc/gnat_rm/the_gnat_library.rst: Fix typos.