aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-expr.c
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2020-01-31 12:28:21 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-05 08:17:43 -0400
commit2107ca0242fdbe6f21c9c33c0fd1b812ae944404 (patch)
treec490b3dbe5e3f26026e717fbbd1685f266a1eb84 /gcc/gimple-expr.c
parenta8aecf319aaa77429584ac8c18f556c2577616b9 (diff)
downloadgcc-2107ca0242fdbe6f21c9c33c0fd1b812ae944404.zip
gcc-2107ca0242fdbe6f21c9c33c0fd1b812ae944404.tar.gz
gcc-2107ca0242fdbe6f21c9c33c0fd1b812ae944404.tar.bz2
[Ada] Spurious error on address clause in task body
2020-06-05 Ed Schonberg <schonberg@adacore.com> gcc/ada/ * sem_ch9.adb, (Analyze_Task_Body): After analying the task body, indicate that all local variables have no delayed aspects. This prevents improper later calls to Check_Aspect_At_End_Of_Declarations, that would happen when the constructed task_procedure body (generated during expansion) is analyzed. The legality of aspect specifications that may appear on local declarations has already been established, and it is in general not possible to recheck them properly during expansion, when visibility may not be fully established.
Diffstat (limited to 'gcc/gimple-expr.c')
0 files changed, 0 insertions, 0 deletions