diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-08-29 17:41:45 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-08-29 17:41:45 +0200 |
commit | 8c1b16bcbc337f5207771e6304632e7454658788 (patch) | |
tree | be2a5f4c6ed1ddb1400c50e75831f84c8a404728 /gcc/ada/fe.h | |
parent | b794e321c163674e83fa0b8f7a7aa1b4359c918c (diff) | |
download | gcc-8c1b16bcbc337f5207771e6304632e7454658788.zip gcc-8c1b16bcbc337f5207771e6304632e7454658788.tar.gz gcc-8c1b16bcbc337f5207771e6304632e7454658788.tar.bz2 |
re PR ada/21053 (Warnings from init.c)
2005-08-29 Arnaud Charlet <charlet@adacore.com>
Doug Rupp <rupp@adacore.com>
* s-stalib.adb: Add missing pragma Warnings (On) to reenable Warnings
when needed.
(Inside_Elab_Final_Code): Moved to init.c to avoid having to keep
this code in the GNAT run-time.
* decl.c, fe.h: Replace GCC_ZCX by Back_End_Exceptions.
PR ada/21053
* init.c (__gnat_error_handler [many]): Mark "msg" as const
(__gnat_error_handler [HPUX]): Mark siginfo parameter as unused
(__gnat_inside_elab_final_code): Moved here from
Standard_Library and only defined for the compiler.
__gnat_error_handler [VMS]: Adjust sigargs to account for PC & PSL.
(__gnat_inum_to_ivec): Do not define this function on VxWorks when
using RTPs because directly vectored Interrupt routines are not
supported on this configuration.
(getpid): Do not redefine this function on VxWorks when using RTPs
because this primitive is well supported by the RTP libraries.
(copy_msg): Correct the code that checks for buffer overflow.
Discovered during code reading.
From-SVN: r103606
Diffstat (limited to 'gcc/ada/fe.h')
-rw-r--r-- | gcc/ada/fe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/fe.h b/gcc/ada/fe.h index 5239519..5e49ab9 100644 --- a/gcc/ada/fe.h +++ b/gcc/ada/fe.h @@ -155,7 +155,7 @@ extern Boolean In_Same_Source_Unit (Node_Id, Node_Id); #define Exception_Mechanism opt__exception_mechanism #define Back_Annotate_Rep_Info opt__back_annotate_rep_info -typedef enum {Setjmp_Longjmp, Front_End_ZCX, GCC_ZCX} Exception_Mechanism_Type; +typedef enum {Setjmp_Longjmp, Back_End_Exceptions} Exception_Mechanism_Type; extern Boolean Global_Discard_Names; extern Boolean Exception_Locations_Suppressed; |