From c1107fa376b716f93c9c6f349bb46e1e767d41d6 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Mon, 9 Jul 2012 15:27:22 +0200 Subject: [multiple changes] 2012-07-09 Vincent Pucci * sem_ch9.adb (Check_Node): Allow attributes that denote static function for lock-free implementation. (Is_Static_Function): New routine. 2012-07-09 Tristan Gingold * tracebak.c: Adjust skip_frames on Win64. 2012-07-09 Tristan Gingold * init.c: Add __gnat_adjust_context_for_raise for ia64/hpux. * raise-gcc.c: __gnat_cleanupunwind_handler: Do not call _Unwind_GetGR on hpux when using libgcc unwinder. Part of 2012-07-09 Vincent Pucci * exp_attr.adb, sem_attr.adb: Minor reformatting. * par-ch13.adb, par-ch4.adb, par-util.adb: Reformatting considering that internal attribute names are not defined anymore in the main attribute names list. * snames.adb-tmpl (Get_Attribute_Id): Special processinf for names CPU, Dispatching_Domain and Interrupt_Priority. (Is_Internal_Attribute_Name): Minor reformatting. * snames.ads-tmpl: New list of internal attribute names. Internal attributes moved at the end of the attribute Id list. From-SVN: r189380 --- gcc/ada/par-util.adb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gcc/ada/par-util.adb') diff --git a/gcc/ada/par-util.adb b/gcc/ada/par-util.adb index ec2d478..efcf70b 100644 --- a/gcc/ada/par-util.adb +++ b/gcc/ada/par-util.adb @@ -721,13 +721,7 @@ package body Util is Error_Msg_Name_1 := First_Attribute_Name; while Error_Msg_Name_1 <= Last_Attribute_Name loop - - -- No mispelling possible with internal attribute names since they - -- don't denote real attributes. - - if not Is_Internal_Attribute_Name (Error_Msg_Name_1) - and then Is_Bad_Spelling_Of (Token_Name, Error_Msg_Name_1) - then + if Is_Bad_Spelling_Of (Token_Name, Error_Msg_Name_1) then Error_Msg_N -- CODEFIX ("\possible misspelling of %", Token_Node); exit; -- cgit v1.1