2 ===================================================================
3 --- gcc/DATESTAMP (.../tags/gcc_4_5_1_release) (wersja 162803)
4 +++ gcc/DATESTAMP (.../branches/gcc-4_5-branch) (wersja 162803)
9 ===================================================================
10 --- gcc/DEV-PHASE (.../tags/gcc_4_5_1_release) (wersja 162803)
11 +++ gcc/DEV-PHASE (.../branches/gcc-4_5-branch) (wersja 162803)
15 ===================================================================
16 --- gcc/ChangeLog (.../tags/gcc_4_5_1_release) (wersja 162803)
17 +++ gcc/ChangeLog (.../branches/gcc-4_5-branch) (wersja 162803)
19 +2010-07-31 Richard Guenther <rguenther@suse.de>
21 + PR tree-optimization/45052
22 + * ipa-pure-const.c (check_stmt): Check volatileness.
24 +2010-07-31 Richard Guenther <rguenther@suse.de>
26 + * ipa-prop.c (ipa_modify_formal_parameters): Use
27 + build_distinct_type_copy.
29 +2010-07-31 Richard Guenther <rguenther@suse.de>
31 + * DEV-PHASE: Set back to prerelease.
32 + * BASE-VER: Bump to 4.5.2.
34 2010-07-31 Release Manager
37 Index: gcc/testsuite/ChangeLog
38 ===================================================================
39 --- gcc/testsuite/ChangeLog (.../tags/gcc_4_5_1_release) (wersja 162803)
40 +++ gcc/testsuite/ChangeLog (.../branches/gcc-4_5-branch) (wersja 162803)
42 +2010-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45 + * testsuite/g++.dg/pr45112.C: New test.
47 2010-07-31 Release Manager
50 Index: gcc/testsuite/g++.dg/pr45112.C
51 ===================================================================
52 --- gcc/testsuite/g++.dg/pr45112.C (.../tags/gcc_4_5_1_release) (wersja 0)
53 +++ gcc/testsuite/g++.dg/pr45112.C (.../branches/gcc-4_5-branch) (wersja 162803)
55 +/* { dg-do compile } */
59 + unsigned char mLength;
60 + static JSString unitStringTable[];
63 +JSString JSString::unitStringTable[] __attribute__ ((aligned (8))) = { 1 };
65 +int bug [__alignof__ (JSString::unitStringTable) >= 8 ? 1 : -1];
68 ===================================================================
69 --- gcc/cp/decl.c (.../tags/gcc_4_5_1_release) (wersja 162803)
70 +++ gcc/cp/decl.c (.../branches/gcc-4_5-branch) (wersja 162803)
71 @@ -2077,6 +2077,10 @@
72 SET_DECL_INIT_PRIORITY (olddecl, DECL_INIT_PRIORITY (newdecl));
73 DECL_HAS_INIT_PRIORITY_P (olddecl) = 1;
75 + /* Likewise for DECL_USER_ALIGN and DECL_PACKED. */
76 + DECL_USER_ALIGN (olddecl) = DECL_USER_ALIGN (newdecl);
77 + if (TREE_CODE (newdecl) == FIELD_DECL)
78 + DECL_PACKED (olddecl) = DECL_PACKED (newdecl);
80 /* The DECL_LANG_SPECIFIC information in OLDDECL will be replaced
81 with that from NEWDECL below. */
82 Index: gcc/cp/ChangeLog
83 ===================================================================
84 --- gcc/cp/ChangeLog (.../tags/gcc_4_5_1_release) (wersja 162803)
85 +++ gcc/cp/ChangeLog (.../branches/gcc-4_5-branch) (wersja 162803)
87 +2010-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
90 + * decl.c (duplicate_decls): Merge DECL_USER_ALIGN and DECL_PACKED.
92 2010-07-31 Release Manager
95 Index: gcc/ipa-pure-const.c
96 ===================================================================
97 --- gcc/ipa-pure-const.c (.../tags/gcc_4_5_1_release) (wersja 162803)
98 +++ gcc/ipa-pure-const.c (.../branches/gcc-4_5-branch) (wersja 162803)
100 print_gimple_stmt (dump_file, stmt, 0, 0);
103 + if (gimple_has_volatile_ops (stmt))
105 + local->pure_const_state = IPA_NEITHER;
107 + fprintf (dump_file, " Volatile stmt is not const/pure\n");
110 /* Look for loads and stores. */
111 walk_stmt_load_store_ops (stmt, local, check_load, check_store);
114 ===================================================================
115 --- gcc/BASE-VER (.../tags/gcc_4_5_1_release) (wersja 162803)
116 +++ gcc/BASE-VER (.../branches/gcc-4_5-branch) (wersja 162803)
120 Index: gcc/ipa-prop.c
121 ===================================================================
122 --- gcc/ipa-prop.c (.../tags/gcc_4_5_1_release) (wersja 162803)
123 +++ gcc/ipa-prop.c (.../branches/gcc-4_5-branch) (wersja 162803)
124 @@ -1597,7 +1597,7 @@
125 || (VEC_index (ipa_parm_adjustment_t, adjustments, 0)->copy_param
126 && VEC_index (ipa_parm_adjustment_t, adjustments, 0)->base_index == 0))
128 - new_type = copy_node (orig_type);
129 + new_type = build_distinct_type_copy (orig_type);
130 TYPE_ARG_TYPES (new_type) = new_reversed;