diff options
author | Gary Dismukes <dismukes@adacore.com> | 2021-02-09 20:18:47 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-06-15 06:19:29 -0400 |
commit | 3d4fbcb4c98bc593e7e9ff7e0202d622d6c64f73 (patch) | |
tree | a590dc97271431a21112e108594656786de918e2 /gcc/ordered-hash-map-tests.cc | |
parent | d675f3528764107d70cc7e299419156aaa6f1e87 (diff) | |
download | gcc-3d4fbcb4c98bc593e7e9ff7e0202d622d6c64f73.zip gcc-3d4fbcb4c98bc593e7e9ff7e0202d622d6c64f73.tar.gz gcc-3d4fbcb4c98bc593e7e9ff7e0202d622d6c64f73.tar.bz2 |
[Ada] Error when passing subprogram'Access to null-defaulted formal subprogram
gcc/ada/
* freeze.adb (Freeze_Subprogram): Don't propagate conventions
Intrinsic or Entry to anonymous access-to-subprogram types
associated with subprograms having those conventions. Update
related comment.
* sem_attr.adb (Resolve_Attribute, Attribute_*Access): Remove
special-case warning code for cases where a called subprogram
has convention Intrinsic as well as its formal's type (the
expected type for the Access attribute), since this case can no
longer occur.
Diffstat (limited to 'gcc/ordered-hash-map-tests.cc')
0 files changed, 0 insertions, 0 deletions