We've had this setting enabled by default in our AdaCore tree for years now, so enabling this setting here.
Manually tested on powerpc-aix Tested on x86_64-pc-linux-gnu, committed on trunk 2011-08-03 Arnaud Charlet <char...@adacore.com> * system-aix.ads, system-aix64.ads: Set ZCX_By_Default to True. * gcc-interface/Makefile.in: Switch to ZCX by default on AIX ports.
Index: system-aix64.ads =================================================================== --- system-aix64.ads (revision 176998) +++ system-aix64.ads (working copy) @@ -7,7 +7,7 @@ -- S p e c -- -- (PPC/AIX64 Version) -- -- -- --- Copyright (C) 2009, Free Software Foundation, Inc. -- +-- Copyright (C) 2009-2011, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- @@ -149,7 +149,7 @@ Always_Compatible_Rep : constant Boolean := True; Suppress_Standard_Library : constant Boolean := False; Use_Ada_Main_Program_Name : constant Boolean := False; - ZCX_By_Default : constant Boolean := False; - GCC_ZCX_Support : constant Boolean := True; -- Post GCC 4 only + ZCX_By_Default : constant Boolean := True; + GCC_ZCX_Support : constant Boolean := True; end System; Index: system-aix.ads =================================================================== --- system-aix.ads (revision 176998) +++ system-aix.ads (working copy) @@ -7,7 +7,7 @@ -- S p e c -- -- (AIX/PPC Version) -- -- -- --- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- @@ -149,7 +149,7 @@ Always_Compatible_Rep : constant Boolean := True; Suppress_Standard_Library : constant Boolean := False; Use_Ada_Main_Program_Name : constant Boolean := False; - ZCX_By_Default : constant Boolean := False; - GCC_ZCX_Support : constant Boolean := True; -- Post GCC 4 only + ZCX_By_Default : constant Boolean := True; + GCC_ZCX_Support : constant Boolean := True; end System; Index: gcc-interface/Makefile.in =================================================================== --- gcc-interface/Makefile.in (revision 177191) +++ gcc-interface/Makefile.in (working copy) @@ -1383,7 +1385,7 @@ endif THREADSLIB = -lpthreads - + EH_MECHANISM=-gcc TOOLS_TARGET_PAIRS = \ mlib-tgt-specific.adb<mlib-tgt-specific-aix.adb \ indepsw.adb<indepsw-aix.adb