diff -Nrcpad gcc-4.6.1/gcc/ada/ChangeLog gcc-4.6.2/gcc/ada/ChangeLog *** gcc-4.6.1/gcc/ada/ChangeLog Mon Jun 27 10:03:04 2011 --- gcc-4.6.2/gcc/ada/ChangeLog Wed Oct 26 09:05:57 2011 *************** *** 1,3 **** --- 1,61 ---- + 2011-10-26 Release Manager + + * GCC 4.6.2 released. + + 2011-09-19 Iain Sandoe + + Backport from mainline (restore powerpc-darwin Ada bootstrap). + * traceback.c (Darwin) USE_GCC_UNWINDER for Darwin versions >= 8. + + 2011-09-11 Eric Botcazou + + * gcc-interface/decl.c (maybe_pad_type): Do not try to change the form + of an addressable type. + * gcc-interface/trans.c (gnat_gimplify_expr) : New. + Deal with those cases for which creating a temporary is mandatory. + + 2011-09-08 Iain Sandoe + + Backport from mainline (restore powerpc-darwin Ada bootstrap). + * gcc-interface/Makefile.in (darwin): Provide powerpc64 system + implementation. + * system-darwin-ppc64.ads: New file. + + 2011-09-06 Iain Sandoe + + Backport from mainline. + * gcc-interface/Makefile.in (darwin, SO_OPTS): Provide architecture + size switches to the link phase for shared libs. + + 2011-07-23 Eric Botcazou + + Backport from mainline + 2011-07-23 Arnaud Charlet + + PR ada/49819 + * gcc-interface/Makefile.in (powerpc-linux): Remove reference to + g-trasym-dwarf.adb. + + 2011-07-15 Eric Botcazou + + PR ada/48711 + * g-socthi-mingw.adb (Fill): Fix formatting. + + 2011-07-14 John David Anglin + + PR ada/46350 + * s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast. + + 2011-07-14 Florian Weimer + + PR ada/48711 + * g-socthi-mingw.adb (Fill): Guard against invalid MSG_WAITALL. + + 2011-07-01 Eric Botcazou + + * gcc-interface/Make-lang.in (gnat1): Prepend '+' to the command. + (gnatbind): Likewise. + 2011-06-27 Release Manager * GCC 4.6.1 released. diff -Nrcpad gcc-4.6.1/gcc/ada/g-socthi-mingw.adb gcc-4.6.2/gcc/ada/g-socthi-mingw.adb *** gcc-4.6.1/gcc/ada/g-socthi-mingw.adb Tue Jun 22 09:46:58 2010 --- gcc-4.6.2/gcc/ada/g-socthi-mingw.adb Fri Jul 15 05:53:13 2011 *************** package body GNAT.Sockets.Thin is *** 277,283 **** use type C.size_t; Fill : constant Boolean := ! (C.unsigned (Flags) and SOSC.MSG_WAITALL) /= 0; -- Is the MSG_WAITALL flag set? If so we need to fully fill all vectors Res : C.int; --- 277,284 ---- use type C.size_t; Fill : constant Boolean := ! SOSC.MSG_WAITALL /= -1 ! and then (C.unsigned (Flags) and SOSC.MSG_WAITALL) /= 0; -- Is the MSG_WAITALL flag set? If so we need to fully fill all vectors Res : C.int; diff -Nrcpad gcc-4.6.1/gcc/ada/gcc-interface/Make-lang.in gcc-4.6.2/gcc/ada/gcc-interface/Make-lang.in *** gcc-4.6.1/gcc/ada/gcc-interface/Make-lang.in Sun Apr 17 22:29:13 2011 --- gcc-4.6.2/gcc/ada/gcc-interface/Make-lang.in Fri Jul 1 21:44:20 2011 *************** TARGET_ADA_SRCS = *** 481,491 **** # Since the RTL should be built with the latest compiler, remove the # stamp target in the parent directory whenever gnat1 is rebuilt gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBDEPS) ! $(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBS) $(SYSLIBS) $(BACKENDLIBS) $(CFLAGS) $(RM) stamp-gnatlib2-rts stamp-tools gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS) ! $(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(LIBS) $(SYSLIBS) $(CFLAGS) # use cross-gcc gnat-cross: force --- 481,491 ---- # Since the RTL should be built with the latest compiler, remove the # stamp target in the parent directory whenever gnat1 is rebuilt gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBDEPS) ! +$(GCC_LINK) -o $@ $(GNAT1_OBJS) $(ADA_BACKEND) $(LIBS) $(SYSLIBS) $(BACKENDLIBS) $(CFLAGS) $(RM) stamp-gnatlib2-rts stamp-tools gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS) ! +$(GCC_LINK) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) $(LIBS) $(SYSLIBS) $(CFLAGS) # use cross-gcc gnat-cross: force diff -Nrcpad gcc-4.6.1/gcc/ada/gcc-interface/Makefile.in gcc-4.6.2/gcc/ada/gcc-interface/Makefile.in *** gcc-4.6.1/gcc/ada/gcc-interface/Makefile.in Tue Feb 8 22:55:57 2011 --- gcc-4.6.2/gcc/ada/gcc-interface/Makefile.in Thu Sep 8 08:27:57 2011 *************** ifeq ($(strip $(filter-out powerpc% linu *** 1792,1798 **** s-osinte.adb. -- + -- -- + -- GNAT was originally developed by the GNAT team at New York University. -- + -- Extensive contributions were provided by Ada Core Technologies Inc. -- + -- -- + ------------------------------------------------------------------------------ + + package System is + pragma Pure; + -- Note that we take advantage of the implementation permission to make + -- this unit Pure instead of Preelaborable; see RM 13.7.1(15). In Ada + -- 2005, this is Pure in any case (AI-362). + + type Name is (SYSTEM_NAME_GNAT); + System_Name : constant Name := SYSTEM_NAME_GNAT; + + -- System-Dependent Named Numbers + + Min_Int : constant := Long_Long_Integer'First; + Max_Int : constant := Long_Long_Integer'Last; + + Max_Binary_Modulus : constant := 2 ** Long_Long_Integer'Size; + Max_Nonbinary_Modulus : constant := 2 ** Integer'Size - 1; + + Max_Base_Digits : constant := Long_Long_Float'Digits; + Max_Digits : constant := Long_Long_Float'Digits; + + Max_Mantissa : constant := 63; + Fine_Delta : constant := 2.0 ** (-Max_Mantissa); + + Tick : constant := 0.01; + + -- Storage-related Declarations + + type Address is private; + pragma Preelaborable_Initialization (Address); + Null_Address : constant Address; + + Storage_Unit : constant := 8; + Word_Size : constant := 64; + Memory_Size : constant := 2 ** 64; + + -- Address comparison + + function "<" (Left, Right : Address) return Boolean; + function "<=" (Left, Right : Address) return Boolean; + function ">" (Left, Right : Address) return Boolean; + function ">=" (Left, Right : Address) return Boolean; + function "=" (Left, Right : Address) return Boolean; + + pragma Import (Intrinsic, "<"); + pragma Import (Intrinsic, "<="); + pragma Import (Intrinsic, ">"); + pragma Import (Intrinsic, ">="); + pragma Import (Intrinsic, "="); + + -- Other System-Dependent Declarations + + type Bit_Order is (High_Order_First, Low_Order_First); + Default_Bit_Order : constant Bit_Order := High_Order_First; + pragma Warnings (Off, Default_Bit_Order); -- kill constant condition warning + + -- Priority-related Declarations (RM D.1) + + -- The values defined here are copied from the ppc version. + + Max_Interrupt_Priority : constant Positive := 63; + Max_Priority : constant Positive := Max_Interrupt_Priority - 1; + + subtype Any_Priority is Integer range 0 .. Max_Interrupt_Priority; + subtype Priority is Any_Priority range 0 .. Max_Priority; + subtype Interrupt_Priority is Any_Priority + range Priority'Last + 1 .. Max_Interrupt_Priority; + + Default_Priority : constant Priority := + (Priority'Last - Priority'First) / 2; + + private + + type Address is mod Memory_Size; + Null_Address : constant Address := 0; + + -------------------------------------- + -- System Implementation Parameters -- + -------------------------------------- + + -- These parameters provide information about the target that is used + -- by the compiler. They are in the private part of System, where they + -- can be accessed using the special circuitry in the Targparm unit + -- whose source should be consulted for more detailed descriptions + -- of the individual switch values. + + Backend_Divide_Checks : constant Boolean := False; + Backend_Overflow_Checks : constant Boolean := True; + Command_Line_Args : constant Boolean := True; + Configurable_Run_Time : constant Boolean := False; + Denorm : constant Boolean := True; + Duration_32_Bits : constant Boolean := False; + Exit_Status_Supported : constant Boolean := True; + Fractional_Fixed_Ops : constant Boolean := False; + Frontend_Layout : constant Boolean := False; + Machine_Overflows : constant Boolean := False; + Machine_Rounds : constant Boolean := True; + Preallocated_Stacks : constant Boolean := False; + Signed_Zeros : constant Boolean := True; + Stack_Check_Default : constant Boolean := False; + Stack_Check_Probes : constant Boolean := False; + Stack_Check_Limits : constant Boolean := False; + Support_64_Bit_Divides : constant Boolean := True; + Support_Aggregates : constant Boolean := True; + Support_Composite_Assign : constant Boolean := True; + Support_Composite_Compare : constant Boolean := True; + Support_Long_Shifts : constant Boolean := True; + Always_Compatible_Rep : constant Boolean := False; + Suppress_Standard_Library : constant Boolean := False; + Use_Ada_Main_Program_Name : constant Boolean := False; + ZCX_By_Default : constant Boolean := True; + GCC_ZCX_Support : constant Boolean := True; + + end System; diff -Nrcpad gcc-4.6.1/gcc/ada/tracebak.c gcc-4.6.2/gcc/ada/tracebak.c *** gcc-4.6.1/gcc/ada/tracebak.c Sat Aug 21 13:25:33 2010 --- gcc-4.6.2/gcc/ada/tracebak.c Mon Sep 19 09:10:42 2011 *************** extern void (*Unlock_Task) (void); *** 199,208 **** */ ! /*--------------------------- PPC AIX/Darwin ----------------------------*/ ! #if ((defined (_POWER) && defined (_AIX)) || \ ! (defined (__ppc__) && defined (__APPLE__))) #define USE_GENERIC_UNWINDER --- 199,222 ---- */ ! /*--------------------------- Darwin 8 or newer ----------------------------*/ ! #if defined (__APPLE__) \ ! && defined (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) \ ! && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1040 ! ! #define USE_GCC_UNWINDER ! #if defined (__i386__) || defined (__x86_64__) ! #define PC_ADJUST -2 ! #elif defined (__ppc__) || defined (__ppc64__) ! #define PC_ADJUST -4 ! #else ! #error Unhandled darwin architecture. ! #endif ! ! /*------------------------ PPC AIX/Older Darwin -------------------------*/ ! #elif ((defined (_POWER) && defined (_AIX)) \ ! || (defined (__APPLE__) && defined (__ppc__))) #define USE_GENERIC_UNWINDER diff -Nrcpad gcc-4.6.1/gnattools/ChangeLog gcc-4.6.2/gnattools/ChangeLog *** gcc-4.6.1/gnattools/ChangeLog Mon Jun 27 10:03:45 2011 --- gcc-4.6.2/gnattools/ChangeLog Wed Oct 26 09:06:36 2011 *************** *** 1,3 **** --- 1,7 ---- + 2011-10-26 Release Manager + + * GCC 4.6.2 released. + 2011-06-27 Release Manager * GCC 4.6.1 released. diff -Nrcpad gcc-4.6.1/libada/ChangeLog gcc-4.6.2/libada/ChangeLog *** gcc-4.6.1/libada/ChangeLog Mon Jun 27 10:03:58 2011 --- gcc-4.6.2/libada/ChangeLog Wed Oct 26 09:06:49 2011 *************** *** 1,3 **** --- 1,7 ---- + 2011-10-26 Release Manager + + * GCC 4.6.2 released. + 2011-06-27 Release Manager * GCC 4.6.1 released.