]>
Commit | Line | Data |
---|---|---|
b63f974e JJ |
1 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | PR target/47665 | |
4 | * combine.c (make_compound_operation): Only change shifts into | |
5 | multiplication for SCALAR_INT_MODE_P. | |
6 | ||
6dd2a13c RO |
7 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8 | ||
9 | PR testsuite/47400 | |
10 | * doc/sourcebuild.texi (Require Support): Document | |
11 | dg-require-ascii-locale. | |
12 | ||
4a087ccf MX |
13 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
14 | ||
15 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
16 | ||
a4403164 DD |
17 | 2011-02-10 DJ Delorie <dj@redhat.com> |
18 | ||
19 | * config/m32c/m32c.c (m32c_option_override): Disable | |
20 | -fcombine-stack-adjustments until flag value tracking and compare | |
21 | optimization can be rewritten. | |
22 | ||
4fac45bd PB |
23 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
24 | ||
25 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
26 | PROCESSOR_POWER7. | |
27 | (PROCESSOR_DEFAULT64): Likewise. | |
28 | ||
72602cd1 RH |
29 | 2011-02-10 Richard Henderson <rth@redhat.com> |
30 | ||
31 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
32 | change from 2011-02-03. | |
33 | * config/rx/rx.c (flags_from_code): Likewise. | |
34 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
35 | is valid, n/pz otherwise. | |
36 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
37 | ||
ea57f573 RG |
38 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
39 | ||
ea4c3e65 | 40 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 41 | |
92b1d23b RG |
42 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
43 | ||
44 | PR tree-optimization/47677 | |
45 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
46 | ||
525a2d06 JJ |
47 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
48 | ||
49 | PR target/47665 | |
50 | * combine.c (make_compound_operation): Only change shifts into | |
51 | multiplication for SCALAR_INT_MODE_P. | |
52 | ||
06c969bd JZ |
53 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
54 | ||
55 | PR testsuite/47622 | |
56 | Revert | |
57 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
58 | PR debug/42631 | |
59 | * web.c (entry_register): Don't clobber the number of the | |
60 | first uninitialized reference in used[]. | |
61 | ||
282ec48e RG |
62 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
63 | ||
64 | PR tree-optimization/47664 | |
65 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
66 | all edges again. | |
67 | ||
df98c3e8 DE |
68 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
69 | ||
d0f21cd6 DE |
70 | PR target/46481 |
71 | PR target/47032 | |
df98c3e8 DE |
72 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
73 | PROCESSOR_POWER7. | |
74 | (PROCESSOR_DEFAULT64): Same. | |
75 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
76 | ||
67b6839f RO |
77 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
78 | ||
79 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
80 | ||
4fd73214 MJ |
81 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
82 | ||
83 | PR middle-end/45505 | |
84 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
85 | grp_scalar_write. Changed description of assignment read and write | |
86 | flags. | |
87 | (dump_access): Dump new flags, reorder all of them. | |
88 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
89 | to detect multiple scalar reads. | |
90 | (analyze_access_subtree): Use the new scalar read write flags instead | |
91 | of the old flags. Adjusted comments. | |
92 | ||
91140cd3 DD |
93 | 2011-02-08 DJ Delorie <dj@redhat.com> |
94 | ||
95 | PR target/47548 | |
96 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
97 | patterns. | |
98 | ||
4254bbfe JM |
99 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
100 | ||
101 | * config/m68k/uclinux.opt: New. | |
102 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
103 | ||
f1fda84e JM |
104 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
105 | ||
106 | * config/cris/elf.opt (sim): New Driver option. | |
107 | ||
4933ae74 JM |
108 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
109 | ||
110 | * config/xtensa/elf.opt: New. | |
111 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
112 | ||
4ad70280 JM |
113 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
114 | ||
115 | * config/vax/elf.opt: New. | |
116 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
117 | ||
20893707 JM |
118 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
119 | ||
120 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
121 | ||
b8e7038e JM |
122 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
123 | ||
124 | * config/gnu-user.opt: New. | |
125 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
126 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
127 | *-*-uclinux*): Use gnu-user.opt. | |
128 | ||
e1c5225a TS |
129 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
130 | ||
131 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
132 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
133 | ||
5e46b0c6 ILT |
134 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
135 | ||
136 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
137 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
138 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
139 | (fassociative-math, freciprocal-math): Likewise. | |
140 | (funsafe-math-optimizations): Likewise. | |
141 | * opth-gen.awk: Handle SetByCombined. | |
142 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 143 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
144 | (set_unsafe_math_optimizations_flags): Likewise. |
145 | * doc/options.texi (Option properties): Document SetByCombined. | |
146 | ||
32243d46 JM |
147 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
148 | ||
149 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
150 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
151 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
152 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
153 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
154 | ||
479c1fb3 SP |
155 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
156 | ||
157 | PR tree-optimization/46834 | |
158 | PR tree-optimization/46994 | |
159 | PR tree-optimization/46995 | |
160 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
161 | (detect_commutative_reduction): Call used_outside_reduction. | |
162 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
163 | translate_scalar_reduction_to_array only when at least one | |
164 | loop-phi/close-phi tuple has been detected. | |
165 | ||
3865a06f RG |
166 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
167 | ||
168 | PR middle-end/47639 | |
169 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
170 | stmts here ... | |
171 | (expand_vector_operations): ... not here. Cleanup EH info | |
172 | and the CFG if required. | |
173 | ||
62902f3f RG |
174 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
175 | ||
176 | PR tree-optimization/47641 | |
177 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
178 | require type compatibility. | |
179 | ||
0efb9d64 AK |
180 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
181 | ||
182 | * gimple-low.c (lower_function_body): Don't remove the location of | |
183 | the return statement here. | |
184 | (lower_gimple_return): Do it here instead but only if the return | |
185 | statement is actually used twice. | |
186 | ||
034b8ae4 RG |
187 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
188 | ||
189 | PR tree-optimization/47632 | |
190 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
191 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
192 | necessary, remove EH info properly. | |
193 | (forward_propagate_into_gimple_cond): Adjust caller. | |
194 | (forward_propagate_into_cond): Likewise. | |
195 | (forward_propagate_comparison): Likewise. | |
196 | (tree_ssa_forward_propagate_single_use_vars): Make | |
197 | forward_propagate_comparison case similar to the two others. | |
198 | ||
298362c8 NC |
199 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
200 | ||
201 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
202 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
203 | (liw_bundling): New automaton. | |
204 | (liw): New attribute. | |
205 | (liw_op): New attribute. | |
206 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
207 | (movsi_internal): Add LIW attributes. | |
208 | (andsi3): Likewise. | |
209 | (iorsi3): Likewise. | |
210 | (xorsi3): Likewise. | |
211 | (addsi3): Separate register and immediate alternatives. | |
212 | Add LIW attributes. | |
213 | (subsi3): Likewise. | |
214 | (cmpsi): Likewise. | |
215 | (aslsi3): Likewise. | |
216 | (lshrsi3): Likewise. | |
217 | (ashrsi3): Likewise. | |
218 | (liw): New pattern. | |
219 | * config/mn10300/mn10300.c (liw_op_names): New | |
220 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
221 | (extract_bundle): New function. | |
222 | (check_liw_constraints): New function. | |
223 | (liw_candidate): New function. | |
224 | (mn10300_bundle_liw): New function. | |
225 | (mn10300_reorg): New function. | |
226 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
227 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
228 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
229 | __LIW__ or __NO_LIW__. | |
230 | * doc/invoke.texi: Describe the -mliw command line option. | |
231 | ||
90488014 JDA |
232 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
233 | ||
234 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
235 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
236 | pthread_mutex_unlock): Remove. | |
237 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
238 | * config/pa/t-pa64: Likewise. | |
239 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
240 | shared libc if not linking against libpthread. | |
241 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
242 | ||
689ff841 IS |
243 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
244 | ||
245 | PR target/47558 | |
246 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
247 | on 10.6 and later to ensure that we always use the unwinder from | |
248 | the system. Only add -no_compact_unwind when tarteting darwin | |
249 | 10.6 or later. | |
250 | ||
821014aa SE |
251 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
252 | ||
253 | PR target/46997 | |
254 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
255 | (vec_interleave_lowv2sf): Ditto. | |
256 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
257 | (vec_extract_oddv2sf): Ditto. | |
258 | ||
41cf94fb MS |
259 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
260 | ||
62dea57d | 261 | PR target/42333 |
41cf94fb MS |
262 | Add __ieee_divdc3 entry point. |
263 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
264 | entry point. | |
265 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
266 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
267 | * config/darwin.c (darwin_rename_builtins): Add. | |
268 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
269 | ||
ee09a3dd MM |
270 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
271 | ||
272 | PR target/47636 | |
273 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
274 | for the condition. | |
275 | ||
83296cd0 MS |
276 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
277 | ||
ea4c3e65 | 278 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 279 | |
0f4e946f DC |
280 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
281 | ||
282 | PR target/47534 | |
283 | * config/avr/libgcc.S (exit): Move .endfunc | |
284 | ||
1ec87690 RG |
285 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
286 | ||
287 | PR tree-optimization/47615 | |
288 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
289 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
290 | (run_scc_vn): Initialize it. | |
291 | (visit_reference_op_load): Use it. | |
292 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
293 | ||
b46ae6da UW |
294 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
295 | ||
296 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
297 | DImode trapping arithmetic libfuncs. | |
298 | ||
c0aae19c RG |
299 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
300 | ||
301 | PR tree-optimization/47621 | |
302 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
303 | two duplicates ... | |
304 | (execute_update_addresses_taken): ... here. Make it more | |
305 | conservative in what we accept. | |
306 | ||
295d926b JM |
307 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
308 | ||
309 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
310 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
311 | ||
bdeb2471 JM |
312 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
313 | ||
314 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
315 | ||
d5d3781a SB |
316 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
317 | ||
318 | * doc/invoke.texi: Remove reference to compiler internals from | |
319 | user documentation. | |
320 | ||
321 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
322 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
323 | ||
c42c09fc JJ |
324 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
325 | ||
326 | PR middle-end/47610 | |
327 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 328 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 329 | |
beea2755 JZ |
330 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
331 | ||
332 | PR debug/42631 | |
333 | * web.c (entry_register): Don't clobber the number of the | |
334 | first uninitialized reference in used[]. | |
335 | ||
a130584a SP |
336 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
337 | ||
338 | PR tree-optimization/46194 | |
339 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
340 | (build_classic_dist_vector_1): Do not represent classic distance | |
341 | vectors when the access functions are variating in different loops. | |
342 | ||
962101ac JM |
343 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
344 | ||
345 | * config/mips/iris6.opt: New. | |
346 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
347 | ||
55eaaa5b RH |
348 | 2011-02-04 Richard Henderson <rth@redhat.com> |
349 | Steve Ellcey <sje@cup.hp.com> | |
350 | ||
351 | PR target/46997 | |
352 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
353 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
354 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
355 | (ia64_unpack_sign): New. | |
356 | (ia64_expand_unpack): Rewrite using new routines. | |
357 | (ia64_expand_widen_sum): Ditto. | |
358 | (ia64_expand_dot_prod_v8qi): Ditto. | |
359 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
360 | routines, add endian check. | |
361 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
362 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
363 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
364 | (vec_widen_smult_hi_v4hi): Ditto. | |
365 | (vec_widen_umult_lo_v4hi): Ditto. | |
366 | (vec_widen_umult_hi_v4hi): Ditto. | |
367 | (mulv2si3): Change endian checks. | |
368 | (sdot_prodv4hi): Rewrite with new calls. | |
369 | (udot_prodv4hi): New. | |
370 | (vec_pack_ssat_v4hi): Add endian check. | |
371 | (vec_pack_usat_v4hi): Ditto. | |
372 | (vec_pack_ssat_v2si): Ditto. | |
373 | (max1_even): Rename from max1_r, add endian check. | |
374 | (max1_odd): Rename from max1_l, add endian check. | |
375 | (*mux1_rev): Format change. | |
376 | (*mux1_mix): Ditto. | |
377 | (*mux1_shuf): Ditto. | |
378 | (*mux1_alt): Ditto. | |
379 | (*mux1_brcst_v8qi): Use new predicate. | |
380 | (vec_extract_evenv8qi): Remove endian check. | |
381 | (vec_extract_oddv8qi): Ditto. | |
382 | (vec_interleave_lowv4hi): Format change. | |
383 | (vec_interleave_highv4hi): Ditto. | |
384 | (mix2_even): Rename from mix2_r, add endian check. | |
385 | (mix2_odd): Rename from mux2_l, add endian check. | |
386 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
387 | (vec_extract_evenodd_helper): Format change. | |
388 | (vec_extract_evenv4hi): Remove endian check. | |
389 | (vec_extract_oddv4hi): Remove endian check. | |
390 | (vec_interleave_lowv2si): Format change. | |
391 | (vec_interleave_highv2si): Format change. | |
392 | (vec_initv2si): Remove endian check. | |
393 | (vecinit_v2si): Add endian check. | |
394 | (reduc_splus_v2sf): Add endian check. | |
395 | (reduc_smax_v2sf): Ditto. | |
396 | (reduc_smin_v2sf): Ditto. | |
397 | (vec_initv2sf): Remove endian check. | |
398 | (fpack): Add endian check. | |
399 | (fswap): Add endian check. | |
400 | (vec_interleave_highv2sf): Add endian check. | |
401 | (vec_interleave_lowv2sf): Add endian check. | |
402 | (fmix_lr): Add endian check. | |
403 | (vec_setv2sf): Format change. | |
404 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
405 | (*vec_extractv2sf_1_be): New. | |
406 | (vec_pack_trunc_v4hi): Add endian check. | |
407 | (vec_pack_trunc_v2si): Format change. | |
408 | ||
dcde5957 JJ |
409 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
410 | ||
411 | PR inline-asm/23200 | |
412 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 413 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
414 | (stmt_is_replaceable_p): New function. |
415 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
416 | callers. | |
417 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
418 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
419 | SSA_NAME_DEF_STMT. | |
420 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
421 | ||
a64a8e5a JM |
422 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
423 | ||
424 | * config/rs6000/xilinx.opt: New. | |
425 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
426 | ||
4da2ed2f JM |
427 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
428 | ||
429 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
430 | ||
a6e508f9 AS |
431 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
432 | ||
433 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
434 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
435 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
436 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
437 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
438 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
439 | (xtensa_preferred_reload_class): Make static. Change return and | |
440 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
441 | Use CONST_DOUBLE_P predicate. | |
442 | (xtensa_preferred_output_reload_class): New function. | |
443 | (xtensa_secondary_reload): Make static. | |
444 | ||
82dc0de3 JM |
445 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
446 | ||
447 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
448 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
449 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
450 | ||
7fece979 JJ |
451 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
452 | ||
453 | PR middle-end/31490 | |
454 | * output.h (SECTION_RELRO): Define. | |
455 | (SECTION_MACH_DEP): Adjust. | |
456 | (get_variable_section): New prototype. | |
457 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
458 | (varpool_assemble_pending_decls): Call it. | |
459 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
460 | * cgraphunit.c (cgraph_output_in_order): Call | |
461 | varpool_finalize_named_section_flags. | |
462 | * varasm.c (get_section): Allow section flags conflicts between | |
463 | relro and read-only sections if the section hasn't been declared yet. | |
464 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
465 | (get_variable_section): No longer static. | |
466 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
467 | readonly sections that need relocations. | |
468 | (decl_readonly_section_1): New function. | |
469 | (decl_readonly_section): Use it. | |
470 | ||
471 | Revert: | |
472 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> | |
473 | Steve Ellcey <sje@cup.hp.com> | |
474 | ||
475 | PR middle-end/31490 | |
476 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
477 | if section attribute used. | |
478 | ||
d18d5478 JJ |
479 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
480 | ||
481 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
482 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
483 | (darwin_init_sections): Remove assertion. | |
484 | ||
6479ed4b NC |
485 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
486 | ||
487 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
488 | lt and ge. | |
38be4072 | 489 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
490 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
491 | instead of "n" and "pz". | |
492 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
493 | CC_FLAG_S. | |
494 | ||
89843f5d JJ |
495 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
496 | ||
65450d64 JJ |
497 | PR target/47312 |
498 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
499 | fma, expand FMA_EXPR as fma{,f,l} call. | |
500 | ||
7d58701c JJ |
501 | PR lto/47274 |
502 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
503 | copy them into a unsigned char variable and pass address of it to | |
504 | lto_output_data_stream. | |
505 | ||
89843f5d JJ |
506 | PR target/47564 |
507 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
508 | around backend_init_target and lang_dependent_init_target calls. | |
509 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
510 | (verify_cgraph_node): Don't call set_cfun here. Use | |
511 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
512 | Set error_found for incorrectly represented calls to thunks. | |
513 | ||
4deef538 AO |
514 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
515 | ||
516 | PR debug/43092 | |
517 | PR rtl-optimization/43494 | |
518 | * rtl.h (for_each_inc_dec_fn): New type. | |
519 | (for_each_inc_dec): Declare. | |
520 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
521 | (for_each_inc_dec_find_inc_dec): New fn. | |
522 | (for_each_inc_dec_find_mem): New fn. | |
523 | (for_each_inc_dec): New fn. | |
524 | * dse.c (struct insn_size): Remove. | |
525 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
526 | (emit_inc_dec_insn_before): New fn. | |
527 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
528 | (canon_address): Pass mem modes to cselib_lookup. | |
529 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
530 | (cselib_lookup_from_insn): Likewise. | |
531 | (cselib_subst_to_values): Likewise. | |
532 | * cselib.c (find_slot_memmode): New var. | |
533 | (cselib_find_slot): New fn. Use it instead of | |
534 | htab_find_slot_with_hash everywhere. | |
535 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
536 | (autoinc_split): New fn. | |
537 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
538 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
539 | Deal with autoinc. Special-case recursion into MEMs. | |
540 | (cselib_hash_rtx): Likewise. | |
541 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
542 | address and MEM modes. | |
543 | (cselib_subst_to_values): Add memmode, pass it on. | |
544 | Deal with autoinc. | |
545 | (cselib_lookup): Add memmode argument, pass it on. | |
546 | (cselib_lookup_from_insn): Add memmode. | |
547 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
548 | (struct cselib_record_autoinc_data): New. | |
549 | (cselib_record_autoinc_cb): New fn. | |
550 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
551 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
552 | (cselib_process_insn): ... here. | |
553 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
554 | to cselib_lookup. | |
555 | (add_uses): Likewise, also to cselib_subst_to_values. | |
556 | (add_stores): Likewise. | |
557 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
558 | cselib_subst_to_values. | |
559 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
560 | * gcse.c (do_local_cprop): Adjusted. | |
561 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
562 | (reload_cse_simplify_operands): Adjusted. | |
563 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
564 | ||
1551d44a AO |
565 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
566 | ||
567 | PR tree-optimization/45122 | |
568 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
569 | unsafe assumptions when there's more than one loop exit. | |
570 | ||
c9485473 MM |
571 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
572 | ||
573 | PR target/47272 | |
574 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
575 | Document using vector double with the load/store builtins, and | |
576 | that the load/store builtins always use Altivec instructions. | |
577 | ||
578 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
579 | to use altivec memory instructions, even on VSX. | |
580 | (vector_altivec_store_<mode>): Ditto. | |
581 | ||
582 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
583 | function. | |
584 | ||
585 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
586 | V2DF, V2DI support to load/store overloaded builtins. | |
587 | ||
588 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
589 | altivec load/store builtins for V2DF/V2DI types. | |
590 | ||
591 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
592 | set avoid indexed addresses on power6 if -maltivec. | |
593 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
594 | vector_altivec_load/vector_altivec_store builtins. | |
595 | (altivec_expand_st_builtin): Ditto. | |
596 | (altivec_expand_builtin): Add VSX memory builtins. | |
597 | (rs6000_init_builtins): Add V2DI types to internal types. | |
598 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
599 | load/store builtins. | |
600 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
601 | for Altivec. | |
602 | ||
603 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
604 | vec_vsx_ld and vec_vsx_st. | |
605 | (vsx_store_<mode>): Ditto. | |
606 | ||
607 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
608 | variables to hold long long types for VSX vector memory builtins. | |
609 | (RS6000_BTI_unsigned_long_long): Ditto. | |
610 | (long_long_integer_type_internal_node): Ditti. | |
611 | (long_long_unsigned_type_internal_node): Ditti. | |
612 | ||
613 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
614 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
615 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
616 | ||
617 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
618 | short cuts. | |
619 | (vec_vsx_st): Ditto. | |
620 | ||
b24d1acf JM |
621 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
622 | ||
623 | * config/pa/pa-hpux10.opt: New. | |
624 | * config/hpux11.opt (pthread): New Driver option. | |
625 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
626 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
627 | ||
aa18dd0f JM |
628 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
629 | ||
630 | * config/ia64/vms.opt: New. | |
631 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
632 | ||
28fc3eee MM |
633 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
634 | ||
635 | PR target/47580 | |
636 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
637 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
638 | generator functions. | |
639 | (vsx_floatuns<VSi><mode>2): Ditto. | |
640 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
641 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
642 | ||
b5838b1f JM |
643 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
644 | ||
645 | * config/i386/djgpp.opt (posix): New Driver option. | |
646 | ||
0db8fa89 GP |
647 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
648 | ||
649 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
650 | Move to the unsupported targets list. | |
651 | ||
9cd4f22a PB |
652 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
653 | ||
654 | PR rtl-optimization/47525 | |
655 | * df-scan.c: Update copyright years. | |
656 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
657 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
658 | ||
9ed8059c RO |
659 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
660 | ||
661 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
662 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
663 | (ASM_OUTPUT_ASCII): Remove. | |
664 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
665 | ||
2a737389 JL |
666 | 2011-02-02 Jeff Law <law@redhat.com> |
667 | ||
668 | PR middle-end/47543 | |
669 | * reload.c (find_reloads_address): Handle reg+d address where both | |
670 | components are invalid by reloading the entire address. | |
671 | ||
9dac82c4 SP |
672 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
673 | Richard Guenther <rguenther@suse.de> | |
674 | ||
675 | PR tree-optimization/40979 | |
676 | PR bootstrap/47044 | |
677 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
678 | and DCE to clean up. | |
679 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
680 | ||
14dd9aab SP |
681 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
682 | ||
683 | PR tree-optimization/47576 | |
684 | PR tree-optimization/47555 | |
685 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
686 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
687 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
688 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
689 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
690 | ||
5cbf5c20 RG |
691 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
692 | ||
693 | PR tree-optimization/47566 | |
694 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
695 | ||
83d70792 AO |
696 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
697 | ||
e829c321 AO |
698 | PR debug/47106 |
699 | PR debug/47402 | |
700 | * tree-inline.c (declare_return_variable): Remove unused caller | |
701 | variable. | |
702 | ||
83d70792 AO |
703 | PR debug/47106 |
704 | PR debug/47402 | |
705 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
706 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
707 | * tree-nrv.c (tree_nrv): Likewise. | |
708 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
709 | (dump_scope_block): Likewise. | |
710 | (remove_unused_locals): Likewise. | |
711 | ||
aaa2ac93 AO |
712 | PR debug/47106 |
713 | PR debug/47402 | |
714 | * tree-inline.c (declare_return_variable): Add result decl to | |
715 | local decls only once. | |
716 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
717 | as referenced. | |
718 | ||
a59d15cf AO |
719 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
720 | ||
721 | PR debug/47498 | |
722 | PR debug/47501 | |
723 | PR debug/45136 | |
724 | PR debug/45130 | |
725 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
726 | debug insns. | |
727 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
728 | treatment of boundary debug insns. | |
38be4072 | 729 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
730 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
731 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
732 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
733 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
734 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
735 | boundary debug insns. | |
736 | * final.c (rest_of_clean_state): Clear notes' BB. | |
737 | ||
6fc2f091 JM |
738 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
739 | ||
740 | * config/openbsd.opt (assert=): New Driver option. | |
741 | ||
fc523387 JM |
742 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
743 | ||
744 | * config/i386/nto.opt: New. | |
745 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
746 | ||
6d9821e5 JM |
747 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
748 | ||
749 | * config/i386/netware.opt: New. | |
750 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
751 | ||
cef932d4 JM |
752 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
753 | ||
754 | * config/interix.opt (posix): New Driver option. | |
755 | ||
22843acd DD |
756 | 2011-02-01 DJ Delorie <dj@redhat.com> |
757 | ||
56490b74 DD |
758 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
759 | ||
22843acd DD |
760 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
761 | class for A0/A1. | |
762 | ||
199c8f2f SP |
763 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
764 | ||
765 | PR tree-optimization/47561 | |
766 | * toplev.c (process_options): Print the Graphite flags. Add | |
767 | flag_loop_flatten to the list of options requiring Graphite. | |
768 | ||
926bcf22 JM |
769 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
770 | ||
771 | * config/i386/cygming.opt (posix): New Driver option. | |
772 | ||
59793c51 JM |
773 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
774 | ||
775 | * config/arm/vxworks.opt: New. | |
776 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
777 | ||
183c38a4 JM |
778 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
779 | ||
780 | * config/alpha/elf.opt: New. | |
781 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
782 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
783 | ||
9939e416 RG |
784 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
785 | ||
786 | PR tree-optimization/47559 | |
787 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
788 | store-motion on references that can throw. | |
789 | ||
4a3c9687 BS |
790 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
791 | ||
792 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
793 | * tree-pass.h (TDF_CSELIB): New macro. | |
794 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
795 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
796 | ||
dd3b31fb L |
797 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
798 | ||
799 | PR driver/47547 | |
800 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
801 | is HOST_BIT_BUCKET. | |
802 | ||
803 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
804 | HOST_BIT_BUCKET. | |
805 | ||
34c1de79 RG |
806 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
807 | ||
808 | PR tree-optimization/47555 | |
809 | Revert | |
810 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
811 | ||
812 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
813 | ||
dd2804d2 SB |
814 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
815 | ||
816 | PR gcc/46692 | |
817 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
818 | ||
3fd3b156 RG |
819 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
820 | ||
821 | PR tree-optimization/47541 | |
822 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
823 | sure to have a field at offset zero. | |
824 | ||
f16072b6 JM |
825 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
826 | ||
827 | * config/arc/arc.opt (EB, EL): New Driver options. | |
828 | ||
6456cf2e JM |
829 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
830 | ||
831 | * config/alpha/osf5.opt: New. | |
832 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
833 | ||
cdde6ab4 JM |
834 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
835 | ||
836 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
837 | ||
7633415c SP |
838 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
839 | ||
840 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
841 | -floop-interchange. | |
842 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
843 | is an alias of -floop-interchange and that it requires the | |
844 | Graphite infrastructure. | |
845 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
846 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
847 | ||
0425d6f5 JJ |
848 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
849 | Richard Guenther <rguenther@suse.de> | |
850 | ||
851 | PR tree-optimization/47538 | |
852 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
853 | type instead of r1type, except for comparisons. For right | |
854 | shifts and comparisons punt if there are mismatches in | |
855 | sizetype vs. non-sizetype types. | |
856 | ||
500b16c3 RO |
857 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
858 | ||
859 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
860 | avx_runtime. | |
861 | ||
e279edb0 RO |
862 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
863 | ||
864 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
865 | version number. | |
866 | * configure: Regenerate. | |
867 | ||
c6092243 RO |
868 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
869 | ||
870 | * configure.ac (gcc_cv_ld_static_option): Define. | |
871 | (gcc_cv_ld_dynamic_option): Define. | |
872 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
873 | instead. | |
874 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
875 | (LD_STATIC_OPTION): Define. | |
876 | (LD_DYNAMIC_OPTION): Define. | |
877 | * configure: Regenerate. | |
878 | * config.in: Regenerate. | |
879 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
880 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
881 | ||
d7862be3 NC |
882 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
883 | ||
884 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
885 | registers inside interrupt handlers if the handler is not a leaf | |
886 | function. | |
887 | ||
ba4ec0e0 NC |
888 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
889 | ||
890 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
891 | reg_renumber returning an INVALID_REGNUM. | |
892 | ||
29a63921 AO |
893 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
894 | ||
895 | PR libgcj/44341 | |
896 | * doc/install.texi: Document host options discarded when cross | |
897 | configuring target libraries. | |
898 | ||
ef591d3f AO |
899 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
900 | ||
901 | Reverted: | |
902 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
903 | PR debug/45136 | |
904 | PR debug/45130 | |
905 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
906 | debug insns. | |
907 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
908 | treatment of boundary debug insns. | |
38be4072 | 909 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
910 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
911 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
912 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
913 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
914 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
915 | boundary debug insns. | |
916 | * final.c (rest_of_clean-state): Clear notes' BB. | |
917 | ||
61052244 AM |
918 | 2011-01-31 Alan Modra <amodra@gmail.com> |
919 | ||
920 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
921 | toc relative expressions as we do in print_operand_address. | |
922 | ||
c4c8962b KH |
923 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
924 | ||
925 | * doc/extend.texi: Follow spelling conventions. | |
926 | * doc/invoke.texi: Fix a typo. | |
927 | ||
e543b94c JM |
928 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
929 | ||
930 | * config/hpux11.opt: New. | |
931 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
932 | ia64*-*-hpux*): Use hpux11.opt. | |
933 | ||
61052244 | 934 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
935 | |
936 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
937 | to tmake_file. | |
938 | ||
7be03a0e GP |
939 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
940 | ||
941 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
942 | support sites. | |
943 | ||
419d1d37 GP |
944 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
945 | ||
b596ed64 GP |
946 | * doc/install.texi (Binaries): Remove outdated reference for |
947 | Motorola 68HC11/68HC12 downloads. | |
948 | ||
949 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 950 | |
419d1d37 GP |
951 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
952 | Drepper's paper. | |
953 | ||
4406d0e9 JW |
954 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
955 | ||
956 | PR bootstrap/47147 | |
957 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
958 | used by NetBSD. | |
959 | ||
38be4072 | 960 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
961 | |
962 | * value-prof.c (check_counter): Corrected error message. | |
963 | ||
0cd98787 JZ |
964 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
965 | ||
966 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
967 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
968 | arm_legitimize_reload_address. | |
38be4072 | 969 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 970 | |
9b798ac5 ILT |
971 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
972 | ||
973 | * godump.c (go_define): Ignore macros whose definitions include | |
974 | two adjacent operands. | |
975 | ||
591e29d9 JJ |
976 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
977 | ||
978 | PR target/42894 | |
979 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
980 | instead of x itself. | |
981 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
982 | itself into REG_EQUAL note. | |
983 | ||
62dcc44a JM |
984 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
985 | ||
986 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
987 | ||
c9f58b9a RO |
988 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
989 | ||
990 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
991 | -Bstatic/-Bdynamic. | |
992 | * configure: Regenerate. | |
993 | ||
5f02b9db JM |
994 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
995 | ||
996 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
997 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
998 | ||
5df97412 AS |
999 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
1000 | ||
1001 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
1002 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
1003 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
1004 | (s390_preferred_reload_class): Make static. Change return and | |
1005 | 'rclass' argument type to reg_class_t. | |
1006 | ||
779d4b91 JH |
1007 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
1008 | ||
1009 | PR middle-end/46949 | |
1010 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
1011 | (process_function_and_variable_attributes): Check defined weakrefs. | |
1012 | ||
e80b21ed MJ |
1013 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
1014 | ||
1015 | PR tree-optimization/47228 | |
1016 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
1017 | build_ref_for_offset. | |
1018 | ||
6dcc4f31 UW |
1019 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1020 | ||
1021 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
1022 | ||
3b8ff89f MP |
1023 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
1024 | ||
1025 | PR rtl-optimization/46856 | |
1026 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
1027 | separate cc0 setter and user on cc0 targets. | |
1028 | ||
04af8788 NP |
1029 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
1030 | ||
1031 | PR c/43082 | |
1032 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
1033 | passed a VOID_TYPE expression, immediately emit an error and | |
1034 | return error_mark_node. | |
1035 | ||
f7a60085 JL |
1036 | 2011-01-26 Jeff Law <law@redhat.com> |
1037 | ||
1038 | PR rtl-optimization/47464 | |
1039 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
1040 | rather than may_trap_p as needed. | |
1041 | ||
5c2917ec DD |
1042 | 2011-01-26 DJ Delorie <dj@redhat.com> |
1043 | ||
1044 | PR rtl-optimization/46878 | |
1045 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
1046 | setter/user dependency as well. | |
1047 | ||
bef16e87 EB |
1048 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
1049 | ||
1050 | PR rtl-optimization/44469 | |
1051 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
1052 | after removing trivially dead basic blocks. | |
1053 | ||
c75d884b JM |
1054 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
1055 | ||
1056 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
1057 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
1058 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
1059 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
1060 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
1061 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
1062 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
1063 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
1064 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
1065 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
1066 | ||
d3153553 JM |
1067 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
1068 | ||
1069 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
1070 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
1071 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
1072 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
1073 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
1074 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
1075 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
1076 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
1077 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
1078 | ||
b89b1e9d JM |
1079 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
1080 | ||
1081 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
1082 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
1083 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
1084 | ||
12eb1a9c JM |
1085 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
1086 | ||
1087 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
1088 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
1089 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
1090 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
1091 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
1092 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
1093 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
1094 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
1095 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
1096 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
1097 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
1098 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
1099 | ||
e435f098 SE |
1100 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
1101 | ||
1102 | PR target/46997 | |
1103 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
1104 | (*mux2): Ditto. | |
1105 | (vec_extract_evenodd_help): Ditto. | |
1106 | (vec_extract_evenv4hi): Ditto. | |
1107 | (vec_extract_oddv4hi): Ditto. | |
1108 | (vec_interleave_lowv2si): Ditto. | |
1109 | (vec_interleave_highv2si): Ditto. | |
1110 | (vec_extract_evenv2si): Ditto. | |
1111 | (vec_extract_oddv2si: Ditto. | |
1112 | (vec_pack_trunc_v2si): Ditto. | |
1113 | ||
34f0eee0 JH |
1114 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
1115 | ||
1116 | PR target/47237 | |
1117 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
1118 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
1119 | signature can change. | |
1120 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
1121 | can change. | |
1122 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
1123 | (cgraph_function_versioning): We can not change signature of functions | |
1124 | that don't allow that. | |
1125 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
1126 | (lto_input_node): Likewise. | |
38be4072 UB |
1127 | * ipa-inline.c (compute_inline_parameters): Compute |
1128 | local.can_change_signature. | |
34f0eee0 | 1129 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
1130 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
1131 | functions that can not change signature. | |
34f0eee0 | 1132 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
1133 | init_cumulative_args): Do not use local calling conventions |
1134 | for functions that can not change signature. | |
34f0eee0 | 1135 | |
980ca891 JH |
1136 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
1137 | ||
1138 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
1139 | ||
768e3c60 RG |
1140 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
1141 | ||
1142 | PR tree-optimization/47190 | |
61052244 AM |
1143 | * cgraphunit.c (process_common_attributes): New function. |
1144 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 1145 | |
21d6a1c7 RG |
1146 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
1147 | ||
1148 | PR lto/47423 | |
1149 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
1150 | function. | |
1151 | ||
48bb58b1 AO |
1152 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
1153 | ||
1154 | PR debug/45454 | |
1155 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
1156 | non-debug insns from moving up. | |
1157 | ||
58c741a6 DK |
1158 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
1159 | ||
1160 | PR target/40125 | |
1161 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
1162 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
1163 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
1164 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
1165 | * config/i386/t-dlldir: New file. | |
1166 | (SHLIB_DLLDIR): Define. | |
1167 | * config/i386/t-dlldir-x: New file. | |
1168 | (SHLIB_DLLDIR): Define. | |
1169 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
1170 | (SHLIB_INSTALL): Use it. | |
1171 | ||
bff99262 CLT |
1172 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
1173 | ||
1174 | PR target/47246 | |
1175 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
1176 | lower bound of the allowed Thumb-2 coprocessor load/store | |
1177 | index range to -256. Add explaining comment. | |
1178 | ||
82c03907 ILT |
1179 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
1180 | ||
1181 | * godump.c (go_define): Improve lexing of macro expansion to only | |
1182 | accept expressions which match Go spec. | |
1183 | ||
47ea1edf DK |
1184 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
1185 | ||
d4dba752 | 1186 | PR c++/43601 |
47ea1edf DK |
1187 | * tree.c (handle_dll_attribute): Handle it. |
1188 | * doc/extend.texi (@item dllexport): Mention it. | |
1189 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
1190 | ||
744f0946 ILT |
1191 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
1192 | ||
1193 | PR tree-optimization/26854 | |
1194 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
1195 | (decl_jump_unsafe): Move higher in file, with no other change. | |
1196 | (bind): Set has_jump_unsafe_decl if appropriate. | |
1197 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
1198 | (check_earlier_gotos): Likewise. | |
1199 | (c_check_switch_jump_warnings): Likewise. | |
1200 | ||
5734f2b3 JW |
1201 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
1202 | ||
1203 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
1204 | (-fprofile-dir): Minor grammatical fixes. | |
1205 | (-fbranch-probabilities): Likewise. | |
1206 | ||
9bdbdcef AO |
1207 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
1208 | ||
1209 | PR debug/45136 | |
1210 | PR debug/45130 | |
1211 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
1212 | debug insns. | |
1213 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
1214 | treatment of boundary debug insns. | |
38be4072 | 1215 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
1216 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
1217 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
1218 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
1219 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
1220 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
1221 | boundary debug insns. | |
1222 | * final.c (rest_of_clean-state): Clear notes' BB. | |
1223 | ||
b305e3da SP |
1224 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1225 | ||
1226 | * Makefile.in (LAMBDA_H): Removed. | |
1227 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
1228 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
1229 | lambda-trans.o, and tree-loop-linear.o. | |
1230 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
1231 | (tree-loop-linear.o): Remove rule. | |
1232 | (lambda-mat.o): Same. | |
1233 | (lambda-trans.o): Same. | |
1234 | (lambda-code.o): Same. | |
1235 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
1236 | (tree-vect-slp.o): Same. | |
1237 | * hwint.h (gcd): Moved here. | |
1238 | (least_common_multiple): Same. | |
1239 | * lambda-code.c: Removed. | |
1240 | * lambda-mat.c: Removed. | |
1241 | * lambda-trans.c: Removed. | |
1242 | * lambda.h: Removed. | |
1243 | * tree-loop-linear.c: Removed. | |
1244 | * lto-symtab.c: Do not include lambda.h. | |
1245 | * omega.c (gcd): Removed. | |
1246 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
1247 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
1248 | (lambda_vector_copy): Same. | |
1249 | (lambda_matrix_copy): Same. | |
1250 | (lambda_matrix_id): Same. | |
1251 | (lambda_vector_first_nz): Same. | |
1252 | (lambda_matrix_row_add): Same. | |
1253 | (lambda_matrix_row_exchange): Same. | |
1254 | (lambda_vector_mult_const): Same. | |
1255 | (lambda_vector_negate): Same. | |
1256 | (lambda_matrix_row_negate): Same. | |
1257 | (lambda_vector_equal): Same. | |
1258 | (lambda_matrix_right_hermite): Same. | |
1259 | * tree-data-ref.h: Do not include lambda.h. | |
1260 | (lambda_vector): Moved here. | |
1261 | (lambda_matrix): Same. | |
1262 | (dependence_level): Same. | |
1263 | (lambda_transform_legal_p): Removed declaration. | |
1264 | (lambda_collect_parameters): Same. | |
1265 | (lambda_compute_access_matrices): Same. | |
1266 | (lambda_vector_gcd): Same. | |
1267 | (lambda_vector_new): Same. | |
1268 | (lambda_vector_clear): Same. | |
1269 | (lambda_vector_lexico_pos): Same. | |
1270 | (lambda_vector_zerop): Same. | |
1271 | (lambda_matrix_new): Same. | |
1272 | * tree-flow.h (least_common_multiple): Removed declaration. | |
1273 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
1274 | (LTM_MATRIX): Same. | |
1275 | (LTM_ROWSIZE): Same. | |
1276 | (LTM_COLSIZE): Same. | |
1277 | (LTM_DENOMINATOR): Same. | |
1278 | (lambda_trans_matrix_new): Same. | |
1279 | (lambda_matrix_vector_mult): Same. | |
1280 | (lambda_transform_legal_p): Same. | |
1281 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
1282 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
1283 | (gate_tree_linear_transform): Removed. | |
1284 | (pass_linear_transform): Removed. | |
1285 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
1286 | flag_loop_interchange. | |
1287 | ||
6bdfdb96 JJ |
1288 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
1289 | ||
1290 | PR tree-optimization/47265 | |
1291 | PR tree-optimization/47443 | |
1292 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
1293 | if name still has some uses. | |
1294 | ||
e4cba915 MJ |
1295 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
1296 | ||
1297 | PR tree-optimization/47382 | |
1298 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
1299 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
1300 | ||
f822b8ea JS |
1301 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
1302 | ||
1303 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
1304 | sjlj_except_unwind_info. | |
1305 | ||
194313e2 RG |
1306 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
1307 | ||
1308 | PR tree-optimization/47426 | |
1309 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
1310 | visible functions results escape. | |
1311 | ||
147a0bcf JJ |
1312 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
1313 | ||
1314 | PR target/45701 | |
1315 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
1316 | (arm_get_frame_offsets): Use it. | |
1317 | ||
db963b52 SP |
1318 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1319 | Jakub Jelinek <jakub@redhat.com> | |
1320 | ||
1321 | PR tree-optimization/47271 | |
1322 | * tree-if-conv.c (bb_postdominates_preds): New. | |
1323 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
1324 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
1325 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
1326 | ||
bcddd3b9 NC |
1327 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
1328 | ||
1329 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
1330 | * config/rx/rx.c (rx_function_value): Likewise. | |
1331 | (rx_promote_function_mode): Likewise. | |
1332 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
1333 | in order to make it legitimate. | |
38be4072 UB |
1334 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
1335 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
1336 | (addsi3_unspec): Delete. |
1337 | (subdi3): Do not accept immediate operands. | |
1338 | (subdi3_internal): Likewise. | |
1339 | ||
7e6cb022 JL |
1340 | 2011-01-25 Jeff Law <law@redhat.com> |
1341 | ||
1342 | PR rtl-optimization/37273 | |
1343 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
1344 | handle them like argument loads from stack slots. Do not double | |
1345 | count memory for memory constants and argument loads from stack slots. | |
1346 | ||
9ffa621e JJ |
1347 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
1348 | ||
1349 | PR tree-optimization/47427 | |
1350 | PR tree-optimization/47428 | |
1351 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
1352 | coalesce if the new root var would be TREE_READONLY. | |
1353 | ||
5bd6e652 RG |
1354 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
1355 | ||
1356 | PR middle-end/47414 | |
1357 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
1358 | correct type for TBAA. | |
1359 | ||
7c48ea69 SP |
1360 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1361 | ||
1362 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
1363 | (close_phi_written_to_memory): Call for_each_index with | |
1364 | dr_indices_valid_in_loop. | |
1365 | ||
38013f25 SP |
1366 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1367 | ||
1368 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
1369 | when it is initialized. | |
1370 | ||
5c640e29 SP |
1371 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1372 | ||
1373 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
1374 | call to graphite_find_data_references_in_stmt. | |
1375 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
1376 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
1377 | call to graphite_find_data_references_in_stmt. | |
1378 | (analyze_drs_in_stmts): Same. | |
1379 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
1380 | in which the scalar analysis of indices is performed. | |
1381 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
1382 | (find_data_references_in_stmt): Update call to create_data_ref. | |
1383 | (graphite_find_data_references_in_stmt): Same. | |
1384 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
1385 | declaration. | |
1386 | (create_data_ref): Same. | |
1387 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
1388 | call to create_data_ref. | |
1389 | ||
ac53c069 SP |
1390 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1391 | ||
1392 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 1393 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 1394 | |
3d17df15 SP |
1395 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1396 | ||
1397 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
1398 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
1399 | ||
c513da01 SP |
1400 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1401 | ||
1402 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
1403 | in a reduction PBB. | |
1404 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
1405 | that have already been marked as PBB_IS_REDUCTION. | |
1406 | ||
3a292d59 SP |
1407 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1408 | ||
1409 | * graphite-scop-detection.c (same_close_phi_node): New. | |
1410 | (remove_duplicate_close_phi): New. | |
1411 | (make_close_phi_nodes_unique): New. | |
1412 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
1413 | ||
ba858447 SP |
1414 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1415 | ||
1416 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
1417 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
1418 | of both data references to be the same. | |
1419 | ||
8d865c56 SP |
1420 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1421 | ||
38be4072 UB |
1422 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
1423 | the gdim parameter. | |
1424 | (build_lexicographical_constraint): Adjust call to | |
1425 | ppl_powerset_is_empty. | |
8d865c56 SP |
1426 | (dependence_polyhedron): Same. |
1427 | (graphite_legal_transform_dr): Same. | |
1428 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
1429 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
1430 | parameter. | |
8d865c56 SP |
1431 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
1432 | ||
50034a36 SP |
1433 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1434 | ||
1435 | * graphite-sese-to-poly.c | |
1436 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
1437 | (close_phi_written_to_memory): New. | |
1438 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
1439 | and unshare_expr. | |
1440 | ||
0deada9e SP |
1441 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1442 | ||
1443 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
1444 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
1445 | #if PPL_VERSION_MINOR < 11. | |
1446 | ||
d7d3d6af SP |
1447 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1448 | ||
1449 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
1450 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
1451 | (free_poly_ddr): Moved close by new_poly_ddr. | |
1452 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
1453 | Early return NULL when ppl_powerset_is_empty returns true. | |
1454 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
1455 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
1456 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
1457 | (graphite_carried_dependence_level_k): Same. | |
1458 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
1459 | (dot_transformed_deps_stmt_1): Removed. | |
1460 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
1461 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
1462 | (dot_deps_1): Call dot_deps_2. | |
1463 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
1464 | graphite-cloog-util.h. | |
1465 | ||
28c5db57 SP |
1466 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1467 | ||
1468 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
1469 | (build_lexicographical_constraint): Same. | |
1470 | (dependence_polyhedron_1): Same. | |
1471 | (graphite_legal_transform_dr): Same. | |
1472 | (graphite_carried_dependence_level_k): Same. | |
1473 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
1474 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
1475 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
1476 | ||
5168d98f SP |
1477 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1478 | ||
1479 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
1480 | the "a followed by b" relation and document it. | |
1481 | ||
4a40293a SP |
1482 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1483 | ||
1484 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
1485 | iteration when the bag of constraints is empty. | |
1486 | ||
271fb6fa SP |
1487 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1488 | ||
1489 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
1490 | ||
92d23680 SP |
1491 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1492 | ||
1493 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
1494 | nest and two loop depths as parameters. | |
1495 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
1496 | lst_perfect_nestify. | |
1497 | ||
2f51deff SP |
1498 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1499 | ||
1500 | * graphite-dependences.c (print_pddr): Call | |
1501 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
1502 | ||
07f3593c SP |
1503 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
1504 | ||
1505 | * graphite-ppl.c (debug_gmp_value): New. | |
1506 | * graphite-ppl.h (debug_gmp_value): Declared. | |
1507 | ||
3fae6099 TG |
1508 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
1509 | ||
1510 | * doc/install.texi: Document availability of cloog-0.16. | |
1511 | ||
1c3ba85b SP |
1512 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
1513 | ||
1514 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
1515 | invalid postdominance info. | |
1516 | ||
e8ba94fc JH |
1517 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
1518 | ||
1519 | PR c/21659 | |
1520 | * doc/extend.texi (weak pragma): Drop claim that it must | |
1521 | appear before definition. | |
1522 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
1523 | that DECL is not output at a time it is declared weak. | |
1524 | ||
2b6e2d13 KZ |
1525 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
1526 | ||
1527 | * machmode.def: Fixed comments. | |
1c3ba85b | 1528 | |
9841210f KT |
1529 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
1530 | ||
1531 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
1532 | ||
1533 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
1534 | |
1535 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 1536 | WORDS_BIG_ENDIAN. |
e046112d | 1537 | |
a6c5070a L |
1538 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
1539 | ||
1540 | PR target/46519 | |
1541 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
1542 | (block_info): Add scanned and prev. | |
1543 | (move_or_delete_vzeroupper_2): Return if the basic block | |
1544 | has been scanned and the upper 128bit state is unchanged | |
1545 | from the last scan. | |
1546 | (move_or_delete_vzeroupper_1): Return true if the exit | |
1547 | state is changed. | |
1548 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
1549 | work-list based algorithm based on vt_find_locations in | |
1550 | var-tracking.c. | |
1551 | ||
1552 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
1553 | ||
a40d79d7 NC |
1554 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
1555 | ||
1556 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
1557 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
1558 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
1559 | then define __v850e1__. | |
1560 | * doc/invoke.texi: Document -mv850es. | |
1561 | ||
440eb8de RH |
1562 | 2011-01-24 Richard Henderson <rth@redhat.com> |
1563 | ||
1564 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
1565 | compound unordered comparisons. | |
1566 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
1567 | * config/rx/rx-protos.h: Update. | |
1568 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
1569 | (cbranchsf4): Don't call rx_split_fp_compare. | |
1570 | (*cbranchsf4): Use rx_split_cbranch. | |
1571 | (*cmpsf): Don't accept "i" constraint. | |
1572 | (*conditional_branch): Only valid after reload. | |
1573 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
1574 | ||
3ff79f99 MM |
1575 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
1576 | ||
1577 | PR target/47385 | |
1578 | * config/rs6000/altivec.md (vector constant splitters): Add | |
1579 | support for creating vector single precision constants if -mvsx is | |
1580 | used and we would create the constant using Altivec primitives. | |
1581 | ||
ff3d9d08 BS |
1582 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
1583 | Richard Sandiford <rdsandiford@googlemail.com> | |
1584 | ||
1585 | PR rtl-optimization/47166 | |
1586 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
1587 | mechanism for PRE_MODIFY and POST_MODIFY. | |
1588 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
1589 | reloadreg. | |
1590 | ||
7fcaf152 AS |
1591 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
1592 | ||
8788adb6 | 1593 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 1594 | |
d09b58c4 JH |
1595 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
1596 | ||
1597 | PR lto/47333 | |
1598 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
1599 | ||
e8ff8c5a JH |
1600 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
1601 | ||
1602 | PR tree-optimization/43884 | |
1603 | PR lto/44334 | |
8788adb6 | 1604 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
1605 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
1606 | ||
ccaed3ba AS |
1607 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
1608 | ||
1609 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
1610 | * config/s390/s390.c (s390_register_move_cost, | |
1611 | s390_memory_move_cost): New. | |
1612 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
1613 | ||
0cecee06 UW |
1614 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1615 | ||
1616 | PR middle-end/47401 | |
1617 | * except.c (sjlj_assign_call_site_values): Move setting the | |
1618 | crtl->uses_eh_lsda flag to ... | |
1619 | (sjlj_mark_call_sites): ... here. | |
1620 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
1621 | (sjlj_build_landing_pads): In a function with no landing pads | |
1622 | that still has must-not-throw regions, generate code to register | |
1623 | a personality function with empty LSDA. | |
1624 | ||
e692f276 RH |
1625 | 2011-01-21 Richard Henderson <rth@redhat.com> |
1626 | ||
1b7ae0b7 RH |
1627 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
1628 | ||
3843787f RH |
1629 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
1630 | ||
e692f276 RH |
1631 | * compare-elim.c: New file. |
1632 | * Makefile.in (OBJS-common): Add it. | |
1633 | (compare-elim.o): New. | |
1634 | * common.opt (fcompare-elim): New. | |
1635 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
1636 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
1637 | * passes.c (init_optimization_passes): Add it. | |
1638 | * recog.h: Protect against re-inclusion. | |
1639 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
1640 | * doc/invoke.texi (-fcompare-elim): Document it. | |
1641 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
1642 | * doc/tm.texi: Rebuild. | |
1643 | ||
9a7c2050 NC |
1644 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
1645 | ||
1646 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
1647 | rx_split_fp_compare. | |
1648 | ||
15ba5696 NC |
1649 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
1650 | ||
1651 | * config/rx/rx.md (UNSPEC_CONST): New. | |
1652 | (deallocate_and_return): Wrap the amount popped off the stack in | |
1653 | an UNSPEC_CONST in order to stop it being rejected by | |
1654 | -mmax-constant-size. | |
1655 | (pop_and_return): Add a "(return)" rtx. | |
1656 | (call): Drop the immediate operand. | |
1657 | (call_internal): Likewise. | |
1658 | (call_value): Likewise. | |
1659 | (call_value_internal): Likewise. | |
1660 | (sibcall_internal): Likewise. | |
1661 | (sibcall_value_internal): Likewise. | |
1662 | (sibcall): Likewise. Generate an explicit call using | |
1663 | sibcall_internal. | |
1664 | (sibcall_value): Likewise. | |
1665 | (mov<>): FAIL if a constant operand is not legitimate. | |
1666 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 1667 | |
38be4072 | 1668 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
1669 | (ok_for_max_constant): New function. |
1670 | (gen_safe_add): New function. | |
1671 | (rx_expand_prologue): Use gen_safe_add. | |
1672 | (rx_expand_epilogue): Likewise. | |
1673 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
1674 | UNSPEC CONSTs. | |
1675 | ||
caaf13d3 JL |
1676 | 2011-01-21 Jeff Law <law@redhat.com> |
1677 | ||
1678 | PR tree-optimization/47053 | |
1679 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
1680 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
1681 | statements are deleted. | |
1682 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
1683 | is nonempty, then purge dead edges and cleanup the CFG. | |
1684 | ||
12c30f2f AO |
1685 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
1686 | ||
1687 | PR debug/47402 | |
1688 | Temporarily revert: | |
1689 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
1690 | PR debug/47106 | |
1691 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
1692 | ||
7360d2ac JJ |
1693 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
1694 | ||
aaa52a96 JJ |
1695 | PR middle-end/45566 |
1696 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
1697 | notes from other section in hot/cold partitioning even if | |
1698 | last_action is -3. Increment call_site_base. | |
1699 | ||
7360d2ac JJ |
1700 | PR rtl-optimization/47366 |
1701 | * fwprop.c (forward_propagate_into): Return bool. If | |
1702 | any changes are made, -fnon-call-exceptions is used and | |
1703 | REG_EH_REGION note is present, call purge_dead_edges | |
1704 | and return true if it purged anything. | |
1705 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
1706 | any EH edges were purged. | |
1707 | ||
e90b336f JL |
1708 | 2011-01-21 Jeff Law <law@redhat.com> |
1709 | ||
1710 | PR rtl-optimization/41619 | |
1711 | * caller-save.c (setup_save_areas): Break out code to determine | |
1712 | which hard regs are live across calls by examining the reload chains | |
1713 | so that it is always used. | |
1714 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
1715 | ||
3ffe07e1 JJ |
1716 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
1717 | ||
1718 | PR tree-optimization/47355 | |
1719 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
1720 | NOP has non-debug uses beyond PHIs in new_bb. | |
1721 | ||
1c7d0b34 AO |
1722 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
1723 | ||
1724 | PR debug/47106 | |
1725 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
1726 | that are annotated as used. | |
1727 | (estimated_stack_frame_size): Don't set TREE_USED. | |
1728 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
1729 | ||
f99cc488 RG |
1730 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
1731 | ||
1732 | PR middle-end/47395 | |
1733 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
1734 | ||
3bc27de7 RG |
1735 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
1736 | ||
1737 | PR tree-optimization/47365 | |
1738 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
1739 | (vn_reference_lookup_pieces): Adjust. | |
1740 | (vn_reference_lookup): Likewise. | |
1741 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
1742 | (vn_reference_lookup_3): Only look through kills if in | |
1743 | VN_WALKREWRITE mode. | |
1744 | (vn_reference_lookup_pieces): Adjust. | |
1745 | (vn_reference_lookup): Likewise. | |
1746 | (visit_reference_op_load): Likewise. | |
1747 | (visit_reference_op_store): Likewise. | |
1748 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
1749 | (compute_avail): Likewise. | |
1750 | (eliminate): Likewise. | |
1751 | ||
d8debb1d JJ |
1752 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
1753 | ||
1754 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
1755 | DECL_IGNORED_P non-reg vars if they are used. | |
1756 | ||
3a2df831 JJ |
1757 | PR tree-optimization/47391 |
1758 | * varpool.c (const_value_known_p): Return false if | |
1759 | decl is volatile. | |
1760 | ||
1dd584a2 KT |
1761 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
1762 | ||
1763 | PR bootstrap/47215 | |
1764 | * config/i386/i386.c (ix86_local_alignment): Handle | |
1765 | case for va_list_type_node is nil. | |
1766 | (ix86_canonical_va_list_type): Likewise. | |
1767 | ||
7f9f095e AM |
1768 | 2011-01-21 Alan Modra <amodra@gmail.com> |
1769 | ||
1770 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
1771 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
1772 | ||
837b01f6 RR |
1773 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1774 | ||
1775 | * config/arm/arm.md (define_attr type): Rename f_load | |
1776 | and f_store to f_fpa_load and f_fpa_store. Update. | |
1777 | (write_conflict): Deal with rename fallout. | |
1778 | (*push_fp_multi): Likewise. | |
1779 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
1780 | (f_store): Use f_fpa_store. | |
1781 | (*movsf_fpa): Likewise. | |
1782 | (*movdf_fpa): Likewise. | |
1783 | (*movxf_fpa): Likewise. | |
1784 | (*thumb2_movsf_fpa): Likewise. | |
1785 | (*thumb2_movdf_fpa): Likewise. | |
1786 | (*thumb2_movxf_fpa): Likewise. | |
1787 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
1788 | f_loadd and f_stored. | |
1789 | (*thumb2_movdi_vfp): Likewise. | |
1790 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
1791 | (*thumb2_movsi_vfp): Likewise. | |
1792 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
1793 | Use f_loads instead of f_load. | |
1794 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
1795 | ||
a1a79768 AS |
1796 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
1797 | ||
1798 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
1799 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
1800 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
1801 | (xtensa_mode_dependent_address_p): New function. | |
1802 | (constantpool_address_p): Make static. Change return type to bool. | |
1803 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
1804 | ||
427f6cec AO |
1805 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
1806 | ||
1807 | PR debug/46583 | |
1808 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
1809 | ||
583ac69c JJ |
1810 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
1811 | ||
1812 | PR debug/47283 | |
1813 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
1814 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
1815 | etc. handling. | |
1816 | ||
93e452ed RG |
1817 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
1818 | ||
1819 | PR middle-end/47370 | |
1820 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
1821 | the pointer operand of MEM_REFs. | |
1822 | ||
28fc44f3 JJ |
1823 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
1824 | ||
1825 | PR tree-optimization/46130 | |
1826 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
1827 | PHIs other than for retval or if split_function would not adjust it, | |
1828 | refuse to split. | |
1829 | ||
ddd268f2 RG |
1830 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
1831 | ||
1832 | PR tree-optimization/47167 | |
1833 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
1834 | Revert previous change, only avoid enumeral type changes. | |
1835 | ||
882020aa MS |
1836 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
1837 | ||
1838 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
1839 | * doc/tm.texi (BRANCH_COST): Likewise. | |
1840 | ||
7edb6247 DS |
1841 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
1842 | ||
1843 | PR c++/47291 | |
1844 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
1845 | (gen_scheduled_generic_parms_dies): New functions. |
1846 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
1847 | generation for the end of CU compilation. | |
1848 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 1849 | |
23d5ed5d AO |
1850 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
1851 | ||
1852 | PR debug/46240 | |
1853 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
1854 | debug bind stmt on merge edges. | |
1855 | ||
37d6a488 AO |
1856 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
1857 | ||
1858 | PR debug/47079 | |
1859 | PR debug/46724 | |
1860 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
1861 | implicit arguments, and recurse on VALUE_EXPRs. | |
1862 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
1863 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
1864 | ||
689f2c82 AO |
1865 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
1866 | ||
1867 | * c-parser.c (c_parser_for_statement): Initialize | |
1868 | collection_expression. | |
1869 | ||
03029de4 JM |
1870 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
1871 | ||
1872 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
1873 | ||
3e03217e JM |
1874 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
1875 | ||
1876 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
1877 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
1878 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
1879 | ||
5bbe9b3f JM |
1880 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
1881 | ||
1882 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
1883 | (NO_SHARED_LIB_SUPPORT): Remove. | |
1884 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
1885 | ||
368e0b39 JM |
1886 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
1887 | ||
1888 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
1889 | %{call_shared}. | |
1890 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
1891 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
1892 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
1893 | %{call_shared} and conditionals on these options not being passed. | |
1894 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
1895 | %{call_shared}. | |
1896 | ||
ed7656f6 JJ |
1897 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
1898 | ||
68457901 JJ |
1899 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
1900 | simplify. | |
1901 | ||
ed7656f6 JJ |
1902 | * ipa-split.c: Spelling fixes. |
1903 | ||
e0d1958f RH |
1904 | 2011-01-19 Richard Henderson <rth@redhat.com> |
1905 | ||
1906 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
1907 | (*mulsi3): Likewise. | |
1908 | ||
27098b6b RH |
1909 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
1910 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
1911 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
1912 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
1913 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
1914 | ||
d6be7c36 UW |
1915 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1916 | ||
1917 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
1918 | ||
b1efde2a RH |
1919 | 2011-01-19 Richard Henderson <rth@redhat.com> |
1920 | ||
44217823 RH |
1921 | * config/mn10300/mn10300.md (addsi3_flags): New. |
1922 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
1923 | (subsi3_flags, subc_internal, subdi3): New. | |
1924 | (subdi3_internal, *subdi3_degenerate): New. | |
1925 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
1926 | ||
37a185d7 RH |
1927 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
1928 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
1929 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
1930 | * config/mn10300/mn10300-protos.h: Update. | |
1931 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
1932 | (return_ret): Likewise. Rename from return_internal_regs. | |
1933 | (return_internal): Remove. | |
1934 | ||
040c5757 RH |
1935 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
1936 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
1937 | (mn10300_legitimate_constant_p): Likewise. | |
1938 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
1939 | (mn10300_frame_size): New. | |
1940 | (mn10300_expand_prologue): Use it. | |
1941 | (mn10300_expand_epilogue): Likewise. | |
1942 | (mn10300_initial_offset): Likewise. | |
1943 | * config/mn10300/mn10300-protos.h: Update. | |
1944 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
1945 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
1946 | (prologue, epilogue, return_internal): Tidy output code. | |
1947 | (mn10300_store_multiple_operation, return): Likewise. | |
1948 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
1949 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
1950 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
1951 | (load_pic, am33_load_pic): New. | |
1952 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
1953 | ||
bad41521 RH |
1954 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
1955 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
1956 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
1957 | (cc_flags_for_mode, cc_flags_for_code): New. | |
1958 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
1959 | overflow flag is not valid. Validate that the flags we need | |
1960 | for the comparison are valid. | |
1961 | (mn10300_output_cmp): Remove. | |
1962 | (mn10300_output_add): New. | |
1963 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
1964 | (mn10300_split_cbranch): New. | |
1965 | (mn10300_match_ccmode): New. | |
1966 | (mn10300_split_and_operand_count): New. | |
1967 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
1968 | to the function. | |
1969 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
1970 | (addsi3): ... here. Use mn10300_output_add. | |
1971 | (*addsi3_flags): New. | |
1972 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
1973 | (subsi3): ... here. Use attribute isa. | |
1974 | (*subsi3_flags): New. | |
1975 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
1976 | when possible. | |
1977 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
1978 | (andsi3): ... here. | |
1979 | (*andsi3_flags): New. | |
1980 | (andsi3 splitters): New. | |
1981 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
1982 | (iorsi3): ... here. | |
1983 | (*iorsi3_flags): New. | |
1984 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
1985 | (xorsi3): ... here. | |
1986 | (*xorsi3_flags): New. | |
1987 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
1988 | (one_cmplsi2): ... here. | |
1989 | (*one_cmplsi2_flags): New. | |
1990 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
1991 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
1992 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
1993 | use matching constraints to eliminate a self-comparison. | |
1994 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
1995 | Use int_mode_flags to match CC_REG. | |
1996 | (*cbranchsi4_btst, *btstsi): New. | |
1997 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
1998 | mn10300_split_cbranch. | |
1999 | (*am33_cmpsf): Rename from am33_cmpsf. | |
2000 | (*float_conditional_branch): Rename from float_conditional_branch. | |
2001 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
2002 | (zero_extendqisi2): ... here. | |
2003 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
2004 | (zero_extendhisi2): ... here. | |
2005 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
2006 | (extendqisi2): ... here. | |
2007 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
2008 | (extendhisi2): ... here. | |
2009 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
2010 | (ashlsi3): ... here. | |
2011 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
2012 | (lshrsi3): ... here. | |
2013 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
2014 | (ashrsi3): ... here. | |
2015 | (consecutive add peephole): Remove. | |
2016 | * config/mn10300/predicates.md (label_ref_operand): New. | |
2017 | (int_mode_flags): New. | |
2018 | (CCZN_comparison_operator): New. | |
2019 | ||
9efb4993 RH |
2020 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
2021 | (throughput_42_latency_43): New reservation. | |
2022 | (mulsidi3, umulsidi3): New expanders. | |
2023 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
2024 | the MDR register to allocation; separately allocate the low and | |
2025 | high parts of the DImode result. | |
2026 | (umulsidi3_internal): Similarly. | |
2027 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
2028 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
2029 | (udivsi3, umodsi3): Remove. | |
2030 | (udivmodsi4, divmodsi4): New expanders. | |
2031 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
2032 | (*divmodsi4): Simiarly. | |
2033 | (ext_internal): New. | |
2034 | ||
c25a21f5 RH |
2035 | * config/mn10300/constraints.md ("z"): New constraint. |
2036 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
2037 | (FIXED_REGISTERS): Don't fix MDR. | |
2038 | (CALL_USED_REGSITERS): Reformat nicely. | |
2039 | (REG_ALLOC_ORDER): Add MDR. | |
2040 | (enum regclass): Add MDR_REGS. | |
2041 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
2042 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
2043 | (REGNO_REG_CLASS): Handle MDR_REG. | |
2044 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
2045 | (mn10300_register_move_cost): Likewise. | |
2046 | * config/mn10300/mn10300.md (MDR_REG): New. | |
2047 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
2048 | ||
36846b26 RH |
2049 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
2050 | POST_MODIFY. | |
2051 | (mn10300_secondary_reload): Tidy combination reload classes. | |
2052 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
2053 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
2054 | (mn10300_regno_in_class_p): New. | |
2055 | (mn10300_legitimize_reload_address): New. | |
2056 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
2057 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
2058 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
2059 | SP_OR_GENERAL_REGS. | |
2060 | (REG_CLASS_NAMES): Update to match. | |
2061 | (REG_CLASS_CONTENTS): Likewise. | |
2062 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
2063 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
2064 | (REGNO_IN_RANGE_P): Remove. | |
2065 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
2066 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
2067 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
2068 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
2069 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
2070 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
2071 | (REGNO_GENERAL_P): New. | |
2072 | (HAVE_POST_MODIFY_DISP): New. | |
2073 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
2074 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
2075 | * config/mn10300/mn10300-protos.h: Update. | |
2076 | ||
8b119bb6 RH |
2077 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
2078 | DATA_REGS for AM33 stack-pointer destination. | |
2079 | (mn10300_preferred_output_reload_class): Likewise. | |
2080 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
2081 | into a form appropriate for ... | |
2082 | (TARGET_SECONDARY_RELOAD): New. | |
2083 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
2084 | * config/mn10300/mn10300-protos.h: Update. | |
2085 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
2086 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
2087 | moves of sp to non-address registers. | |
2088 | ||
b1efde2a RH |
2089 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
2090 | (*movqi_internal): ... here. | |
2091 | (*am33_movhi, *mn10300_movhi): Merge into... | |
2092 | (*movhi_internal): ... here. | |
2093 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
2094 | as the source/destination of moves from/to SP. | |
2095 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 2096 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
2097 | any integer constant constraint. Only allow for AM33-2. Tidy |
2098 | all of the alternative outputs. | |
2099 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
2100 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
2101 | for MN103. | |
2102 | (udivsi3, umodsi3): New patterns for MN103 only. | |
2103 | ||
b899fd78 JR |
2104 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
2105 | ||
2106 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
2107 | can lead to ICEs. | |
2108 | * doc/tm.texi: Regenerate. | |
2109 | ||
afaaa67d JJ |
2110 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
2111 | ||
2e0642cd JJ |
2112 | PR rtl-optimization/47337 |
2113 | * dce.c (check_argument_store): New function. | |
2114 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
2115 | ||
afaaa67d JJ |
2116 | PR tree-optimization/47290 |
2117 | * tree-eh.c (infinite_empty_loop_p): New function. | |
2118 | (cleanup_empty_eh): Use it. | |
2119 | ||
d2cd871f SE |
2120 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
2121 | ||
2122 | PR target/46997 | |
2123 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
2124 | (a64_expand_widen_sum): Ditto. | |
2125 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
2126 | (vec_extract_evenodd_help): Ditto. | |
2127 | (vec_extract_evenv4hi): Ditto. | |
2128 | (vec_extract_oddv4hi): Ditto. | |
2129 | (vec_extract_evenv2si): Ditto. | |
2130 | (vec_extract_oddv2si): Ditto. | |
2131 | (vec_extract_evenv2sf): Ditto. | |
2132 | (vec_extract_oddv2sf): Ditto. | |
2133 | (vec_pack_trunc_v4hi: Ditto. | |
2134 | (vec_pack_trunc_v2si): Ditto. | |
2135 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
2136 | (vec_interleave_highv8qi): Ditto. | |
2137 | (mix1_r): Ditto. | |
2138 | (vec_extract_oddv8qi): Ditto. | |
2139 | (vec_interleave_lowv4hi): Ditto. | |
2140 | (vec_interleave_highv4hi): Ditto. | |
2141 | (vec_interleave_lowv2si): Ditto. | |
2142 | (vec_interleave_highv2si): Ditto. | |
2143 | ||
41a1208a JDA |
2144 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2145 | ||
2146 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
2147 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
2148 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
2149 | (pa_c_mode_for_suffix): New. | |
2150 | (TARGET_EXPAND_BUILTIN): Define. | |
2151 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
2152 | (pa_builtins): Define. | |
2153 | (pa_init_builtins): Register __float128 type and init new support | |
2154 | builtins. | |
2155 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
2156 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
2157 | ||
1ecad98e EB |
2158 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
2159 | ||
2160 | PR middle-end/46894 | |
2161 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
2162 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
2163 | are defined. | |
2164 | ||
d4f2460a UW |
2165 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2166 | ||
2167 | PR tree-optimization/47179 | |
2168 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
2169 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
2170 | ||
4994da65 RG |
2171 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
2172 | ||
2173 | PR rtl-optimization/47216 | |
2174 | * emit-rtl.c: Include tree-flow.h. | |
2175 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
2176 | of replicating it with different semantics. | |
2177 | * Makefile.in (emit-rtl.o): Adjust. | |
2178 | ||
1eb458d1 RR |
2179 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2180 | ||
38be4072 | 2181 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 2182 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 2183 | |
e7ef91dc JJ |
2184 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
2185 | ||
2186 | PR rtl-optimization/47299 | |
2187 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 2188 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
2189 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
2190 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
2191 | before using it. | |
2192 | ||
535b7874 RW |
2193 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2194 | ||
2195 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
2196 | spacing after 'e.g.', typos, comma, hyphenation. | |
2197 | ||
27bf36f3 RH |
2198 | 2011-01-17 Richard Henderson <rth@redhat.com> |
2199 | ||
8a5b5449 RH |
2200 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
2201 | (rx_restricted_mem_operand): New. | |
2202 | (rx_shift_operand): Use register_operand. | |
2203 | (rx_source_operand, rx_compare_operand): Likewise. | |
2204 | * config/rx/rx.md (addsi3_flags): New expander. | |
2205 | (adddi3): Rewrite as expander. | |
2206 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
2207 | (subsi3_flags): New expander. | |
2208 | (subdi3): Rewrite as expander. | |
2209 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
2210 | ||
784f69be RH |
2211 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
2212 | (rx_init_builtins): Remove sat builtin. | |
2213 | (rx_expand_builtin): Likewise. | |
2214 | * config/rx/rx.md (ssaddsi3): New. | |
2215 | (*sat): Rename from sat. Represent the CC_REG input. | |
2216 | ||
f033541c RH |
2217 | * config/rx/predicates.md (rshift_operator): New. |
2218 | * config/rx/rx.c (rx_expand_insv): Remove. | |
2219 | * config/rx/rx-protos.h: Update. | |
2220 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
2221 | operand to the canonical position. | |
2222 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
2223 | (*bitclr, *bitclr_in_memory): Similarly. | |
2224 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
2225 | (insv): Retain the zero_extract in the expansion. | |
2226 | ||
34fee389 RH |
2227 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
2228 | (bswaphi2, bitinvert, revw): Likewise. | |
2229 | ||
265c835f RH |
2230 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
2231 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
2232 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
2233 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
2234 | (bitset, bitset_in_memory): Likewise. | |
2235 | (bitinvert, bitinvert_in_memory): Likewise. | |
2236 | (bitclr, bitclr_in_memory): Likewise. | |
2237 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
2238 | (rx_strend, rx_cmpstrn): Likewise. | |
2239 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
2240 | (bitop peep2 patterns): Remove. | |
2241 | ||
b4d83be3 RH |
2242 | * config/rx/rx.c (rx_match_ccmode): New. |
2243 | * config/rx/rx-protos.h: Update. | |
2244 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
2245 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
2246 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
2247 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
2248 | (fix_truncsfsi2, floatsisf2): Likewise. | |
2249 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
2250 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
2251 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
2252 | (*subsi3_flags, *xorsi3_flags): New. | |
2253 | ||
d0acb939 RH |
2254 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
2255 | ||
c06fc3d9 RH |
2256 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
2257 | unsplit comparison operations. | |
2258 | ||
2882702b RH |
2259 | * config/rx/rx.md (movsicc): Split after reload. |
2260 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
2261 | (*stcc): New pattern. | |
2262 | ||
6f7310f2 RH |
2263 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
2264 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
2265 | * config/rx/rx.md (cstoresi4): Split after reload. | |
2266 | (*sccc): New pattern. | |
2267 | ||
e963cb1a RH |
2268 | * config/rx/predicates.md (label_ref_operand): New. |
2269 | (rx_z_comparison_operator): New. | |
2270 | (rx_zs_comparison_operator): New. | |
2271 | (rx_fp_comparison_operator): New. | |
2272 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
2273 | Validate that the flags are set properly for the comparison. | |
2274 | (rx_gen_cond_branch_template): Remove. | |
2275 | (rx_cc_modes_compatible): Remove. | |
2276 | (mode_from_flags): New. | |
2277 | (flags_from_code): Rename from flags_needed_for_conditional. | |
2278 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
2279 | (rx_select_cc_mode): Likewise. | |
2280 | (rx_split_fp_compare): New. | |
2281 | (rx_split_cbranch): New. | |
2282 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
2283 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
2284 | (*cbranchsf4): Similarly. | |
2285 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
2286 | match_operator and rx_split_cbranch. | |
2287 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
2288 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
2289 | (*cmpsi): Rename from cmpsi. | |
2290 | (*tstsi): Rename from tstsi. | |
2291 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
2292 | (*conditional_branch): Rename from conditional_branch. | |
2293 | (*reveresed_conditional_branch): Remove. | |
2294 | (b<code>): Remove expander. | |
2295 | * config/rx/rx-protos.h: Update. | |
2296 | ||
af530bb4 RH |
2297 | * config/rx/rx.c (rx_compare_redundant): Remove. |
2298 | * config/rx/rx.md (cmpsi): Don't use it. | |
2299 | * config/rx/rx-protos.h: Update. | |
2300 | ||
27bf36f3 RH |
2301 | * config/rx/rx-modes.def (CC_F): New mode. |
2302 | * config/rx/rx.c (rx_select_cc_mode): New. | |
2303 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
2304 | * config/rx/rx-protos.h: Update. | |
2305 | ||
d7fde127 RH |
2306 | 2011-01-17 Richard Henderson <rth@redhat.com> |
2307 | ||
2308 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
2309 | ||
6ff38230 RG |
2310 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
2311 | ||
2312 | PR tree-optimization/47313 | |
2313 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
2314 | handling before copying the body. Properly deal with | |
2315 | by-reference result in SSA form. | |
2316 | ||
114ce554 ILT |
2317 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
2318 | ||
bf5cd92b | 2319 | PR target/47219 |
114ce554 ILT |
2320 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
2321 | (struct_value_alias_set): Don't define. | |
2322 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
2323 | struct_value_alias_set. | |
2324 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
2325 | set_mem_alias_set. | |
2326 | (sparc_struct_value_rtx): Likewise. | |
2327 | ||
98c6d93c L |
2328 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
2329 | ||
2330 | PR target/47318 | |
2331 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to | |
2332 | __m128i. | |
2333 | (_mm_maskstore_pd): Likewise. | |
2334 | (_mm_maskload_ps): Likewise. | |
2335 | (_mm_maskstore_ps): Likewise. | |
2336 | (_mm256_maskload_pd): Change mask to __m256i. | |
2337 | (_mm256_maskstore_pd): Likewise. | |
2338 | (_mm256_maskload_ps): Likewise. | |
2339 | (_mm256_maskstore_ps): Likewise. | |
2340 | ||
2341 | * config/i386/i386-builtin-types.def: Updated. | |
2342 | (ix86_expand_special_args_builtin): Likewise. | |
2343 | ||
2344 | * config/i386/i386.c (bdesc_special_args): Update | |
2345 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
2346 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
2347 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
2348 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
2349 | ||
2350 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
2351 | Use <avxpermvecmode> on mask register. | |
2352 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
2353 | ||
b9361af2 | 2354 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
2355 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
2356 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
2357 | |
2358 | PR target/46655 | |
2359 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
2360 | if <= USHRT_MAX in 32-bit mode. | |
2361 | ||
b7ae9eb5 RW |
2362 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2363 | ||
2364 | * doc/install.texi (Configuration, Specific): Wrap long | |
2365 | lines in examples. Allow line wrapping in long options | |
2366 | and URLs where beneficial for PDF output. | |
2367 | ||
4377fad9 RS |
2368 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
2369 | ||
2370 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
2371 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
2372 | ||
55959ffa | 2373 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 2374 | |
55959ffa EB |
2375 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
2376 | ||
2377 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
2378 | ||
2379 | PR tree-optimization/47276 | |
be46831f JH |
2380 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
2381 | declarations as needed. | |
2382 | ||
05842ff5 MJ |
2383 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
2384 | ||
2385 | * common.opt (fdevirtualize): New flag. | |
2386 | * doc/invoke.texi (Option Summary): Document it. | |
2387 | * opts.c (default_options_table): Add devirtualize flag. | |
2388 | * ipa-prop.c (detect_type_change): Return immediately if | |
2389 | devirtualize flag is not set. | |
2390 | (detect_type_change_ssa): Likewise. | |
2391 | (compute_known_type_jump_func): Likewise. | |
2392 | (ipa_analyze_virtual_call_uses): Likewise. | |
2393 | ||
f65cf2b7 MJ |
2394 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
2395 | ||
2396 | PR tree-optimization/45934 | |
2397 | PR tree-optimization/46302 | |
2398 | * ipa-prop.c (type_change_info): New type. | |
2399 | (stmt_may_be_vtbl_ptr_store): New function. | |
2400 | (check_stmt_for_type_change): Likewise. | |
2401 | (detect_type_change): Likewise. | |
2402 | (detect_type_change_ssa): Likewise. | |
2403 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
2404 | (compute_complex_ancestor_jump_func): Likewise. | |
2405 | (compute_known_type_jump_func): Likewise. | |
2406 | (compute_scalar_jump_functions): Likewise. | |
2407 | (ipa_analyze_virtual_call_uses): Likewise. | |
2408 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
2409 | ||
eb5bb0fd JM |
2410 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2411 | ||
2412 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
2413 | * config/i386/i386.opt (msse5): New Alias. | |
2414 | ||
f2060fbe JM |
2415 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2416 | ||
2417 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
2418 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
2419 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
2420 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
2421 | ||
3a7b4385 JM |
2422 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2423 | ||
2424 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
2425 | -mcpu options. | |
2426 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
2427 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
2428 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
2429 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
2430 | Likewise. | |
2431 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
2432 | ||
a7b778f8 JM |
2433 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2434 | ||
38be4072 | 2435 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 2436 | |
a7edae0a MS |
2437 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
2438 | ||
2439 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
2440 | * config/fr30/fr30.md: Likweise | |
2441 | (movsi_push): Likewise. | |
2442 | (movsi_pop): Likewise. | |
2443 | (enter_func): Likewise. | |
2444 | * config/moxie/moxie.md (movsi_push): Likewise. | |
2445 | (movsi_pop): Likewise. | |
2446 | ||
cbabf03f JM |
2447 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2448 | ||
2449 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
2450 | %{no_archive} %{exact_version}. | |
2451 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
2452 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
2453 | %{no_archive} %{exact_version}. | |
2454 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
2455 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
2456 | * config/mips/vxworks.h: Likewise. | |
2457 | ||
438da41a JM |
2458 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2459 | ||
38be4072 | 2460 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 2461 | |
da290a42 JM |
2462 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2463 | ||
2464 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
2465 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
2466 | ||
8989d00e JM |
2467 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2468 | ||
2469 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
2470 | -nodefaultlib. | |
2471 | ||
a3010a69 JM |
2472 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2473 | ||
2474 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
2475 | for mcpu not cpu. | |
2476 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
2477 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
2478 | not cpu. | |
2479 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
2480 | Don't handle -shlib. | |
2481 | ||
e7f2f537 JM |
2482 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2483 | ||
2484 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
2485 | (CC1_SPEC): Don't handle -profile. | |
2486 | ||
34830bfd JM |
2487 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2488 | ||
2489 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
2490 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
2491 | ||
b2d36e74 JM |
2492 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2493 | ||
2494 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
2495 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
2496 | ||
dabadc52 JM |
2497 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2498 | ||
2499 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
2500 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
2501 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
2502 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
2503 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
2504 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
2505 | LINK_SPEC): Likewise. | |
2506 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
2507 | ||
43ee6785 JM |
2508 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2509 | ||
2510 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
2511 | %{version:-v}. | |
2512 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
2513 | ||
45e79dfd JM |
2514 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2515 | ||
2516 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
2517 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
2518 | ||
37e9e71d JM |
2519 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
2520 | ||
2521 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
2522 | ||
bb127cd8 RO |
2523 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2524 | ||
2525 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
2526 | supports -Bstatic/-Bdynamic. | |
2527 | * configure: Regenerate. | |
2528 | ||
89a012ea JH |
2529 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
2530 | Jack Howarth <howarth@bromo.med.uc.edu> | |
2531 | ||
2532 | PR target/46037 | |
2533 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
2534 | when checking debug_info_level. Test write_symbols instead of | |
2535 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
2536 | ||
7352c013 RG |
2537 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
2538 | ||
2539 | PR tree-optimization/47179 | |
2540 | * target.def (ref_may_alias_errno): New target hook. | |
2541 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
2542 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
2543 | (default_ref_may_alias_errno): New function. | |
2544 | * target.h (struct ao_ref_s): Declare. | |
2545 | * tree-ssa-alias.c: Include target.h. | |
2546 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
2547 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
2548 | (targhooks.o): Likewise. | |
2549 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
2550 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
2551 | ||
9a6c9288 RG |
2552 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
2553 | ||
2554 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
2555 | ||
0fdb0d27 RG |
2556 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
2557 | ||
2558 | PR tree-optimization/47280 | |
2559 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
2560 | return CFG changes. | |
2561 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
2562 | CFG changes from associate_plusminus. | |
2563 | ||
8f66db3b RG |
2564 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
2565 | ||
2566 | PR middle-end/47281 | |
2567 | Revert | |
2568 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
2569 | ||
280d9630 EB |
2570 | PR tree-optimization/46076 |
2571 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
2572 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 2573 | |
6c0c92e6 RG |
2574 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
2575 | ||
2576 | PR tree-optimization/47286 | |
280d9630 | 2577 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 2578 | |
db09f943 MJ |
2579 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
2580 | ||
2581 | PR middle-end/46823 | |
2582 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
2583 | ||
dde8a3a4 AS |
2584 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
2585 | ||
2586 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
2587 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
2588 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
2589 | xtensa_function_value_regno_p): New functions. | |
2590 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
2591 | ||
a2b63a20 KT |
2592 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
2593 | ||
2594 | PR c++/47213 | |
2595 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
2596 | PE specific hook. | |
2597 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
2598 | New function prototype. | |
2599 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
2600 | Warn only if attribute was specified by user. | |
2601 | ||
b41f0b34 MM |
2602 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
2603 | ||
2604 | PR target/47251 | |
2605 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
2606 | floating point. | |
2607 | (floatunsdidf2_fcfidu): Ditto. | |
2608 | ||
3f3c098d AK |
2609 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2610 | ||
2611 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
2612 | 'output_operand_lossage'. | |
2613 | (print_operand): Likewise. | |
2614 | ||
29fa95ed JL |
2615 | 2011-01-13 Jeff Law <law@redhat.com> |
2616 | ||
280d9630 | 2617 | PR rtl-optimization/39077 |
29fa95ed JL |
2618 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
2619 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
2620 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
2621 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
2622 | * gcse.c (prune_insertions_deletions): New function. | |
2623 | (compute_pre_data): Use it. | |
2624 | ||
71d12276 DS |
2625 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
2626 | ||
2627 | PR debug/PR46973 | |
2628 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
2629 | static function. | |
61052244 | 2630 | (prune_unused_types_mark): Use it. |
71d12276 | 2631 | |
9b0f04e7 AB |
2632 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
2633 | ||
2634 | PR rtl-optimization/45352 | |
1c3ba85b | 2635 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 2636 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 2637 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 2638 | |
d6a3e264 RH |
2639 | 2011-01-12 Richard Henderson <rth@redhat.com> |
2640 | ||
a49b692a RH |
2641 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
2642 | (TARGET_MD_ASM_CLOBBERS): New. | |
2643 | ||
126b1483 RH |
2644 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
2645 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
2646 | ||
f3d9d2e0 RH |
2647 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
2648 | (clzsi2, *bsch): New patterns. | |
2649 | ||
d84760c9 RH |
2650 | * config/mn10300/mn10300.md (INT): New mode iterator. |
2651 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
2652 | ||
ec815d65 RH |
2653 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
2654 | flag_split_wide_types. | |
2655 | ||
d6a3e264 RH |
2656 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
2657 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
2658 | load and a direct branch. | |
2659 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
2660 | ||
0f8ab434 AS |
2661 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
2662 | ||
2663 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
2664 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
2665 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
2666 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
2667 | ||
d8a24b65 KT |
2668 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
2669 | ||
2670 | PR debug/47209 | |
2671 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
2672 | of type. | |
2673 | ||
56e22cab JH |
2674 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
2675 | ||
2676 | PR driver/47244 | |
2677 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
2678 | (PLUGIN_COND_CLOSE): New macro. | |
2679 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
2680 | ||
4b18b3c2 RG |
2681 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
2682 | ||
2683 | PR lto/47259 | |
2684 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
2685 | register variables in a MEM_REF. | |
2686 | ||
8e38461c JM |
2687 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
2688 | ||
2689 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
2690 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
2691 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
2692 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
2693 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
2694 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
2695 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
2696 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
2697 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
2698 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
2699 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
2700 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
2701 | * config/gnu-user.h: New. Copied from linux.h. | |
2702 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
2703 | GNU_USER_TARGET_STARTFILE_SPEC. | |
2704 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
2705 | GNU_USER_TARGET_ENDFILE_SPEC. | |
2706 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
2707 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
2708 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
2709 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
2710 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
2711 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
2712 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
2713 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
2714 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
2715 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
2716 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
2717 | GNU_USER_TARGET_CC1_SPEC. | |
2718 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
2719 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
2720 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
2721 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
2722 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
2723 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
2724 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
2725 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
2726 | ||
a570fc16 RG |
2727 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
2728 | ||
2729 | PR other/46946 | |
2730 | * doc/invoke.texi (ffast-math): Document it is turned on | |
2731 | with -Ofast. | |
2732 | ||
b0223c3e JH |
2733 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
2734 | ||
2735 | PR tree-optimization/47233 | |
ca1e00b3 EB |
2736 | * opts.c (common_handle_option): Disable ipa-reference with profile |
2737 | feedback. | |
b0223c3e | 2738 | |
1c3ba85b | 2739 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
2740 | |
2741 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
2742 | error message. |
2743 | ||
d853ee42 NP |
2744 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
2745 | ||
2746 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
2747 | comments. No changes in code. | |
2748 | ||
4053a5a0 ILT |
2749 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
2750 | ||
2751 | * godump.c (go_output_var): Don't output the variable if there is | |
2752 | already a type with the same name. | |
2753 | ||
fa3e04d2 ILT |
2754 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
2755 | ||
2756 | * godump.c (go_format_type): Don't generate float80. | |
2757 | ||
885fe07c RH |
2758 | 2011-01-11 Richard Henderson <rth@redhat.com> |
2759 | ||
72d6e3c5 RH |
2760 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
2761 | declaration. Rewrite for both speed and size. | |
2762 | (mn10300_address_cost_1): Remove. | |
2763 | (mn10300_register_move_cost): New. | |
2764 | (mn10300_memory_move_cost): New. | |
2765 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
2766 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
2767 | extensions, shifts, BSWAP, CLZ. | |
2768 | (mn10300_wide_const_load_uses_clr): Remove. | |
2769 | (TARGET_REGISTER_MOVE_COST): New. | |
2770 | (TARGET_MEMORY_MOVE_COST): New. | |
2771 | * config/mn10300/mn10300-protos.h: Update. | |
2772 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
2773 | ||
df37c023 RH |
2774 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
2775 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
2776 | * config/mn10300/mn10300-protos.h: Update. | |
2777 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
2778 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
2779 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
2780 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
2781 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 2782 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 2783 | |
85a337b5 RH |
2784 | * config/mn10300/constraints.md ("c"): Rename from "A". |
2785 | ("A", "D"): New constraint letters. | |
2786 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
2787 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
2788 | ||
a5c727e3 RH |
2789 | * config/mn10300/mn10300.md (isa): New attribute. |
2790 | (enabled): New attribute. | |
2791 | ||
0d9e23f4 RH |
2792 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
2793 | (abssf2, negsf2): Define only for hardware fp. | |
2794 | (sqrtsf2): Reformat. | |
2795 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
2796 | ||
c157b3f0 RH |
2797 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
2798 | (DEBUGGER_AUTO_OFFSET): Remove. | |
2799 | (DEBUGGER_ARG_OFFSET): Remove. | |
2800 | ||
cc909bba RH |
2801 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
2802 | Emit register stores with the same offsets as the hardware. | |
2803 | (mn10300_store_multiple_operation): Don't check that the register | |
2804 | save offsets are monotonic. | |
2805 | * config/mn10300/mn10300-protos.h: Update. | |
2806 | ||
e3b5c2f3 RH |
2807 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
2808 | ||
885fe07c RH |
2809 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
2810 | in terms of the value on the stack, not the MDR register. | |
2811 | ||
6e701822 JH |
2812 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
2813 | ||
2814 | PR lto/45721 | |
2815 | PR lto/45375 | |
2816 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
2817 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
2818 | propagate_aliases_backward): Declare. | |
2819 | * lto-streamer-out.c (struct sets): New sturcture. | |
2820 | (trivally_defined_alias): New function. | |
2821 | (output_alias_pair_p): Rewrite. | |
2822 | (output_unreferenced_globals): Fix output of alias pairs. | |
2823 | (produce_symtab): Likewise. | |
2824 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
2825 | as needed in lto. | |
2826 | * varasm.c (symbol_alias_set_t): Remove. | |
2827 | (symbol_alias_set_destroy): Export. | |
2828 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
2829 | based on ... | |
2830 | (compute_visible_aliases): ... this one; remove. | |
2831 | (trivially_visible_alias): New | |
2832 | (trivially_defined_alias): New. | |
2833 | (remove_unreachable_alias_pairs): Rewrite. | |
2834 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
2835 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
2836 | in LTO mode. | |
2837 | ||
1b248907 RG |
2838 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
2839 | ||
2840 | PR tree-optimization/46076 | |
2841 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
2842 | unprototyped to empty argument list function types are useless. | |
2843 | ||
b1923f0a RG |
2844 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
2845 | ||
2846 | PR middle-end/45235 | |
2847 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
2848 | volatile MEMs as MEM_READONLY_P. | |
2849 | ||
e98965af RG |
2850 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
2851 | ||
2852 | PR tree-optimization/47239 | |
2853 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
2854 | ||
9f9ca914 JL |
2855 | 2011-01-11 Jeff Law <law@redhat.com> |
2856 | ||
1ee3ea05 | 2857 | PR tree-optimization/47086 |
9f9ca914 JL |
2858 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
2859 | IVs from statements that might throw. | |
2860 | ||
345fdcb7 JH |
2861 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
2862 | ||
2863 | PR lto/45375 | |
2864 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
2865 | ||
c459c97b JH |
2866 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
2867 | ||
2868 | PR lto/45375 | |
2869 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
2870 | when correcting profile. | |
2871 | ||
06c9eb51 JH |
2872 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
2873 | ||
2874 | PR lto/46083 | |
2875 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
2876 | DECL_FINI_PRIORITY. | |
2877 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
2878 | Restore DECL_FINI_PRIORITY. | |
2879 | ||
ae9fd815 RW |
2880 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2881 | ||
2882 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
2883 | @deftypefn statements. Ensure presence of return value. Wrap | |
2884 | overlong @deftypefn lines. | |
2885 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
2886 | descriptions of removed functions. | |
2887 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
2888 | of multi-word return value in @deftypefn statement. | |
2889 | ||
0ecb4a7c RW |
2890 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2891 | ||
2892 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
2893 | (Conditional Expressions, Logical Operators) | |
2894 | (Statement and operand traversals): Do not indent smallexample | |
2895 | code. Fix duplicate function argument in example. | |
2896 | ||
2e5e346d JL |
2897 | 2011-01-10 Jeff Law <law@redhat.com> |
2898 | ||
1ee3ea05 | 2899 | PR tree-optimization/47141 |
2e5e346d JL |
2900 | * ipa-split.c (split_function): Handle case where we are |
2901 | returning a value and the return block has a virtual operand phi. | |
2902 | ||
cf9712cc JH |
2903 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
2904 | ||
1c3ba85b | 2905 | PR tree-optimization/47234 |
cf9712cc JH |
2906 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
2907 | (pass_feedback_split_functions): Declare. | |
2908 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
2909 | tree-profile. | |
2910 | * ipa-split.c (gate_split_functions): Update comments; disable | |
2911 | split-functions for profile_arc_flag and branch_probabilities. | |
2912 | (gate_feedback_split_functions): New function. | |
2913 | (execute_feedback_split_functions): New function. | |
2914 | (pass_feedback_split_functions): New global var. | |
2915 | ||
94cd932c L |
2916 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
2917 | ||
2918 | PR lto/46760 | |
2919 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
2920 | calling gimple_call_set_cannot_inline. | |
2921 | ||
fbbfcaf1 IS |
2922 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
2923 | ||
2924 | * config/darwin-sections.def: Remove unused section. | |
2925 | ||
d06865bf DK |
2926 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
2927 | ||
2928 | PR c++/47218 | |
2929 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
2930 | ||
96bbfbac NP |
2931 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
2932 | ||
2933 | PR objc/47232 | |
2934 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
2935 | error message. | |
2936 | ||
1ba6516f KT |
2937 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
2938 | ||
2939 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
2940 | to switch back to function's section. | |
2941 | ||
0c5d770e IS |
2942 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
2943 | ||
2944 | PR gcc/46902 | |
2945 | PR testsuite/46912 | |
2946 | * plugin.c: Move include of dlfcn.h from here... | |
2947 | * system.h: ... to here. | |
2948 | ||
2949 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
2950 | |
2951 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
2952 | file name. | |
2953 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
2954 | two extra empty pages in PDF output. | |
2955 | ||
046608a3 NP |
2956 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
2957 | ||
2958 | PR objc/47078 | |
2959 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
2960 | for error recovery purposes behave as if it was not specified so | |
2961 | that the default type is usd. | |
2962 | ||
8cb114b9 JH |
2963 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
2964 | ||
2965 | PR tree-optmization/46469 | |
2966 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
2967 | nodes with external decls; handle weakrefs merging correctly. | |
2968 | ||
b294a75e JM |
2969 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
2970 | ||
2971 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
2972 | not false. | |
2973 | ||
96bdf9b4 JH |
2974 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
2975 | ||
2976 | * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults | |
2977 | and no longer claim that gold is required for linker plugin. | |
2978 | * configure: Regenerate. | |
2979 | * gcc.c (PLUGIN_COND): New macro. | |
2980 | (LINK_COMMAND_SPEC): Use it. | |
2981 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
2982 | * config.in (HAVE_LTO_PLUGIN): New. | |
2983 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
2984 | HAVE_LTO_PLUGIN. | |
2985 | ||
17afc0fe JH |
2986 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
2987 | ||
2988 | PR tree-optimization/46367 | |
2989 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
2990 | when we can update original. | |
2991 | (cgraph_mark_inline_edge): Sanity check. | |
2992 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
2993 | ||
d4c48c0f UW |
2994 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2995 | ||
2996 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
2997 | ||
96f5b137 L |
2998 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
2999 | ||
3000 | PR driver/42445 | |
3001 | * gcc.c (%>S): New. | |
3002 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
3003 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
3004 | (do_spec_1): Handle "%>". | |
3005 | ||
3006 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
3007 | ||
c6a8f6de JJ |
3008 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
3009 | ||
c21bbd7a JJ |
3010 | PR target/47201 |
3011 | * config/i386/i386.c (ix86_delegitimize_address): If | |
3012 | simplify_gen_subreg fails, return orig_x. | |
3013 | ||
c6a8f6de JJ |
3014 | PR bootstrap/47187 |
3015 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
3016 | lhs of the call properly. | |
3017 | ||
fe95fbf9 JH |
3018 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
3019 | ||
3020 | PR lto/45375 | |
3021 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
3022 | ||
14d11d40 IS |
3023 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
3024 | ||
72e961c8 EB |
3025 | * target.def (function_switched_text_sections): New hook. |
3026 | * doc/tm.texi: Regenerated. | |
3027 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 3028 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
3029 | (final_scan_insn): Call function_switched_text_sections when a |
3030 | mid-function section change occurs. | |
14d11d40 | 3031 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
3032 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
3033 | Likewise. | |
14d11d40 | 3034 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 3035 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 3036 | |
0b764288 IS |
3037 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
3038 | ||
3039 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
3040 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
3041 | the secondary code fragment when outputting for DWARF == 2. | |
3042 | ||
2ac6bb04 AS |
3043 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
3044 | ||
3045 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
3046 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
3047 | Remove. | |
3048 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
3049 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
3050 | ||
9f82de11 EB |
3051 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
3052 | ||
3053 | PR debug/46704 | |
280d9630 EB |
3054 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
3055 | when it is not empty. | |
9f82de11 EB |
3056 | |
3057 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 3058 | |
1ed72abf | 3059 | Bobcat Enablement |
14b52538 | 3060 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 3061 | (case ${target}): Add btver1. |
14b52538 | 3062 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 3063 | -march=native recognize btver1 processors. |
14b52538 | 3064 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 3065 | btver1 def_and_undef |
14b52538 | 3066 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
3067 | btver1 cost table. |
3068 | (m_BTVER1): New definition. | |
3069 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
3070 | (initial_ix86_tune_features): Add btver1 tune. | |
3071 | (processor_target_table): Add btver1 entry. | |
3072 | (static const char *const cpu_names): Add btver1 entry. | |
3073 | (software_prefetching_beneficial_p): Add btver1. | |
3074 | (ix86_option_override_internal): Add btver1 instruction sets. | |
3075 | (ix86_issue_rate): Add btver1. | |
3076 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 3077 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
3078 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
3079 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
3080 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
3081 | ||
e1a973d8 RO |
3082 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3083 | ||
3084 | PR target/43309 | |
3085 | * config/i386/i386.c (legitimize_tls_address) | |
3086 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
3087 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
3088 | (tls_initial_exec_64_sun): New pattern. | |
3089 | ||
c73f67c5 GP |
3090 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
3091 | ||
3092 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
3093 | of the description of -wrapper. | |
3094 | ||
bc4c6f9c JM |
3095 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
3096 | ||
3097 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
3098 | rdynamic, threads): New Driver options. | |
3099 | ||
adb75db0 RO |
3100 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3101 | ||
3102 | PR target/38118 | |
3103 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
3104 | if coming from .tdata. | |
3105 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
3106 | ||
402c1cb4 JH |
3107 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
3108 | ||
3109 | PR lto/47188 | |
3110 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
3111 | ||
a4da6485 RO |
3112 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3113 | ||
3114 | PR other/45915 | |
3115 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
3116 | --version output if supported. | |
3117 | * configure: Regenerate. | |
3118 | ||
028dbdf4 JM |
3119 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
3120 | ||
3121 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
3122 | Driver options. | |
3123 | ||
dfe776dd JJ |
3124 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
3125 | ||
3126 | PR c/47150 | |
3127 | * c-convert.c (convert): When converting a complex expression | |
3128 | other than COMPLEX_EXPR to a different complex type, ensure | |
3129 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
3130 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
3131 | when converting COMPLEX_TYPE. | |
3132 | ||
210dedfe IR |
3133 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
3134 | ||
3135 | PR tree-optimization/47139 | |
3136 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
3137 | only the last reduction value is used outside the loop. Update | |
3138 | documentation. | |
3139 | ||
cd33a412 JM |
3140 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
3141 | ||
3142 | * config/rtems.opt: New. | |
3143 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
3144 | ||
819edd94 CF |
3145 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
3146 | ||
3147 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
3148 | processors do not support 3DNow instructions. | |
3149 | ||
dc242c4a UW |
3150 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3151 | ||
3152 | * config/spu/spu.c (spu_option_override): Set parameter | |
3153 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
3154 | ||
be286227 JH |
3155 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
3156 | ||
3157 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
3158 | at the command line. | |
3159 | ||
644e637f MJ |
3160 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
3161 | ||
3162 | PR lto/47162 | |
3163 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
3164 | deltas on streamed outgoing edges. | |
3165 | (output_node_opt_summary): Output info for outgoing edges only when | |
3166 | the node is in new parameter set. | |
3167 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
3168 | aforementioned functions. Update its forward declaration and its | |
3169 | callee too. | |
3170 | ||
7bd11157 TT |
3171 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
3172 | ||
3173 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
3174 | operator to c_finish_omp_atomic. | |
3175 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
3176 | (build_unary_op): Update. | |
3177 | (build_modify_expr): Update. | |
3178 | (build_asm_expr): Update. | |
3179 | ||
f626b979 UW |
3180 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3181 | ||
3182 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
3183 | newly inserted insns. | |
3184 | (pad_bb): Likewise. | |
3185 | (spu_emit_branch_hint): Likewise. | |
3186 | (insert_hbrp_for_ilb_runout): Likewise. | |
3187 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
3188 | schedule_insns returns. | |
3189 | ||
4c825c02 UW |
3190 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3191 | ||
3192 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
3193 | ||
5e9fba51 EB |
3194 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
3195 | ||
3196 | PR tree-optimization/47005 | |
3197 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
3198 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
3199 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
3200 | reference and one of the accesses in the group is non_addressable. | |
3201 | ||
3ebb5ca6 EB |
3202 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
3203 | ||
3204 | PR tree-optimization/47056 | |
3205 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
3206 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
3207 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
3208 | ||
d5d4d14e EB |
3209 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
3210 | ||
3211 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
3212 | initializer. Skip view conversions from aggregate types. | |
3213 | ||
d996ef70 KT |
3214 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
3215 | ||
3216 | PR bootstrap/47055 | |
3217 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
3218 | ||
017096ca PT |
3219 | 2011-01-04 Philipp Thomas <pth@suse.de> |
3220 | ||
3221 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
3222 | obvious typo. | |
3223 | ||
55c623b5 UW |
3224 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3225 | ||
3226 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
3227 | on empty epilogue sequences. | |
3228 | ||
b98d6b35 JM |
3229 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
3230 | ||
3231 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
3232 | non-static): New Driver options. | |
3233 | ||
a0d43bac JZ |
3234 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
3235 | ||
3236 | PR driver/47137 | |
3237 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
3238 | for all assembly languages. | |
3239 | ||
2b18eb32 MX |
3240 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
3241 | ||
3242 | * config/mips/loongson3a.md: New file. | |
3243 | * config/mips/mips.md: Include loongson3a.md. | |
3244 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
3245 | TUNE_LOONGSON_3A. | |
3246 | ||
42a48c4f EB |
3247 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
3248 | ||
3249 | PR middle-end/47017 | |
3250 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
3251 | instead of convert_memory_address_addr_space on the base expression. | |
3252 | ||
9c1732c4 UW |
3253 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3254 | ||
3255 | * config/spu/spu.c (spu_option_override): Update error text | |
3256 | for bad -march= / -mtune= values. | |
3257 | ||
aa474365 UW |
3258 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3259 | ||
3260 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
3261 | if branch-hint optimization will be performed. | |
3262 | ||
9766135b JJ |
3263 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
3264 | ||
371556ee JJ |
3265 | PR tree-optimization/47148 |
3266 | * ipa-split.c (split_function): Convert arguments to | |
3267 | DECL_ARG_TYPE if possible. | |
3268 | ||
1ac12fa2 JJ |
3269 | PR tree-optimization/47155 |
3270 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
3271 | when computing uns. | |
3272 | ||
9766135b JJ |
3273 | PR rtl-optimization/47157 |
3274 | * combine.c (try_combine): If undobuf.other_insn becomes | |
3275 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
3276 | and set *new_direct_jump_p too. | |
3277 | ||
f4a2e571 SP |
3278 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
3279 | ||
3280 | PR tree-optimization/47021 | |
3281 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
3282 | ||
9f8e43c0 JJ |
3283 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
3284 | ||
3285 | * gcc.c (process_command): Update copyright notice dates. | |
3286 | * gcov.c (print_version): Likewise. | |
3287 | * gcov-dump.c (print_version): Likewise. | |
3288 | * mips-tfile.c (main): Likewise. | |
3289 | * mips-tdump.c (main): Likewise. | |
3290 | ||
1a2e38f3 MJ |
3291 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
3292 | ||
3293 | PR tree-optimization/46801 | |
3294 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
3295 | aggregate fields start at byte boundary instead of the bit-field flag. | |
3296 | ||
56b721c5 L |
3297 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
3298 | ||
3299 | PR driver/47137 | |
3300 | * gcc.c (main): Revert revision 168407. | |
3301 | ||
839d549b MJ |
3302 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
3303 | ||
3304 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
3305 | ||
4ce99a20 | 3306 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
3307 | |
3308 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
3309 | vector optab to expand vector/scalar shift, update gimple to vector. | |
3310 | ||
76df0ae6 MJ |
3311 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
3312 | ||
3313 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
3314 | a thunk. | |
3315 | ||
ce47fda3 MJ |
3316 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
3317 | ||
3318 | PR tree-optimization/46984 | |
3319 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
3320 | HOST_WIDE_INT. | |
3321 | (cgraph_create_indirect_edge): Fixed line length. | |
3322 | (cgraph_indirect_call_info): Declare. | |
3323 | (cgraph_make_edge_direct) Update declaration. | |
3324 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
3325 | (cgraph_create_indirect_edge): Use it. | |
3326 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
3327 | callees. | |
3328 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
3329 | the new thunk_delta representation. | |
3330 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
3331 | HOST_WIDE_INT. | |
3332 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
3333 | (ipa_read_indirect_edge_info): Likewise. | |
3334 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
3335 | (output_node_opt_summary): Call it on all outgoing edges. | |
3336 | (input_edge_opt_summary): New function. | |
3337 | (input_node_opt_summary): Call it on all outgoing edges. | |
3338 | ||
1e67fa1f L |
3339 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
3340 | ||
3341 | PR driver/47137 | |
3342 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
3343 | ||
6656b2ac EB |
3344 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
3345 | ||
3346 | * regrename.c: Add general comment describing the pass. | |
3347 | (struct du_head): Remove 'length' field. | |
3348 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
3349 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
3350 | Force renaming to the preferred class (if any) in the first pass and do | |
3351 | not consider registers that belong to it in the second pass. | |
3352 | (create_new_chain): Do not set 'length' field. | |
3353 | (scan_rtx_reg): Likewise. | |
3354 | ||
bc470c24 JJ |
3355 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
3356 | ||
4e996296 JJ |
3357 | PR tree-optimization/47140 |
3358 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
3359 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
3360 | to bit_value_binop. | |
3361 | ||
bc470c24 | 3362 | PR rtl-optimization/47028 |
6656b2ac EB |
3363 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
3364 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 3365 | |
5af62fcd | 3366 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
3367 | |
3368 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
3369 | Remove the word "see" before "@pxref". | |
3370 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
3371 | ||
0e20c89f JH |
3372 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
3373 | ||
6656b2ac EB |
3374 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
3375 | memory. | |
0e20c89f | 3376 | |
220e83ca KT |
3377 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
3378 | ||
3379 | PR target/38662 | |
6656b2ac | 3380 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 3381 | |
ad41bd84 | 3382 | \f |
797103eb | 3383 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
3384 | |
3385 | Copying and distribution of this file, with or without modification, | |
3386 | are permitted in any medium without royalty provided the copyright | |
3387 | notice and this notice are preserved. |