Fix duplication of gnat_init_stmt_group
Andreas Schwab
schwab@suse.de
Wed Jul 14 19:09:00 GMT 2004
Committed in as obvious.
Andreas.
2004-07-14 Andreas Schwab <schwab@suse.de>
* trans.c (gnat_init_stmt_group): Remove duplicate definition.
--- gcc/ada/trans.c 14 Jul 2004 13:37:10 +0200 1.68
+++ gcc/ada/trans.c 14 Jul 2004 15:06:14 +0200
@@ -297,28 +297,6 @@ gnat_init_stmt_group ()
REAL_ARITHMETIC (dconstmp5, RDIV_EXPR, dconstm1, dconst2);
}
-/* Perform initializations for this module. */
-
-void
-gnat_init_stmt_group ()
-{
- /* Initialize ourselves. */
- init_code_table ();
- start_stmt_group ();
-
- global_stmt_group = current_stmt_group;
-
- /* Enable GNAT stack checking method if needed */
- if (!Stack_Check_Probes_On_Target)
- set_stack_check_libfunc (gen_rtx_SYMBOL_REF (Pmode, "_gnat_stack_check"));
-
- if (Exception_Mechanism == Front_End_ZCX)
- abort ();
-
- REAL_ARITHMETIC (dconstp5, RDIV_EXPR, dconst1, dconst2);
- REAL_ARITHMETIC (dconstmp5, RDIV_EXPR, dconstm1, dconst2);
-}
-
/* This function is the driver of the GNAT to GCC tree transformation
process. It is the entry point of the tree transformer. GNAT_NODE is the
root of some GNAT tree. Return the root of the corresponding GCC tree.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc-patches
mailing list