aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/lib-xref.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-04-22 22:27:22 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-30 08:29:02 +0000
commit79b7ab68bce24103adc388d184ff74755914cdda (patch)
treef02eb4d6bde2d0e8a4528457ed223a0b984363c7 /gcc/ada/lib-xref.adb
parent764169055b5b083f1f2167122c637ddc72c58095 (diff)
downloadgcc-79b7ab68bce24103adc388d184ff74755914cdda.zip
gcc-79b7ab68bce24103adc388d184ff74755914cdda.tar.gz
gcc-79b7ab68bce24103adc388d184ff74755914cdda.tar.bz2
[Ada] Do not analyze expression functions for dispatch tables
There is no need to analyze expression functions that are primitives of a tagged type for its dispatch table because they will be analyzed at the end of the current scope. gcc/ada/ * sem_attr.adb (Resolve_Attribute) <Attribute_Access>: Don't analyze the body of an expression function in the case of a dispatch table.
Diffstat (limited to 'gcc/ada/lib-xref.adb')
0 files changed, 0 insertions, 0 deletions