diff -Nrcpad gcc-4.4.1/gcc/ada/ChangeLog gcc-4.4.2/gcc/ada/ChangeLog *** gcc-4.4.1/gcc/ada/ChangeLog Wed Jul 22 07:29:36 2009 --- gcc-4.4.2/gcc/ada/ChangeLog Thu Oct 15 07:39:48 2009 *************** *** 1,3 **** --- 1,19 ---- + 2009-10-15 Release Manager + + * GCC 4.4.2 released. + + 2009-09-28 Olivier Hainque + + PR ada/41100 + * gcc-interface/targtyps.c (get_target_default_allocator_alignment): + Account for observable alignments out of default allocators. + + 2009-09-16 Eric Botcazou + + * gcc-interface/trans.c (Attribute_to_gnu) : Strip + conversions between original and packable version of types from + the expression. + 2009-07-22 Release Manager * GCC 4.4.1 released. diff -Nrcpad gcc-4.4.1/gcc/ada/gcc-interface/targtyps.c gcc-4.4.2/gcc/ada/gcc-interface/targtyps.c *** gcc-4.4.1/gcc/ada/gcc-interface/targtyps.c Thu Apr 9 23:23:07 2009 --- gcc-4.4.2/gcc/ada/gcc-interface/targtyps.c Mon Sep 28 21:55:54 2009 *************** get_target_maximum_default_alignment (vo *** 161,170 **** handy and what alignment it honors). In the meantime, resort to malloc considerations only. */ Pos get_target_default_allocator_alignment (void) { ! return MALLOC_ABI_ALIGNMENT / BITS_PER_UNIT; } /* Standard'Maximum_Allowed_Alignment. Maximum alignment that we may --- 161,181 ---- handy and what alignment it honors). In the meantime, resort to malloc considerations only. */ + /* Account for MALLOC_OBSERVABLE_ALIGNMENTs here. Use this or the ABI + guaranteed alignment if greater. */ + + #ifdef MALLOC_OBSERVABLE_ALIGNMENT + #define MALLOC_ALIGNMENT MALLOC_OBSERVABLE_ALIGNMENT + #else + #define MALLOC_OBSERVABLE_ALIGNMENT (2 * LONG_TYPE_SIZE) + #define MALLOC_ALIGNMENT \ + MAX (MALLOC_ABI_ALIGNMENT, MALLOC_OBSERVABLE_ALIGNMENT) + #endif + Pos get_target_default_allocator_alignment (void) { ! return MALLOC_ALIGNMENT / BITS_PER_UNIT; } /* Standard'Maximum_Allowed_Alignment. Maximum alignment that we may diff -Nrcpad gcc-4.4.1/gcc/ada/gcc-interface/trans.c gcc-4.4.2/gcc/ada/gcc-interface/trans.c *** gcc-4.4.1/gcc/ada/gcc-interface/trans.c Thu Apr 9 23:23:07 2009 --- gcc-4.4.2/gcc/ada/gcc-interface/trans.c Wed Sep 16 15:03:14 2009 *************** Attribute_to_gnu (Node_Id gnat_node, tre *** 1037,1045 **** case Attr_Max_Size_In_Storage_Elements: gnu_expr = gnu_prefix; ! /* Remove NOPS from gnu_expr and conversions from gnu_prefix. ! We only use GNU_EXPR to see if a COMPONENT_REF was involved. */ ! while (TREE_CODE (gnu_expr) == NOP_EXPR) gnu_expr = TREE_OPERAND (gnu_expr, 0); gnu_prefix = remove_conversions (gnu_prefix, true); --- 1037,1052 ---- case Attr_Max_Size_In_Storage_Elements: gnu_expr = gnu_prefix; ! /* Remove NOPs and conversions between original and packable version ! from GNU_EXPR, and conversions from GNU_PREFIX. We use GNU_EXPR ! to see if a COMPONENT_REF was involved. */ ! while (TREE_CODE (gnu_expr) == NOP_EXPR ! || (TREE_CODE (gnu_expr) == VIEW_CONVERT_EXPR ! && TREE_CODE (TREE_TYPE (gnu_expr)) == RECORD_TYPE ! && TREE_CODE (TREE_TYPE (TREE_OPERAND (gnu_expr, 0))) ! == RECORD_TYPE ! && TYPE_NAME (TREE_TYPE (gnu_expr)) ! == TYPE_NAME (TREE_TYPE (TREE_OPERAND (gnu_expr, 0))))) gnu_expr = TREE_OPERAND (gnu_expr, 0); gnu_prefix = remove_conversions (gnu_prefix, true); diff -Nrcpad gcc-4.4.1/gnattools/ChangeLog gcc-4.4.2/gnattools/ChangeLog *** gcc-4.4.1/gnattools/ChangeLog Wed Jul 22 07:30:06 2009 --- gcc-4.4.2/gnattools/ChangeLog Thu Oct 15 07:40:09 2009 *************** *** 1,3 **** --- 1,7 ---- + 2009-10-15 Release Manager + + * GCC 4.4.2 released. + 2009-07-22 Release Manager * GCC 4.4.1 released. diff -Nrcpad gcc-4.4.1/libada/ChangeLog gcc-4.4.2/libada/ChangeLog *** gcc-4.4.1/libada/ChangeLog Wed Jul 22 07:30:27 2009 --- gcc-4.4.2/libada/ChangeLog Thu Oct 15 07:40:19 2009 *************** *** 1,3 **** --- 1,7 ---- + 2009-10-15 Release Manager + + * GCC 4.4.2 released. + 2009-07-22 Release Manager * GCC 4.4.1 released.