mirror of git://gcc.gnu.org/git/gcc.git
* gcc-interface/trans.c (gigi): Fix initialization order.
From-SVN: r231068
This commit is contained in:
parent
4f852a1aff
commit
c8a23c29f7
|
|
@ -1,3 +1,7 @@
|
||||||
|
2015-11-30 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
|
* gcc-interface/trans.c (gigi): Fix initialization order.
|
||||||
|
|
||||||
2015-11-30 Eric Botcazou <ebotcazou@adacore.com>
|
2015-11-30 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
* osint.adb: Add use type clause for CRTL.size_t.
|
* osint.adb: Add use type clause for CRTL.size_t.
|
||||||
|
|
|
||||||
|
|
@ -627,8 +627,16 @@ gigi (Node_Id gnat_root,
|
||||||
|
|
||||||
main_identifier_node = get_identifier ("main");
|
main_identifier_node = get_identifier ("main");
|
||||||
|
|
||||||
/* Install the builtins we might need, either internally or as
|
/* If we are using the GCC exception mechanism, let GCC know. */
|
||||||
user available facilities for Intrinsic imports. */
|
if (Back_End_Exceptions ())
|
||||||
|
gnat_init_gcc_eh ();
|
||||||
|
|
||||||
|
/* Initialize the GCC support for FP operations. */
|
||||||
|
gnat_init_gcc_fp ();
|
||||||
|
|
||||||
|
/* Install the builtins we might need, either internally or as user-available
|
||||||
|
facilities for Intrinsic imports. Note that this must be done after the
|
||||||
|
GCC exception mechanism is initialized. */
|
||||||
gnat_install_builtins ();
|
gnat_install_builtins ();
|
||||||
|
|
||||||
vec_safe_push (gnu_except_ptr_stack, NULL_TREE);
|
vec_safe_push (gnu_except_ptr_stack, NULL_TREE);
|
||||||
|
|
@ -641,13 +649,6 @@ gigi (Node_Id gnat_root,
|
||||||
targetm.asm_out.output_ident
|
targetm.asm_out.output_ident
|
||||||
(TREE_STRING_POINTER (gnat_to_gnu (Ident_String (Main_Unit))));
|
(TREE_STRING_POINTER (gnat_to_gnu (Ident_String (Main_Unit))));
|
||||||
|
|
||||||
/* If we are using the GCC exception mechanism, let GCC know. */
|
|
||||||
if (Back_End_Exceptions ())
|
|
||||||
gnat_init_gcc_eh ();
|
|
||||||
|
|
||||||
/* Initialize the GCC support for FP operations. */
|
|
||||||
gnat_init_gcc_fp ();
|
|
||||||
|
|
||||||
/* Force -fno-strict-aliasing if the configuration pragma was seen. */
|
/* Force -fno-strict-aliasing if the configuration pragma was seen. */
|
||||||
if (No_Strict_Aliasing_CP)
|
if (No_Strict_Aliasing_CP)
|
||||||
flag_strict_aliasing = 0;
|
flag_strict_aliasing = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue