1 Index: libgcc/config.host
2 ===================================================================
3 --- libgcc/config.host (.../tags/gcc_4_5_0_release) (wersja 158397)
4 +++ libgcc/config.host (.../branches/gcc-4_5-branch) (wersja 158397)
6 i[34567]86-*-darwin* | x86_64-*-darwin* | \
7 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
8 i[34567]86-*-linux* | x86_64-*-linux* | \
9 + i[34567]86-*-gnu* | \
10 i[34567]86-*-solaris2* | \
11 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
12 if test "${host_address}" = 32; then
13 Index: libgcc/ChangeLog
14 ===================================================================
15 --- libgcc/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 158397)
16 +++ libgcc/ChangeLog (.../branches/gcc-4_5-branch) (wersja 158397)
18 +2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
20 + Backport from mainline:
21 + 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
23 + * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
25 2010-04-14 Release Manager
29 ===================================================================
30 --- gcc/tree-vrp.c (.../tags/gcc_4_5_0_release) (wersja 158397)
31 +++ gcc/tree-vrp.c (.../branches/gcc-4_5-branch) (wersja 158397)
32 @@ -2715,8 +2715,16 @@
33 || vr0.type == VR_ANTI_RANGE)
34 && TREE_CODE (vr0.min) == INTEGER_CST
35 && TREE_CODE (vr0.max) == INTEGER_CST
36 - && !is_overflow_infinity (vr0.min)
37 - && !is_overflow_infinity (vr0.max)
38 + && (!is_overflow_infinity (vr0.min)
39 + || (vr0.type == VR_RANGE
40 + && TYPE_PRECISION (outer_type) > TYPE_PRECISION (inner_type)
41 + && needs_overflow_infinity (outer_type)
42 + && supports_overflow_infinity (outer_type)))
43 + && (!is_overflow_infinity (vr0.max)
44 + || (vr0.type == VR_RANGE
45 + && TYPE_PRECISION (outer_type) > TYPE_PRECISION (inner_type)
46 + && needs_overflow_infinity (outer_type)
47 + && supports_overflow_infinity (outer_type)))
48 && (TYPE_PRECISION (outer_type) >= TYPE_PRECISION (inner_type)
49 || (vr0.type == VR_RANGE
50 && integer_zerop (int_const_binop (RSHIFT_EXPR,
51 @@ -2730,6 +2738,10 @@
52 new_max = force_fit_type_double (outer_type,
53 TREE_INT_CST_LOW (vr0.max),
54 TREE_INT_CST_HIGH (vr0.max), 0, 0);
55 + if (is_overflow_infinity (vr0.min))
56 + new_min = negative_overflow_infinity (outer_type);
57 + if (is_overflow_infinity (vr0.max))
58 + new_max = positive_overflow_infinity (outer_type);
59 set_and_canonicalize_value_range (vr, vr0.type,
60 new_min, new_max, NULL);
63 ===================================================================
64 --- gcc/DATESTAMP (.../tags/gcc_4_5_0_release) (wersja 158397)
65 +++ gcc/DATESTAMP (.../branches/gcc-4_5-branch) (wersja 158397)
70 ===================================================================
71 --- gcc/DEV-PHASE (.../tags/gcc_4_5_0_release) (wersja 158397)
72 +++ gcc/DEV-PHASE (.../branches/gcc-4_5-branch) (wersja 158397)
76 ===================================================================
77 --- gcc/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 158397)
78 +++ gcc/ChangeLog (.../branches/gcc-4_5-branch) (wersja 158397)
80 +2010-04-01 Uros Bizjak <ubizjak@gmail.com>
82 + Backport from mainline:
83 + 2010-04-14 Uros Bizjak <ubizjak@gmail.com>
85 + * config/i386/i386.md (*divmod<mode>4): Remove stray "&&" from
87 + (*udivmod<mode>4): Ditto.
89 + 2010-04-14 Uros Bizjak <ubizjak@gmail.com>
91 + * config/i386/i386.md (*popcountsi2_cmp_zext): Remove mode attribute
94 +2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
96 + Backport from mainline:
97 + 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
99 + * config.gcc <i[34567]86-*-gnu*>: Handle softfp as for Linux.
101 +2010-04-15 Richard Guenther <rguenther@suse.de>
103 + PR tree-optimization/43627
104 + * tree-vrp.c (extract_range_from_unary_expr): Widenings
105 + of [1, +INF(OVF)] go to [1, +INF(OVF)] of the wider type,
108 +2010-04-14 Richard Guenther <rguenther@suse.de>
110 + * DEV-PHASE: Set back to prerelease.
111 + * BASE-VER: Bump to 4.5.1.
113 2010-04-14 Release Manager
115 * GCC 4.5.0 released.
118 2010-04-02 Steven Bosscher <steven@gcc.gnu.org>
120 - * ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c,
121 + * ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c,
122 basic-block.h, bb-reorder.c, calls.c, c-common.c, cgraph.h,
123 collect2.h, config/alpha/alpha.c, config/alpha/alpha.md,
124 config/alpha/predicates.md, config/arm/arm.md,
126 2010-04-02 Richard Earnshaw <rearnsha@arm.com>
129 - * arm.c (legitimize_tls_address): Adjust call to
130 + * arm.c (legitimize_tls_address): Adjust call to
131 gen_tls_load_dot_plus_four.
132 (arm_note_pic_base): New function.
133 (arm_cannot_copy_insn_p): Use it.
134 @@ -190,12 +223,12 @@
136 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
138 - * config.gcc (lm32-*-rtems*): Add t-lm32.
139 + * config.gcc (lm32-*-rtems*): Add t-lm32.
141 2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>
143 - * config.gcc: Add lm32-*-rtems*.
144 - * config/lm32/rtems.h: New file.
145 + * config.gcc: Add lm32-*-rtems*.
146 + * config/lm32/rtems.h: New file.
148 2010-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
150 Index: gcc/testsuite/gcc.dg/tree-ssa/vrp49.c
151 ===================================================================
152 --- gcc/testsuite/gcc.dg/tree-ssa/vrp49.c (.../tags/gcc_4_5_0_release) (wersja 0)
153 +++ gcc/testsuite/gcc.dg/tree-ssa/vrp49.c (.../branches/gcc-4_5-branch) (wersja 158397)
155 +/* { dg-do link } */
156 +/* { dg-options "-O2" } */
158 +extern void link_error (void) __attribute__((noreturn));
183 Index: gcc/testsuite/ChangeLog
184 ===================================================================
185 --- gcc/testsuite/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 158397)
186 +++ gcc/testsuite/ChangeLog (.../branches/gcc-4_5-branch) (wersja 158397)
188 +2010-04-15 Richard Guenther <rguenther@suse.de>
190 + PR tree-optimization/43627
191 + * gcc.dg/tree-ssa/vrp49.c: New testcase.
193 +2010-04-15 Richard Guenther <rguenther@suse.de>
196 + * g++.dg/torture/pr43611.C: New testcase.
198 2010-04-14 Release Manager
200 * GCC 4.5.0 released.
201 Index: gcc/testsuite/g++.dg/torture/pr43611.C
202 ===================================================================
203 --- gcc/testsuite/g++.dg/torture/pr43611.C (.../tags/gcc_4_5_0_release) (wersja 0)
204 +++ gcc/testsuite/g++.dg/torture/pr43611.C (.../branches/gcc-4_5-branch) (wersja 158397)
206 +// { dg-do compile }
207 +// { dg-options "-fkeep-inline-functions" }
209 +template < typename >
218 +template < typename >
219 +struct B : A < int > {
224 +extern template struct A < int >;
225 +extern template struct B < int >;
228 Index: gcc/cp/ChangeLog
229 ===================================================================
230 --- gcc/cp/ChangeLog (.../tags/gcc_4_5_0_release) (wersja 158397)
231 +++ gcc/cp/ChangeLog (.../branches/gcc-4_5-branch) (wersja 158397)
233 +2010-04-15 Richard Guenther <rguenther@suse.de>
236 + * semantics.c (expand_or_defer_fn_1): Do not keep extern
237 + template inline functions.
239 2010-04-14 Release Manager
241 * GCC 4.5.0 released.
242 Index: gcc/cp/semantics.c
243 ===================================================================
244 --- gcc/cp/semantics.c (.../tags/gcc_4_5_0_release) (wersja 158397)
245 +++ gcc/cp/semantics.c (.../branches/gcc-4_5-branch) (wersja 158397)
246 @@ -3449,7 +3449,9 @@
247 this function as needed so that finish_file will make sure to
248 output it later. Similarly, all dllexport'd functions must
249 be emitted; there may be callers in other DLLs. */
250 - if ((flag_keep_inline_functions && DECL_DECLARED_INLINE_P (fn))
251 + if ((flag_keep_inline_functions
252 + && DECL_DECLARED_INLINE_P (fn)
253 + && !DECL_REALLY_EXTERN (fn))
254 || lookup_attribute ("dllexport", DECL_ATTRIBUTES (fn)))
258 ===================================================================
259 --- gcc/BASE-VER (.../tags/gcc_4_5_0_release) (wersja 158397)
260 +++ gcc/BASE-VER (.../branches/gcc-4_5-branch) (wersja 158397)
264 Index: gcc/config.gcc
265 ===================================================================
266 --- gcc/config.gcc (.../tags/gcc_4_5_0_release) (wersja 158397)
267 +++ gcc/config.gcc (.../branches/gcc-4_5-branch) (wersja 158397)
268 @@ -3408,7 +3408,9 @@
269 i[34567]86-*-darwin* | x86_64-*-darwin*)
270 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
272 - i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu)
273 + i[34567]86-*-linux* | x86_64-*-linux* | \
274 + i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
276 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
278 i[34567]86-*-solaris2*)
279 Index: gcc/config/i386/i386.md
280 ===================================================================
281 --- gcc/config/i386/i386.md (.../tags/gcc_4_5_0_release) (wersja 158397)
282 +++ gcc/config/i386/i386.md (.../branches/gcc-4_5-branch) (wersja 158397)
283 @@ -8010,7 +8010,7 @@
284 (clobber (reg:CC FLAGS_REG))]
287 - "&& reload_completed"
289 [(parallel [(set (match_dup 1)
290 (ashiftrt:SWIM248 (match_dup 4) (match_dup 5)))
291 (clobber (reg:CC FLAGS_REG))])
292 @@ -8069,7 +8069,7 @@
293 (clobber (reg:CC FLAGS_REG))]
296 - "&& reload_completed"
298 [(set (match_dup 1) (const_int 0))
299 (parallel [(set (match_dup 0)
300 (udiv:SWIM248 (match_dup 2) (match_dup 3)))
301 @@ -14178,13 +14178,13 @@
302 (popcount:SI (match_operand:SI 1 "nonimmediate_operand" "rm"))
304 (set (match_operand:DI 0 "register_operand" "=r")
305 - (zero_extend:DI(popcount:SI (match_dup 1))))]
306 + (zero_extend:DI (popcount:SI (match_dup 1))))]
307 "TARGET_64BIT && TARGET_POPCNT && ix86_match_ccmode (insn, CCZmode)"
310 return "popcnt\t{%1, %0|%0, %1}";
312 - return "popcnt{<imodesuffix>}\t{%1, %0|%0, %1}";
313 + return "popcnt{l}\t{%1, %0|%0, %1}";
316 [(set_attr "prefix_rep" "1")