diff options
author | Bob Duff <duff@adacore.com> | 2024-04-29 08:35:43 -0400 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-13 15:30:33 +0200 |
commit | 79a35e558e74fd61fa265e0307f2296114ab1b86 (patch) | |
tree | 48c2887313101046673f492580e50805bbafc560 /gcc/expr.cc | |
parent | a028b7f0090e82e79a5458b0e7e34915b377c04c (diff) | |
download | gcc-79a35e558e74fd61fa265e0307f2296114ab1b86.zip gcc-79a35e558e74fd61fa265e0307f2296114ab1b86.tar.gz gcc-79a35e558e74fd61fa265e0307f2296114ab1b86.tar.bz2 |
ada: Minor cleanups in generic formal matching
Minor rewording of a warning.
Disallow positional notation for <> (but disable this check),
and fix resulting errors.
Copy use clauses.
gcc/ada/
* sem_ch12.adb (Check_Fixed_Point_Actual): Minor rewording; it seems
more proper to say "operator" rather than "operation".
(Matching_Actual): Give an error for <> in positional notation.
This is a syntax error. Disable this for now.
(Analyze_Associations): Copy the use clause in all cases.
The "mustn't recopy" comment seems wrong, because New_Copy_Tree
preserves Slocs.
* libgnat/a-ticoau.ads: Fix violation of new postion-box error.
* libgnat/a-wtcoau.ads: Likewise.
* libgnat/a-ztcoau.ads: Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions