aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2024-02-22 14:27:14 +0200
committerMarc Poulhiès <poulhies@adacore.com>2024-05-16 10:49:32 +0200
commitc3b570b5d9354a2366c29c4eb8eaa41c1d087e41 (patch)
treefd9116858893f4e2be0c10d0286a6c8ed472c80a /gcc/tree-vectorizer.h
parentc485a154ae0cfa1a63c79a1f3b82d6f2d4a107b5 (diff)
downloadgcc-c3b570b5d9354a2366c29c4eb8eaa41c1d087e41.zip
gcc-c3b570b5d9354a2366c29c4eb8eaa41c1d087e41.tar.gz
gcc-c3b570b5d9354a2366c29c4eb8eaa41c1d087e41.tar.bz2
ada: Avoid checking parameters of protected procedures
The compiler triggers warnings on generated protected procedures if the procedure does not have an explicit spec. Instead check if the body was created for a protected procedure if the spec is not present. gcc/ada/ * sem_ch6.adb (Analyze_Subprogram_Body_Helper): If the spec is not present for a subprogram body then check if the body definiton was created for a protected procedure.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions