diff options
author | Javier Miranda <miranda@adacore.com> | 2024-08-26 18:56:37 +0000 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-09-10 09:44:10 +0200 |
commit | 356536a4e6bce777e9f150e0bdcd627cd73068cd (patch) | |
tree | c1085702b53d5efd77ede964ef44c84173fd0f2c /gcc/tree-vect-patterns.cc | |
parent | 5b701ee737c41cd0ca54f1343620170d92344e6a (diff) | |
download | gcc-356536a4e6bce777e9f150e0bdcd627cd73068cd.zip gcc-356536a4e6bce777e9f150e0bdcd627cd73068cd.tar.gz gcc-356536a4e6bce777e9f150e0bdcd627cd73068cd.tar.bz2 |
ada: First controlling parameter: report error without Extensions allowed
Enable reporting an error when this new aspect/pragma is set to
True, and the sources are compiled without language extensions
allowed.
gcc/ada/
* sem_ch13.adb (Analyze_One_Aspect): Call
Error_Msg_GNAT_Extension() to report an error when the aspect
First_Controlling_Parameter is set to True and the sources are
compiled without Core_Extensions_ Allowed.
* sem_prag.adb (Pragma_First_Controlling_Parameter): Call
subprogram Error_Msg_GNAT_Extension() to report an error when the
aspect First_Controlling_Parameter is set to True and the sources
are compiled without Core_Extensions_Allowed. Report an error when
the aspect pragma does not confirm an inherited True value.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions