diff options
author | Justin Squirek <squirek@adacore.com> | 2022-06-15 01:53:49 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-07-12 12:24:14 +0000 |
commit | 729d2e2a80768b6df008ea98979dbe34b7e4ab9a (patch) | |
tree | 377a6dfe5e903e502a7164f8387a39796752face /gcc/system.h | |
parent | 433cefcd0252ad8aae2aa8a69fbd9900809063b7 (diff) | |
download | gcc-729d2e2a80768b6df008ea98979dbe34b7e4ab9a.zip gcc-729d2e2a80768b6df008ea98979dbe34b7e4ab9a.tar.gz gcc-729d2e2a80768b6df008ea98979dbe34b7e4ab9a.tar.bz2 |
[Ada] Spurious use_type clause warning
This patch corrects an error in the compiler whereby a spurious
redundant use_type_clause warning gets issued when the clause appears in
the context_clause of a package preceding a with_clause for a package
with an identical use_clause in its specification.
gcc/ada/
* einfo.ads: Modify documentation for In_Use flag to include
scope stack manipulation.
* sem_ch8.adb (Use_One_Type): Add condition to return when
attempting to detect redundant use_type_clauses in child units
in certain cases.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions