re PR ada/21053 (Warnings from init.c)
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 29 Aug 2005 15:41:45 +0000 (17:41 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 29 Aug 2005 15:41:45 +0000 (17:41 +0200)
commit8c1b16bcbc337f5207771e6304632e7454658788
treebe2a5f4c6ed1ddb1400c50e75831f84c8a404728
parentb794e321c163674e83fa0b8f7a7aa1b4359c918c
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
gcc/ada/decl.c
gcc/ada/fe.h
gcc/ada/init.c
gcc/ada/s-stalib.adb