]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/ChangeLog
configure.ac (gcc_cv_ld_static_option): Define.
[thirdparty/gcc.git] / gcc / ChangeLog
1 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2
3 * configure.ac (gcc_cv_ld_static_option): Define.
4 (gcc_cv_ld_dynamic_option): Define.
5 (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
6 instead.
7 (HAVE_LD_STATIC_DYNAMIC): Update message.
8 (LD_STATIC_OPTION): Define.
9 (LD_DYNAMIC_OPTION): Define.
10 * configure: Regenerate.
11 * config.in: Regenerate.
12 * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
13 HAVE_LD_STATIC_DYNAMIC]: Use them.
14
15 2011-01-31 Nick Clifton <nickc@redhat.com>
16
17 * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered
18 registers inside interrupt handlers if the handler is not a leaf
19 function.
20
21 2011-01-31 Nick Clifton <nickc@redhat.com>
22
23 * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
24 reg_renumber returning an INVALID_REGNUM.
25
26 2011-01-31 Alexandre Oliva <aoliva@redhat.com>
27
28 PR libgcj/44341
29 * doc/install.texi: Document host options discarded when cross
30 configuring target libraries.
31
32 2011-01-31 Alexandre Oliva <aoliva@redhat.com>
33
34 Reverted:
35 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
36 PR debug/45136
37 PR debug/45130
38 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
39 debug insns.
40 (no_real_insns_p, schedule_block, set_priorities): Drop special
41 treatment of boundary debug insns.
42 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
43 insns.
44 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
45 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
46 (BOUNDARY_DEBUG_INSN_P): Likewise.
47 (SCHEDULE_DEBUG_INSN_P): Likewise.
48 * sched-rgn.c (init_ready_list): Drop special treatment of
49 boundary debug insns.
50 * final.c (rest_of_clean-state): Clear notes' BB.
51
52 2011-01-31 Alan Modra <amodra@gmail.com>
53
54 * config/rs6000/rs6000.c (print_operand): Rearrange addends in
55 toc relative expressions as we do in print_operand_address.
56
57 2011-01-30 Kazu Hirata <kazu@codesourcery.com>
58
59 * doc/extend.texi: Follow spelling conventions.
60 * doc/invoke.texi: Fix a typo.
61
62 2011-01-30 Joseph Myers <joseph@codesourcery.com>
63
64 * config/hpux11.opt: New.
65 * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
66 ia64*-*-hpux*): Use hpux11.opt.
67
68 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net>
69
70 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
71 to tmake_file.
72
73 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
74
75 * doc/install.texi (hppa-hp-hpux10): Remove references to HP
76 support sites.
77
78 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
79
80 * doc/install.texi (Binaries): Remove outdated reference for
81 Motorola 68HC11/68HC12 downloads.
82
83 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
84
85 * doc/extend.texi (Thread-Local): Adjust reference to Ulrich
86 Drepper's paper.
87
88 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
89
90 PR bootstrap/47147
91 * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
92 used by NetBSD.
93
94 2011-01-28 Ahmad Sharif <asharif@google.com>
95
96 * value-prof.c (check_counter): Corrected error message.
97
98 2011-01-29 Jie Zhang <jie@codesourcery.com>
99
100 * config/arm/arm.c (arm_legitimize_reload_address): New.
101 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
102 arm_legitimize_reload_address.
103 * config/arm/arm-protos.h (arm_legitimize_reload_address):
104 Declare.
105
106 2011-01-28 Ian Lance Taylor <iant@google.com>
107
108 * godump.c (go_define): Ignore macros whose definitions include
109 two adjacent operands.
110
111 2011-01-28 Jakub Jelinek <jakub@redhat.com>
112
113 PR target/42894
114 * varasm.c (force_const_mem): Store copy of x in desc->constant
115 instead of x itself.
116 * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
117 itself into REG_EQUAL note.
118
119 2011-01-28 Joseph Myers <joseph@codesourcery.com>
120
121 * config/freebsd.opt (posix, rdynamic): New Driver options.
122
123 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
124
125 * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports
126 -Bstatic/-Bdynamic.
127 * configure: Regenerate.
128
129 2011-01-27 Joseph Myers <joseph@codesourcery.com>
130
131 * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.
132 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile.
133
134 2011-01-27 Anatoly Sokolov <aesok@post.ru>
135
136 * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove.
137 * config/s390/s390-protos.h (s390_preferred_reload_class): Remove.
138 * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
139 (s390_preferred_reload_class): Make static. Change return and
140 'rclass' argument type to reg_class_t.
141
142 2011-01-27 Jan Hubicka <jh@suse.cz>
143
144 PR middle-end/46949
145 * cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
146 (process_function_and_variable_attributes): Check defined weakrefs.
147
148 2011-01-27 Martin Jambor <mjambor@suse.cz>
149
150 PR tree-optimization/47228
151 * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
152 build_ref_for_offset.
153
154 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
155
156 * config/spu/spu-elf.h (ASM_SPEC): Remove.
157
158 2011-01-26 Mikael Pettersson <mikpe@it.uu.se>
159
160 PR rtl-optimization/46856
161 * postreload.c (reload_combine_recognize_const_pattern): Do not
162 separate cc0 setter and user on cc0 targets.
163
164 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com>
165
166 PR c/43082
167 * c-typeck.c (c_objc_common_truthvalue_conversion): If we are
168 passed a VOID_TYPE expression, immediately emit an error and
169 return error_mark_node.
170
171 2011-01-26 Jeff Law <law@redhat.com>
172
173 PR rtl-optimization/47464
174 * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
175 rather than may_trap_p as needed.
176
177 2011-01-26 DJ Delorie <dj@redhat.com>
178
179 PR rtl-optimization/46878
180 * combine.c (insn_a_feeds_b): Check for the implicit cc0
181 setter/user dependency as well.
182
183 2011-01-26 Eric Botcazou <ebotcazou@adacore.com>
184
185 PR rtl-optimization/44469
186 * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
187 after removing trivially dead basic blocks.
188
189 2011-01-26 Joseph Myers <joseph@codesourcery.com>
190
191 * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.
192 * config/frv/frv.h (LINK_SPEC): Likewise.
193 * config/i386/netware.h (LINK_SPEC): Likewise.
194 * config/m68k/linux.h (ASM_SPEC): Likewise.
195 * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
196 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
197 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
198 * config/sparc/linux.h (ASM_SPEC): Likewise.
199 * config/sparc/linux64.h (ASM_SPEC): Likewise.
200 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
201
202 2011-01-26 Joseph Myers <joseph@codesourcery.com>
203
204 * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}.
205 * config/frv/frv.h (ASM_SPEC): Likewise.
206 * config/m68k/linux.h (ASM_SPEC): Likewise.
207 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
208 * config/rs6000/linux64.h (ASM_SPEC): Likewise.
209 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
210 * config/sparc/linux.h (ASM_SPEC): Likewise.
211 * config/sparc/linux64.h (ASM_SPEC): Likewise.
212 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
213
214 2011-01-26 Joseph Myers <joseph@codesourcery.com>
215
216 * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}.
217 * config/frv/frv.h (LINK_SPEC): Likewise.
218 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
219
220 2011-01-26 Joseph Myers <joseph@codesourcery.com>
221
222 * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}.
223 * config/frv/frv.h (ASM_SPEC): Likewise.
224 * config/i386/sol2-10.h (ASM_SPEC): Likewise.
225 * config/m68k/linux.h (ASM_SPEC): Likewise.
226 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
227 * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
228 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
229 * config/sol2.h (ASM_SPEC): Remove comment about -Yd,.
230 * config/sparc/linux.h (ASM_SPEC): Likewise.
231 * config/sparc/linux64.h (ASM_SPEC): Likewise.
232 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
233 * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}.
234
235 2011-01-26 Steve Ellcey <sje@cup.hp.com>
236
237 PR target/46997
238 * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
239 (*mux2): Ditto.
240 (vec_extract_evenodd_help): Ditto.
241 (vec_extract_evenv4hi): Ditto.
242 (vec_extract_oddv4hi): Ditto.
243 (vec_interleave_lowv2si): Ditto.
244 (vec_interleave_highv2si): Ditto.
245 (vec_extract_evenv2si): Ditto.
246 (vec_extract_oddv2si: Ditto.
247 (vec_pack_trunc_v2si): Ditto.
248
249 2011-01-22 Jan Hubicka <jh@suse.cz>
250
251 PR target/47237
252 * cgraph.h (cgraph_local_info): New field can_change_signature.
253 * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
254 signature can change.
255 (ipcp_estimate_growth): Call sequence simplify only if calle signature
256 can change.
257 (ipcp_insert_stage): Only compute args_to_skip if signature can change.
258 (cgraph_function_versioning): We can not change signature of functions
259 that don't allow that.
260 * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
261 (lto_input_node): Likewise.
262 * ipa-inline.c (compute_inline_parameters): Compute local.can_change_signature.
263 * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
264 * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
265 that can not change signature.
266 * i386.c (ix86_function_regparm, ix86_function_sseregparm,
267 init_cumulative_args): Do not use local calling conventions for functions
268 that can not change signature.
269
270 2011-01-22 Jan Hubicka <jh@suse.cz>
271
272 * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
273
274 2011-01-26 Richard Guenther <rguenther@suse.de>
275
276 PR tree-optimization/47190
277 * cgraphunit.c (process_common_attributes): New function.
278 (process_function_and_variable_attributes): Use it.
279
280 2011-01-26 Richard Guenther <rguenther@suse.de>
281
282 PR lto/47423
283 * cgraphbuild.c (record_eh_tables): Record reference to personality
284 function.
285
286 2011-01-26 Alexandre Oliva <aoliva@redhat.com>
287
288 PR debug/45454
289 * sel-sched.c (moveup_expr): Don't let debug insns prevent
290 non-debug insns from moving up.
291
292 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
293
294 PR target/40125
295 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
296 t-dlldir{,-x} fragment for build and add it to tmake_file.
297 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
298 * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
299 * config/i386/t-dlldir: New file.
300 (SHLIB_DLLDIR): Define.
301 * config/i386/t-dlldir-x: New file.
302 (SHLIB_DLLDIR): Define.
303 * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
304 (SHLIB_INSTALL): Use it.
305
306 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com>
307
308 PR target/47246
309 * config/arm/arm.c (thumb2_legitimate_index_p): Change the
310 lower bound of the allowed Thumb-2 coprocessor load/store
311 index range to -256. Add explaining comment.
312
313 2011-01-25 Ian Lance Taylor <iant@google.com>
314
315 * godump.c (go_define): Improve lexing of macro expansion to only
316 accept expressions which match Go spec.
317
318 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
319
320 PR c++/43601
321 * tree.c (handle_dll_attribute): Handle it.
322 * doc/extend.texi (@item dllexport): Mention it.
323 * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.
324
325 2011-01-25 Ian Lance Taylor <iant@google.com>
326
327 PR tree-optimization/26854
328 * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
329 (decl_jump_unsafe): Move higher in file, with no other change.
330 (bind): Set has_jump_unsafe_decl if appropriate.
331 (update_label_decls): Test has_jump_unsafe_decl to avoid loop.
332 (check_earlier_gotos): Likewise.
333 (c_check_switch_jump_warnings): Likewise.
334
335 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com>
336
337 * doc/invoke.texi (Warning Options): Add missing hyphen.
338 (-fprofile-dir): Minor grammatical fixes.
339 (-fbranch-probabilities): Likewise.
340
341 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
342
343 PR debug/45136
344 PR debug/45130
345 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
346 debug insns.
347 (no_real_insns_p, schedule_block, set_priorities): Drop special
348 treatment of boundary debug insns.
349 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
350 insns.
351 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
352 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
353 (BOUNDARY_DEBUG_INSN_P): Likewise.
354 (SCHEDULE_DEBUG_INSN_P): Likewise.
355 * sched-rgn.c (init_ready_list): Drop special treatment of
356 boundary debug insns.
357 * final.c (rest_of_clean-state): Clear notes' BB.
358
359 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
360
361 * Makefile.in (LAMBDA_H): Removed.
362 (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
363 (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
364 lambda-trans.o, and tree-loop-linear.o.
365 (lto-symtab.o): Remove dependence on LAMBDA_H.
366 (tree-loop-linear.o): Remove rule.
367 (lambda-mat.o): Same.
368 (lambda-trans.o): Same.
369 (lambda-code.o): Same.
370 (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
371 (tree-vect-slp.o): Same.
372 * hwint.h (gcd): Moved here.
373 (least_common_multiple): Same.
374 * lambda-code.c: Removed.
375 * lambda-mat.c: Removed.
376 * lambda-trans.c: Removed.
377 * lambda.h: Removed.
378 * tree-loop-linear.c: Removed.
379 * lto-symtab.c: Do not include lambda.h.
380 * omega.c (gcd): Removed.
381 * passes.c (init_optimization_passes): Remove pass_linear_transform.
382 * tree-data-ref.c (print_lambda_vector): Moved here.
383 (lambda_vector_copy): Same.
384 (lambda_matrix_copy): Same.
385 (lambda_matrix_id): Same.
386 (lambda_vector_first_nz): Same.
387 (lambda_matrix_row_add): Same.
388 (lambda_matrix_row_exchange): Same.
389 (lambda_vector_mult_const): Same.
390 (lambda_vector_negate): Same.
391 (lambda_matrix_row_negate): Same.
392 (lambda_vector_equal): Same.
393 (lambda_matrix_right_hermite): Same.
394 * tree-data-ref.h: Do not include lambda.h.
395 (lambda_vector): Moved here.
396 (lambda_matrix): Same.
397 (dependence_level): Same.
398 (lambda_transform_legal_p): Removed declaration.
399 (lambda_collect_parameters): Same.
400 (lambda_compute_access_matrices): Same.
401 (lambda_vector_gcd): Same.
402 (lambda_vector_new): Same.
403 (lambda_vector_clear): Same.
404 (lambda_vector_lexico_pos): Same.
405 (lambda_vector_zerop): Same.
406 (lambda_matrix_new): Same.
407 * tree-flow.h (least_common_multiple): Removed declaration.
408 * tree-parloops.c (lambda_trans_matrix): Moved here.
409 (LTM_MATRIX): Same.
410 (LTM_ROWSIZE): Same.
411 (LTM_COLSIZE): Same.
412 (LTM_DENOMINATOR): Same.
413 (lambda_trans_matrix_new): Same.
414 (lambda_matrix_vector_mult): Same.
415 (lambda_transform_legal_p): Same.
416 * tree-pass.h (pass_linear_transform): Removed declaration.
417 * tree-ssa-loop.c (tree_linear_transform): Removed.
418 (gate_tree_linear_transform): Removed.
419 (pass_linear_transform): Removed.
420 (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
421 flag_loop_interchange.
422
423 2011-01-25 Jakub Jelinek <jakub@redhat.com>
424
425 PR tree-optimization/47265
426 PR tree-optimization/47443
427 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
428 if name still has some uses.
429
430 2011-01-25 Martin Jambor <mjambor@suse.cz>
431
432 PR tree-optimization/47382
433 * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
434 (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
435
436 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
437
438 * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
439 sjlj_except_unwind_info.
440
441 2011-01-25 Richard Guenther <rguenther@suse.de>
442
443 PR tree-optimization/47426
444 * tree-ssa-structalias.c (ipa_pta_execute): Make externally
445 visible functions results escape.
446
447 2011-01-25 Jakub Jelinek <jakub@redhat.com>
448
449 PR target/45701
450 * config/arm/arm.c (any_sibcall_uses_r3): New function.
451 (arm_get_frame_offsets): Use it.
452
453 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
454 Jakub Jelinek <jakub@redhat.com>
455
456 PR tree-optimization/47271
457 * tree-if-conv.c (bb_postdominates_preds): New.
458 (if_convertible_bb_p): Call bb_postdominates_preds.
459 (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
460 (predicate_scalar_phi): Call bb_postdominates_preds.
461
462 2011-01-25 Nick Clifton <nickc@redhat.com>
463
464 * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
465 * config/rx/rx.c (rx_function_value): Likewise.
466 (rx_promote_function_mode): Likewise.
467 (gen_safe_add): Place an outsized immediate value inside an UNSPEC
468 in order to make it legitimate.
469 * config/rx/rx.md (adddi3_internal): If the second operand is a
470 MEM make sure that the first operand is the same as the result
471 register.
472 (addsi3_unspec): Delete.
473 (subdi3): Do not accept immediate operands.
474 (subdi3_internal): Likewise.
475
476 2011-01-25 Jeff Law <law@redhat.com>
477
478 PR rtl-optimization/37273
479 * ira-costs.c (scan_one_insn): Detect constants living in memory and
480 handle them like argument loads from stack slots. Do not double
481 count memory for memory constants and argument loads from stack slots.
482
483 2011-01-25 Jakub Jelinek <jakub@redhat.com>
484
485 PR tree-optimization/47427
486 PR tree-optimization/47428
487 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
488 coalesce if the new root var would be TREE_READONLY.
489
490 2011-01-25 Richard Guenther <rguenther@suse.de>
491
492 PR middle-end/47414
493 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
494 correct type for TBAA.
495
496 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
497
498 * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
499 (close_phi_written_to_memory): Call for_each_index with
500 dr_indices_valid_in_loop.
501
502 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
503
504 * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
505 when it is initialized.
506
507 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
508
509 * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
510 call to graphite_find_data_references_in_stmt.
511 * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
512 (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update
513 call to graphite_find_data_references_in_stmt.
514 (analyze_drs_in_stmts): Same.
515 * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
516 in which the scalar analysis of indices is performed.
517 (create_data_ref): Same. Update call to dr_analyze_indices.
518 (find_data_references_in_stmt): Update call to create_data_ref.
519 (graphite_find_data_references_in_stmt): Same.
520 * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
521 declaration.
522 (create_data_ref): Same.
523 * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
524 call to create_data_ref.
525
526 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
527
528 * graphite-sese-to-poly.c (build_poly_scop): Move
529 rewrite_commutative_reductions_out_of_ssa before
530 find_scop_parameters.
531
532 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
533
534 * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
535 VAR_DECL, PARM_DECL, and RESULT_DECL.
536
537 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
538
539 * graphite-dependences.c (reduction_dr_1): Allow several reductions
540 in a reduction PBB.
541 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
542 that have already been marked as PBB_IS_REDUCTION.
543
544 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
545
546 * graphite-scop-detection.c (same_close_phi_node): New.
547 (remove_duplicate_close_phi): New.
548 (make_close_phi_nodes_unique): New.
549 (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
550
551 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
552
553 * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
554 * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
555 of both data references to be the same.
556
557 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
558
559 * graphite-dependences.c (build_lexicographical_constraint): Remove the
560 gdim parameter.
561 (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty.
562 (dependence_polyhedron): Same.
563 (graphite_legal_transform_dr): Same.
564 (graphite_carried_dependence_level_k): Same.
565 * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter.
566 * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
567
568 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
569
570 * graphite-sese-to-poly.c
571 (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
572 (close_phi_written_to_memory): New.
573 (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
574 and unshare_expr.
575
576 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
577
578 * doc/install.texi: Update the expected version number of PPL to 0.11.
579 * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
580 #if PPL_VERSION_MINOR < 11.
581
582 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
583
584 * graphite-dependences.c: Include graphite-cloog-util.h.
585 (new_poly_ddr): Inlined into dependence_polyhedron.
586 (free_poly_ddr): Moved close by new_poly_ddr.
587 (dependence_polyhedron_1): Renamed dependence_polyhedron.
588 Early return NULL when ppl_powerset_is_empty returns true.
589 (dependence_polyhedron): Renamed new_poly_ddr. Call only once
590 poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty.
591 (graphite_legal_transform_dr): Call new_poly_ddr.
592 (graphite_carried_dependence_level_k): Same.
593 (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr.
594 (dot_transformed_deps_stmt_1): Removed.
595 (dot_deps_stmt_1): Call dot_deps_stmt_2.
596 (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr.
597 (dot_deps_1): Call dot_deps_2.
598 * Makefile.in (graphite-dependences.o): Add missing dependence on
599 graphite-cloog-util.h.
600
601 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
602
603 * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
604 (build_lexicographical_constraint): Same.
605 (dependence_polyhedron_1): Same.
606 (graphite_legal_transform_dr): Same.
607 (graphite_carried_dependence_level_k): Same.
608 * graphite-ppl.c (ppl_powerset_is_empty): New.
609 * graphite-ppl.h (ppl_powerset_is_empty): Declared.
610 * tree-data-ref.c (dump_data_reference): Print the basic block index.
611
612 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
613
614 * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
615 the "a followed by b" relation and document it.
616
617 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
618
619 * graphite-dependences.c (build_lexicographical_constraint): Stop the
620 iteration when the bag of constraints is empty.
621
622 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
623
624 * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
625
626 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
627
628 * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
629 nest and two loop depths as parameters.
630 (lst_try_interchange_loops): Call lst_interchange_profitable_p after
631 lst_perfect_nestify.
632
633 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
634
635 * graphite-dependences.c (print_pddr): Call
636 ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
637
638 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
639
640 * graphite-ppl.c (debug_gmp_value): New.
641 * graphite-ppl.h (debug_gmp_value): Declared.
642
643 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de>
644
645 * doc/install.texi: Document availability of cloog-0.16.
646
647 2011-01-25 Vladimir Kargov <kargov@gmail.com>
648
649 * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
650 invalid postdominance info.
651
652 2011-01-24 Jan Hubicka <jh@suse.cz>
653
654 PR c/21659
655 * doc/extend.texi (weak pragma): Drop claim that it must
656 appear before definition.
657 * varasm.c (merge_weak, declare_weak): Only sanity check
658 that DECL is not output at a time it is declared weak.
659
660 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com>
661
662 * machmode.def: Fixed comments.
663
664 2011-01-24 Kai Tietz <kai.tietz@onevision.com>
665
666 * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
667
668 2011-01-24 Paul Koning <ni1d@arrl.net>
669
670 * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
671 WORDS_BIG_ENDIAN.
672
673 2011-01-24 H.J. Lu <hongjiu.lu@intel.com>
674
675 PR target/46519
676 * config/i386/i386.c: Include sbitmap.h and fibheap.h.
677 (block_info): Add scanned and prev.
678 (move_or_delete_vzeroupper_2): Return if the basic block
679 has been scanned and the upper 128bit state is unchanged
680 from the last scan.
681 (move_or_delete_vzeroupper_1): Return true if the exit
682 state is changed.
683 (move_or_delete_vzeroupper): Visit basic blocks using the
684 work-list based algorithm based on vt_find_locations in
685 var-tracking.c.
686
687 * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
688
689 2011-01-24 Nick Clifton <nickc@redhat.com>
690
691 * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
692 * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
693 -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified
694 then define __v850e1__.
695 * doc/invoke.texi: Document -mv850es.
696
697 2011-01-24 Richard Henderson <rth@redhat.com>
698
699 * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
700 compound unordered comparisons.
701 * config/rx/rx.c (rx_split_fp_compare): Remove.
702 * config/rx/rx-protos.h: Update.
703 * config/rx/rx.md (gcc_conds, rx_conds): Remove.
704 (cbranchsf4): Don't call rx_split_fp_compare.
705 (*cbranchsf4): Use rx_split_cbranch.
706 (*cmpsf): Don't accept "i" constraint.
707 (*conditional_branch): Only valid after reload.
708 (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare.
709
710 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com>
711
712 PR target/47385
713 * config/rs6000/altivec.md (vector constant splitters): Add
714 support for creating vector single precision constants if -mvsx is
715 used and we would create the constant using Altivec primitives.
716
717 2011-01-23 Bernd Schmidt <bernds@codesourcery.com>
718 Richard Sandiford <rdsandiford@googlemail.com>
719
720 PR rtl-optimization/47166
721 * reload1.c (emit_reload_insns): Disable the spill_reg_store
722 mechanism for PRE_MODIFY and POST_MODIFY.
723 (inc_for_reload): For PRE_MODIFY, return the insn that sets the
724 reloadreg.
725
726 2011-01-23 Andreas Schwab <schwab@linux-m68k.org>
727
728 * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
729
730 2011-01-22 Jan Hubicka <jh@suse.cz>
731
732 PR lto/47333
733 * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
734
735 2011-01-22 Jan Hubicka <jh@suse.cz>
736
737 PR tree-optimization/43884
738 PR lto/44334
739 * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
740 * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
741
742 2011-01-22 Anatoly Sokolov <aesok@post.ru>
743
744 * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
745 * config/s390/s390.c (s390_register_move_cost,
746 s390_memory_move_cost): New.
747 (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
748
749 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
750
751 PR middle-end/47401
752 * except.c (sjlj_assign_call_site_values): Move setting the
753 crtl->uses_eh_lsda flag to ...
754 (sjlj_mark_call_sites): ... here.
755 (sjlj_emit_function_enter): Support NULL dispatch label.
756 (sjlj_build_landing_pads): In a function with no landing pads
757 that still has must-not-throw regions, generate code to register
758 a personality function with empty LSDA.
759
760 2011-01-21 Richard Henderson <rth@redhat.com>
761
762 * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
763
764 * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
765
766 * compare-elim.c: New file.
767 * Makefile.in (OBJS-common): Add it.
768 (compare-elim.o): New.
769 * common.opt (fcompare-elim): New.
770 * opts.c (default_options_table): Add OPT_fcompare_elim.
771 * tree-pass.h (pass_compare_elim_after_reload): New.
772 * passes.c (init_optimization_passes): Add it.
773 * recog.h: Protect against re-inclusion.
774 * target.def (TARGET_FLAGS_REGNUM): New POD hook.
775 * doc/invoke.texi (-fcompare-elim): Document it.
776 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
777 * doc/tm.texi: Rebuild.
778
779 2011-01-22 Nick Clifton <nickc@redhat.com>
780
781 * config/rx/rx.md (cstoresf4): Pass comparison operator to
782 rx_split_fp_compare.
783
784 2011-01-22 Nick Clifton <nickc@redhat.com>
785
786 * config/rx/rx.md (UNSPEC_CONST): New.
787 (deallocate_and_return): Wrap the amount popped off the stack in
788 an UNSPEC_CONST in order to stop it being rejected by
789 -mmax-constant-size.
790 (pop_and_return): Add a "(return)" rtx.
791 (call): Drop the immediate operand.
792 (call_internal): Likewise.
793 (call_value): Likewise.
794 (call_value_internal): Likewise.
795 (sibcall_internal): Likewise.
796 (sibcall_value_internal): Likewise.
797 (sibcall): Likewise. Generate an explicit call using
798 sibcall_internal.
799 (sibcall_value): Likewise.
800 (mov<>): FAIL if a constant operand is not legitimate.
801 (addsi3_unpsec): New pattern.
802
803 * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
804 CONSTs.
805 (ok_for_max_constant): New function.
806 (gen_safe_add): New function.
807 (rx_expand_prologue): Use gen_safe_add.
808 (rx_expand_epilogue): Likewise.
809 (rx_is_legitimate_constant): Use ok_for_max_constant. Handle
810 UNSPEC CONSTs.
811
812 2011-01-21 Jeff Law <law@redhat.com>
813
814 PR tree-optimization/47053
815 * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
816 (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
817 statements are deleted.
818 (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP
819 is nonempty, then purge dead edges and cleanup the CFG.
820
821 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
822
823 PR debug/47402
824 Temporarily revert:
825 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
826 PR debug/47106
827 * tree-dfa.c (create_var_ann): Mark variable as used.
828
829 2011-01-21 Jakub Jelinek <jakub@redhat.com>
830
831 PR middle-end/45566
832 * except.c (convert_to_eh_region_ranges): Emit queued no-region
833 notes from other section in hot/cold partitioning even if
834 last_action is -3. Increment call_site_base.
835
836 PR rtl-optimization/47366
837 * fwprop.c (forward_propagate_into): Return bool. If
838 any changes are made, -fnon-call-exceptions is used and
839 REG_EH_REGION note is present, call purge_dead_edges
840 and return true if it purged anything.
841 (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
842 any EH edges were purged.
843
844 2011-01-21 Jeff Law <law@redhat.com>
845
846 PR rtl-optimization/41619
847 * caller-save.c (setup_save_areas): Break out code to determine
848 which hard regs are live across calls by examining the reload chains
849 so that it is always used.
850 Eliminate code which checked REG_N_CALLS_CROSSED.
851
852 2011-01-21 Jakub Jelinek <jakub@redhat.com>
853
854 PR tree-optimization/47355
855 * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
856 NOP has non-debug uses beyond PHIs in new_bb.
857
858 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
859
860 PR debug/47106
861 * cfgexpand.c (account_used_vars_for_block): Only account vars
862 that are annotated as used.
863 (estimated_stack_frame_size): Don't set TREE_USED.
864 * tree-dfa.c (create_var_ann): Mark variable as used.
865
866 2011-01-21 Richard Guenther <rguenther@suse.de>
867
868 PR middle-end/47395
869 * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
870
871 2011-01-21 Richard Guenther <rguenther@suse.de>
872
873 PR tree-optimization/47365
874 * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
875 (vn_reference_lookup_pieces): Adjust.
876 (vn_reference_lookup): Likewise.
877 * tree-ssa-sccvn.c (vn_walk_kind): New static global.
878 (vn_reference_lookup_3): Only look through kills if in
879 VN_WALKREWRITE mode.
880 (vn_reference_lookup_pieces): Adjust.
881 (vn_reference_lookup): Likewise.
882 (visit_reference_op_load): Likewise.
883 (visit_reference_op_store): Likewise.
884 * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
885 (compute_avail): Likewise.
886 (eliminate): Likewise.
887
888 2011-01-21 Jakub Jelinek <jakub@redhat.com>
889
890 * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
891 DECL_IGNORED_P non-reg vars if they are used.
892
893 PR tree-optimization/47391
894 * varpool.c (const_value_known_p): Return false if
895 decl is volatile.
896
897 2011-01-21 Kai Tietz <kai.tietz@onevision.com>
898
899 PR bootstrap/47215
900 * config/i386/i386.c (ix86_local_alignment): Handle
901 case for va_list_type_node is nil.
902 (ix86_canonical_va_list_type): Likewise.
903
904 2011-01-21 Alan Modra <amodra@gmail.com>
905
906 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
907 builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
908
909 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
910
911 * config/arm/arm.md (define_attr type): Rename f_load
912 and f_store to f_fpa_load and f_fpa_store. Update.
913 (write_conflict): Deal with rename fallout.
914 (*push_fp_multi): Likewise.
915 * config/arm/fpa.md (f_load): Use f_fpa_load.
916 (f_store): Use f_fpa_store.
917 (*movsf_fpa): Likewise.
918 (*movdf_fpa): Likewise.
919 (*movxf_fpa): Likewise.
920 (*thumb2_movsf_fpa): Likewise.
921 (*thumb2_movdf_fpa): Likewise.
922 (*thumb2_movxf_fpa): Likewise.
923 * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
924 f_loadd and f_stored.
925 (*thumb2_movdi_vfp): Likewise.
926 (*thumb2_movsf_vfp): Fix attribute to f_loads.
927 (*thumb2_movsi_vfp): Likewise.
928 * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
929 Use f_loads instead of f_load.
930 * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
931
932 2011-01-20 Anatoly Sokolov <aesok@post.ru>
933
934 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
935 * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
936 * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
937 (xtensa_mode_dependent_address_p): New function.
938 (constantpool_address_p): Make static. Change return type to bool.
939 Change argument type to const_rtx. Use CONST_INT_P predicate.
940
941 2011-01-20 Alexandre Oliva <aoliva@redhat.com>
942
943 PR debug/46583
944 * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
945
946 2011-01-20 Jakub Jelinek <jakub@redhat.com>
947
948 PR debug/47283
949 * cfgexpand.c (expand_debug_expr): Instead of generating
950 (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
951 etc. handling.
952
953 2011-01-20 Richard Guenther <rguenther@suse.de>
954
955 PR middle-end/47370
956 * tree-inline.c (remap_gimple_op_r): Recurse manually for
957 the pointer operand of MEM_REFs.
958
959 2011-01-20 Jakub Jelinek <jakub@redhat.com>
960
961 PR tree-optimization/46130
962 * ipa-split.c (consider_split): If return_bb contains non-virtual
963 PHIs other than for retval or if split_function would not adjust it,
964 refuse to split.
965
966 2011-01-20 Richard Guenther <rguenther@suse.de>
967
968 PR tree-optimization/47167
969 * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
970 Revert previous change, only avoid enumeral type changes.
971
972 2011-01-19 Dodji Seketeli <dodji@redhat.com>
973
974 PR c++/47291
975 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
976 (gen_scheduled_generic_parms_dies): New functions.
977 (gen_struct_or_union_type_die): Schedule template parameters DIEs
978 generation for the end of CU compilation.
979 (dwarf2out_finish): Generate template parameters DIEs here.
980
981 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
982
983 PR debug/46240
984 * tree-into-ssa.c (maybe_register_def): Do not attempt to add
985 debug bind stmt on merge edges.
986
987 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
988
989 PR debug/47079
990 PR debug/46724
991 * function.c (instantiate_expr): Instantiate incoming rtl of
992 implicit arguments, and recurse on VALUE_EXPRs.
993 (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
994 * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
995
996 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
997
998 * c-parser.c (c_parser_for_statement): Initialize
999 collection_expression.
1000
1001 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1002
1003 * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
1004
1005 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1006
1007 * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
1008 (LINK_SHLIB_SPEC): Don't use %(link_path).
1009 (SUBTARGET_EXTRA_SPECS): Remove link_path.
1010
1011 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1012
1013 * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
1014 (NO_SHARED_LIB_SUPPORT): Remove.
1015 (LINK_SHLIB_SPEC): Remove one conditional definition.
1016
1017 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1018
1019 * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
1020 %{call_shared}.
1021 * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
1022 * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
1023 * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
1024 %{call_shared} and conditionals on these options not being passed.
1025 * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
1026 %{call_shared}.
1027
1028 2011-01-19 Jakub Jelinek <jakub@redhat.com>
1029
1030 * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
1031 simplify.
1032
1033 * ipa-split.c: Spelling fixes.
1034
1035 2011-01-19 Richard Henderson <rth@redhat.com>
1036
1037 * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
1038 (*mulsi3): Likewise.
1039
1040 * longlong.h [__mn10300__] (count_leading_zeros): New.
1041 [__mn10300__] (umul_ppmm, smul_ppmm): New.
1042 [__mn10300__] (add_ssaaaa, subddmmss): New.
1043 [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
1044 [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
1045
1046 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1047
1048 * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
1049
1050 2011-01-19 Richard Henderson <rth@redhat.com>
1051
1052 * config/mn10300/mn10300.md (addsi3_flags): New.
1053 (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
1054 (subsi3_flags, subc_internal, subdi3): New.
1055 (subdi3_internal, *subdi3_degenerate): New.
1056 * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
1057
1058 * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
1059 (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
1060 (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once.
1061 * config/mn10300/mn10300-protos.h: Update.
1062 * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
1063 (return_ret): Likewise. Rename from return_internal_regs.
1064 (return_internal): Remove.
1065
1066 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
1067 (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
1068 (mn10300_legitimate_constant_p): Likewise.
1069 (mn10300_can_use_return_insn): Use mn10300_initial_offset.
1070 (mn10300_frame_size): New.
1071 (mn10300_expand_prologue): Use it.
1072 (mn10300_expand_epilogue): Likewise.
1073 (mn10300_initial_offset): Likewise.
1074 * config/mn10300/mn10300-protos.h: Update.
1075 * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
1076 * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
1077 (prologue, epilogue, return_internal): Tidy output code.
1078 (mn10300_store_multiple_operation, return): Likewise.
1079 (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
1080 (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
1081 (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
1082 (load_pic, am33_load_pic): New.
1083 (mn10300_load_pic0, mn10300_load_pic1): New.
1084
1085 * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
1086 * config/mn10300/mn10300.c (CC_FLAG_Z): New.
1087 (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
1088 (cc_flags_for_mode, cc_flags_for_code): New.
1089 (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
1090 overflow flag is not valid. Validate that the flags we need
1091 for the comparison are valid.
1092 (mn10300_output_cmp): Remove.
1093 (mn10300_output_add): New.
1094 (mn10300_select_cc_mode): Use cc_flags_for_code.
1095 (mn10300_split_cbranch): New.
1096 (mn10300_match_ccmode): New.
1097 (mn10300_split_and_operand_count): New.
1098 * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
1099 to the function.
1100 * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
1101 (addsi3): ... here. Use mn10300_output_add.
1102 (*addsi3_flags): New.
1103 (*am33_subsi3, *mn10300_subsi3): Merge...
1104 (subsi3): ... here. Use attribute isa.
1105 (*subsi3_flags): New.
1106 (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC
1107 when possible.
1108 (*am33_andsi3, *mn10300_andsi3): Merge...
1109 (andsi3): ... here.
1110 (*andsi3_flags): New.
1111 (andsi3 splitters): New.
1112 (*am33_iorsi3, *mn10300_iorsi3): Merge...
1113 (iorsi3): ... here.
1114 (*iorsi3_flags): New.
1115 (*am33_xorsi3, *mn10300_xorsi3): Merge...
1116 (xorsi3): ... here.
1117 (*xorsi3_flags): New.
1118 (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
1119 (one_cmplsi2): ... here.
1120 (*one_cmplsi2_flags): New.
1121 (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r"
1122 instead of "dax" in constraints. Use mn10300_split_cbranch.
1123 (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not
1124 use matching constraints to eliminate a self-comparison.
1125 (*integer_conditional_branch): Rename from integer_conditional_branch.
1126 Use int_mode_flags to match CC_REG.
1127 (*cbranchsi4_btst, *btstsi): New.
1128 (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use
1129 mn10300_split_cbranch.
1130 (*am33_cmpsf): Rename from am33_cmpsf.
1131 (*float_conditional_branch): Rename from float_conditional_branch.
1132 (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
1133 (zero_extendqisi2): ... here.
1134 (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
1135 (zero_extendhisi2): ... here.
1136 (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
1137 (extendqisi2): ... here.
1138 (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
1139 (extendhisi2): ... here.
1140 (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
1141 (ashlsi3): ... here.
1142 (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
1143 (lshrsi3): ... here.
1144 (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
1145 (ashrsi3): ... here.
1146 (consecutive add peephole): Remove.
1147 * config/mn10300/predicates.md (label_ref_operand): New.
1148 (int_mode_flags): New.
1149 (CCZN_comparison_operator): New.
1150
1151 * config/mn10300/mn10300.md (UNSPEC_EXT): New.
1152 (throughput_42_latency_43): New reservation.
1153 (mulsidi3, umulsidi3): New expanders.
1154 (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose
1155 the MDR register to allocation; separately allocate the low and
1156 high parts of the DImode result.
1157 (umulsidi3_internal): Similarly.
1158 (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
1159 (*mulsi3): ... here. Clobber MDR as a scratch as necessary.
1160 (udivsi3, umodsi3): Remove.
1161 (udivmodsi4, divmodsi4): New expanders.
1162 (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly.
1163 (*divmodsi4): Simiarly.
1164 (ext_internal): New.
1165
1166 * config/mn10300/constraints.md ("z"): New constraint.
1167 * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
1168 (FIXED_REGISTERS): Don't fix MDR.
1169 (CALL_USED_REGSITERS): Reformat nicely.
1170 (REG_ALLOC_ORDER): Add MDR.
1171 (enum regclass): Add MDR_REGS.
1172 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
1173 (IRA_COVER_CLASSES): Add MDR_REGS.
1174 (REGNO_REG_CLASS): Handle MDR_REG.
1175 * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
1176 (mn10300_register_move_cost): Likewise.
1177 * config/mn10300/mn10300.md (MDR_REG): New.
1178 (*movsi_internal): Handle moves to/from MDR_REGS.
1179
1180 * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
1181 POST_MODIFY.
1182 (mn10300_secondary_reload): Tidy combination reload classes.
1183 (mn10300_legitimate_address_p): Allow post-modify and reg+reg
1184 addresses for AM33. Allow symbolic offsets for reg+imm.
1185 (mn10300_regno_in_class_p): New.
1186 (mn10300_legitimize_reload_address): New.
1187 * config/mn10300/mn10300.h (enum reg_class): Remove
1188 DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
1189 SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add
1190 SP_OR_GENERAL_REGS.
1191 (REG_CLASS_NAMES): Update to match.
1192 (REG_CLASS_CONTENTS): Likewise.
1193 (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
1194 (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
1195 (REGNO_IN_RANGE_P): Remove.
1196 (REGNO_DATA_P): Use mn10300_regno_in_class_p.
1197 (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
1198 (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
1199 (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
1200 (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
1201 (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
1202 (REGNO_GENERAL_P): New.
1203 (HAVE_POST_MODIFY_DISP): New.
1204 (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
1205 (LEGITIMIZE_RELOAD_ADDRESS): New.
1206 * config/mn10300/mn10300-protos.h: Update.
1207
1208 * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
1209 DATA_REGS for AM33 stack-pointer destination.
1210 (mn10300_preferred_output_reload_class): Likewise.
1211 (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
1212 into a form appropriate for ...
1213 (TARGET_SECONDARY_RELOAD): New.
1214 * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
1215 * config/mn10300/mn10300-protos.h: Update.
1216 * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
1217 reload_insi; use the "A" constraint for the scratch; handle AM33
1218 moves of sp to non-address registers.
1219
1220 * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
1221 (*movqi_internal): ... here.
1222 (*am33_movhi, *mn10300_movhi): Merge into...
1223 (*movhi_internal): ... here.
1224 (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A"
1225 as the source/destination of moves from/to SP.
1226 (movsf): Only allow for AM33-2.
1227 (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
1228 any integer constant constraint. Only allow for AM33-2. Tidy
1229 all of the alternative outputs.
1230 (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
1231 (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow
1232 for MN103.
1233 (udivsi3, umodsi3): New patterns for MN103 only.
1234
1235 2011-01-19 Joern Rennecke <amylaar@spamcop.net>
1236
1237 * doc/tm.texi.in: Spell out that a lack of register class unions
1238 can lead to ICEs.
1239 * doc/tm.texi: Regenerate.
1240
1241 2011-01-19 Jakub Jelinek <jakub@redhat.com>
1242
1243 PR rtl-optimization/47337
1244 * dce.c (check_argument_store): New function.
1245 (find_call_stack_args): Ignore debug insns. Use check_argument_store.
1246
1247 PR tree-optimization/47290
1248 * tree-eh.c (infinite_empty_loop_p): New function.
1249 (cleanup_empty_eh): Use it.
1250
1251 2011-01-18 Steve Ellcey <sje@cup.hp.com>
1252
1253 PR target/46997
1254 * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
1255 (a64_expand_widen_sum): Ditto.
1256 * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
1257 (vec_extract_evenodd_help): Ditto.
1258 (vec_extract_evenv4hi): Ditto.
1259 (vec_extract_oddv4hi): Ditto.
1260 (vec_extract_evenv2si): Ditto.
1261 (vec_extract_oddv2si): Ditto.
1262 (vec_extract_evenv2sf): Ditto.
1263 (vec_extract_oddv2sf): Ditto.
1264 (vec_pack_trunc_v4hi: Ditto.
1265 (vec_pack_trunc_v2si): Ditto.
1266 (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
1267 (vec_interleave_highv8qi): Ditto.
1268 (mix1_r): Ditto.
1269 (vec_extract_oddv8qi): Ditto.
1270 (vec_interleave_lowv4hi): Ditto.
1271 (vec_interleave_highv4hi): Ditto.
1272 (vec_interleave_lowv2si): Ditto.
1273 (vec_interleave_highv2si): Ditto.
1274
1275 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1276
1277 * doc/extend.texi: Mention __float128 support on hppa HP-UX.
1278 * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
1279 * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
1280 (pa_c_mode_for_suffix): New.
1281 (TARGET_EXPAND_BUILTIN): Define.
1282 (TARGET_C_MODE_FOR_SUFFIX): Define.
1283 (pa_builtins): Define.
1284 (pa_init_builtins): Register __float128 type and init new support
1285 builtins.
1286 * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
1287 * config/pa/quadlib.c (_U_Qfcopysign): New.
1288
1289 2011-01-18 Eric Botcazou <ebotcazou@adacore.com>
1290
1291 PR middle-end/46894
1292 * explow.c (allocate_dynamic_stack_space): Do not assume more than
1293 BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
1294 are defined.
1295
1296 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1297
1298 PR tree-optimization/47179
1299 * config/spu/spu.c (spu_ref_may_alias_errno): New function.
1300 (TARGET_REF_MAY_ALIAS_ERRNO): Define.
1301
1302 2011-01-18 Richard Guenther <rguenther@suse.de>
1303
1304 PR rtl-optimization/47216
1305 * emit-rtl.c: Include tree-flow.h.
1306 (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
1307 of replicating it with different semantics.
1308 * Makefile.in (emit-rtl.o): Adjust.
1309
1310 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1311
1312 * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
1313 include.
1314 (cortex_a9_dp): Handle neon types correctly.
1315
1316 2011-01-18 Jakub Jelinek <jakub@redhat.com>
1317
1318 PR rtl-optimization/47299
1319 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
1320 subtarget. Use normal multiplication if both operands are
1321 constants.
1322 * expmed.c (expand_widening_mult): Don't try to optimize constant
1323 multiplication if op0 has VOIDmode. Convert op1 constant to mode
1324 before using it.
1325
1326 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1327
1328 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
1329 spacing after 'e.g.', typos, comma, hyphenation.
1330
1331 2011-01-17 Richard Henderson <rth@redhat.com>
1332
1333 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
1334 (rx_restricted_mem_operand): New.
1335 (rx_shift_operand): Use register_operand.
1336 (rx_source_operand, rx_compare_operand): Likewise.
1337 * config/rx/rx.md (addsi3_flags): New expander.
1338 (adddi3): Rewrite as expander.
1339 (adc_internal, *adc_flags, adddi3_internal): New patterns.
1340 (subsi3_flags): New expander.
1341 (subdi3): Rewrite as expander.
1342 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
1343
1344 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
1345 (rx_init_builtins): Remove sat builtin.
1346 (rx_expand_builtin): Likewise.
1347 * config/rx/rx.md (ssaddsi3): New.
1348 (*sat): Rename from sat. Represent the CC_REG input.
1349
1350 * config/rx/predicates.md (rshift_operator): New.
1351 * config/rx/rx.c (rx_expand_insv): Remove.
1352 * config/rx/rx-protos.h: Update.
1353 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
1354 operand to the canonical position.
1355 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
1356 (*bitclr, *bitclr_in_memory): Similarly.
1357 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
1358 (insv): Retain the zero_extract in the expansion.
1359
1360 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
1361 (bswaphi2, bitinvert, revw): Likewise.
1362
1363 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
1364 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
1365 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
1366 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
1367 (bitset, bitset_in_memory): Likewise.
1368 (bitinvert, bitinvert_in_memory): Likewise.
1369 (bitclr, bitclr_in_memory): Likewise.
1370 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
1371 (rx_strend, rx_cmpstrn): Likewise.
1372 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
1373 (bitop peep2 patterns): Remove.
1374
1375 * config/rx/rx.c (rx_match_ccmode): New.
1376 * config/rx/rx-protos.h: Update.
1377 * config/rx/rx.md (abssi2): Clobber, don't set flags.
1378 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
1379 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
1380 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
1381 (fix_truncsfsi2, floatsisf2): Likewise.
1382 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
1383 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
1384 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
1385 (*subsi3_flags, *xorsi3_flags): New.
1386
1387 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
1388
1389 * config/rx/rx.c (rx_print_operand): Remove workaround for
1390 unsplit comparison operations.
1391
1392 * config/rx/rx.md (movsicc): Split after reload.
1393 (*movsicc): Merge *movsieq and *movsine via match_operator.
1394 (*stcc): New pattern.
1395
1396 * config/rx/rx.c (rx_float_compare_mode): Remove.
1397 * config/rx/rx.h (rx_float_compare_mode): Remove.
1398 * config/rx/rx.md (cstoresi4): Split after reload.
1399 (*sccc): New pattern.
1400
1401 * config/rx/predicates.md (label_ref_operand): New.
1402 (rx_z_comparison_operator): New.
1403 (rx_zs_comparison_operator): New.
1404 (rx_fp_comparison_operator): New.
1405 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
1406 Validate that the flags are set properly for the comparison.
1407 (rx_gen_cond_branch_template): Remove.
1408 (rx_cc_modes_compatible): Remove.
1409 (mode_from_flags): New.
1410 (flags_from_code): Rename from flags_needed_for_conditional.
1411 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
1412 (rx_select_cc_mode): Likewise.
1413 (rx_split_fp_compare): New.
1414 (rx_split_cbranch): New.
1415 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
1416 (*cbranchsi4): Use match_operator and rx_split_cbranch.
1417 (*cbranchsf4): Similarly.
1418 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
1419 match_operator and rx_split_cbranch.
1420 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
1421 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
1422 (*cmpsi): Rename from cmpsi.
1423 (*tstsi): Rename from tstsi.
1424 (*cmpsf): Rename from cmpsf; use CC_Fmode.
1425 (*conditional_branch): Rename from conditional_branch.
1426 (*reveresed_conditional_branch): Remove.
1427 (b<code>): Remove expander.
1428 * config/rx/rx-protos.h: Update.
1429
1430 * config/rx/rx.c (rx_compare_redundant): Remove.
1431 * config/rx/rx.md (cmpsi): Don't use it.
1432 * config/rx/rx-protos.h: Update.
1433
1434 * config/rx/rx-modes.def (CC_F): New mode.
1435 * config/rx/rx.c (rx_select_cc_mode): New.
1436 * config/rx/rx.h (SELECT_CC_MODE): Use it.
1437 * config/rx/rx-protos.h: Update.
1438
1439 2011-01-17 Richard Henderson <rth@redhat.com>
1440
1441 * except.c (dump_eh_tree): Fix stray ; after for statement.
1442
1443 2011-01-17 Richard Guenther <rguenther@suse.de>
1444
1445 PR tree-optimization/47313
1446 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
1447 handling before copying the body. Properly deal with
1448 by-reference result in SSA form.
1449
1450 2011-01-17 Ian Lance Taylor <iant@google.com>
1451
1452 PR target/47219
1453 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
1454 (struct_value_alias_set): Don't define.
1455 (sparc_option_override): Don't set sparc_sr_alias_set and
1456 struct_value_alias_set.
1457 (save_or_restore_regs): Use gen_frame_mem rather than calling
1458 set_mem_alias_set.
1459 (sparc_struct_value_rtx): Likewise.
1460
1461 2011-01-17 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 PR target/47318
1464 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
1465 __m128i.
1466 (_mm_maskstore_pd): Likewise.
1467 (_mm_maskload_ps): Likewise.
1468 (_mm_maskstore_ps): Likewise.
1469 (_mm256_maskload_pd): Change mask to __m256i.
1470 (_mm256_maskstore_pd): Likewise.
1471 (_mm256_maskload_ps): Likewise.
1472 (_mm256_maskstore_ps): Likewise.
1473
1474 * config/i386/i386-builtin-types.def: Updated.
1475 (ix86_expand_special_args_builtin): Likewise.
1476
1477 * config/i386/i386.c (bdesc_special_args): Update
1478 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
1479 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
1480 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
1481 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
1482
1483 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
1484 Use <avxpermvecmode> on mask register.
1485 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
1486
1487 2011-01-17 Olivier Hainque <hainque@adacore.com>
1488 Michael Haubenwallner <michael.haubenwallner@salomon.at>
1489 Eric Botcazou <ebotcazou@adacore.com>
1490
1491 PR target/46655
1492 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
1493 if <= USHRT_MAX in 32-bit mode.
1494
1495 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1496
1497 * doc/install.texi (Configuration, Specific): Wrap long
1498 lines in examples. Allow line wrapping in long options
1499 and URLs where beneficial for PDF output.
1500
1501 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
1502
1503 * config/mips/mips.c (mips_classify_symbol): Don't return
1504 SYMBOL_PC_RELATIVE for nonlocal labels.
1505
1506 2011-01-15 Eric Botcazou <ebotcazou@adacore.com>
1507
1508 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
1509
1510 2011-01-15 Jan Hubicka <jh@suse.cz>
1511
1512 PR tree-optimization/47276
1513 * ipa.c (function_and_variable_visibility): Do not try to mark alias
1514 declarations as needed.
1515
1516 2011-01-15 Martin Jambor <mjambor@suse.cz>
1517
1518 * common.opt (fdevirtualize): New flag.
1519 * doc/invoke.texi (Option Summary): Document it.
1520 * opts.c (default_options_table): Add devirtualize flag.
1521 * ipa-prop.c (detect_type_change): Return immediately if
1522 devirtualize flag is not set.
1523 (detect_type_change_ssa): Likewise.
1524 (compute_known_type_jump_func): Likewise.
1525 (ipa_analyze_virtual_call_uses): Likewise.
1526
1527 2011-01-14 Martin Jambor <mjambor@suse.cz>
1528
1529 PR tree-optimization/45934
1530 PR tree-optimization/46302
1531 * ipa-prop.c (type_change_info): New type.
1532 (stmt_may_be_vtbl_ptr_store): New function.
1533 (check_stmt_for_type_change): Likewise.
1534 (detect_type_change): Likewise.
1535 (detect_type_change_ssa): Likewise.
1536 (compute_complex_assign_jump_func): Check for dynamic type change.
1537 (compute_complex_ancestor_jump_func): Likewise.
1538 (compute_known_type_jump_func): Likewise.
1539 (compute_scalar_jump_functions): Likewise.
1540 (ipa_analyze_virtual_call_uses): Likewise.
1541 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
1542
1543 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1544
1545 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
1546 * config/i386/i386.opt (msse5): New Alias.
1547
1548 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1549
1550 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
1551 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1552 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1553 * config/sparc/sparc.h (CC1_SPEC): Likewise.
1554
1555 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1556
1557 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
1558 -mcpu options.
1559 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1560 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1561 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
1562 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
1563 Likewise.
1564 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
1565
1566 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1567
1568 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
1569 -fvec-eabi.
1570
1571 2011-01-14 Mike Stump <mikestump@comcast.net>
1572
1573 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
1574 * config/fr30/fr30.md: Likweise
1575 (movsi_push): Likewise.
1576 (movsi_pop): Likewise.
1577 (enter_func): Likewise.
1578 * config/moxie/moxie.md (movsi_push): Likewise.
1579 (movsi_pop): Likewise.
1580
1581 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1582
1583 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
1584 %{no_archive} %{exact_version}.
1585 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
1586 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
1587 %{no_archive} %{exact_version}.
1588 * config/mips/openbsd.h (LINK_SPEC): Likewise.
1589 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
1590 * config/mips/vxworks.h: Likewise.
1591
1592 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1593
1594 * config/microblaze/microblaze.h (ASM_SPEC): Remove
1595 %{microblaze1}.
1596
1597 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1598
1599 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
1600 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
1601
1602 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1603
1604 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
1605 -nodefaultlib.
1606
1607 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1608
1609 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
1610 for mcpu not cpu.
1611 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
1612 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
1613 not cpu.
1614 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
1615 Don't handle -shlib.
1616
1617 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1618
1619 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
1620 (CC1_SPEC): Don't handle -profile.
1621
1622 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1623
1624 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
1625 * config/mips/mips.h (CC1_SPEC): Likewise.
1626
1627 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1628
1629 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
1630 * config/mips/mips.h (CC1_SPEC): Likewise.
1631
1632 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1633
1634 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
1635 * config/m32r/linux.h (LINK_SPEC): Likewise.
1636 * config/mips/linux.h (LINK_SPEC): Likewise.
1637 * config/mips/linux64.h (LINK_SPEC): Likewise.
1638 * config/sparc/linux.h (LINK_SPEC): Likewise.
1639 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
1640 LINK_SPEC): Likewise.
1641 * config/xtensa/linux.h (LINK_SPEC): Likewise.
1642
1643 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1644
1645 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
1646 %{version:-v}.
1647 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
1648
1649 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1650
1651 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
1652 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
1653
1654 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1655
1656 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
1657
1658 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1659
1660 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
1661 supports -Bstatic/-Bdynamic.
1662 * configure: Regenerate.
1663
1664 2011-01-14 Jan Hubicka <jh@suse.cz>
1665 Jack Howarth <howarth@bromo.med.uc.edu>
1666
1667 PR target/46037
1668 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
1669 when checking debug_info_level. Test write_symbols instead of
1670 debug_hooks->var_location when setting flag_var_tracking_uninit.
1671
1672 2011-01-14 Richard Guenther <rguenther@suse.de>
1673
1674 PR tree-optimization/47179
1675 * target.def (ref_may_alias_errno): New target hook.
1676 * targhooks.h (default_ref_may_alias_errno): Declare.
1677 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
1678 (default_ref_may_alias_errno): New function.
1679 * target.h (struct ao_ref_s): Declare.
1680 * tree-ssa-alias.c: Include target.h.
1681 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
1682 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
1683 (targhooks.o): Likewise.
1684 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
1685 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
1686
1687 2011-01-14 Richard Guenther <rguenther@suse.de>
1688
1689 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
1690
1691 2011-01-14 Richard Guenther <rguenther@suse.de>
1692
1693 PR tree-optimization/47280
1694 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
1695 return CFG changes.
1696 (tree_ssa_forward_propagate_single_use_vars): Deal with
1697 CFG changes from associate_plusminus.
1698
1699 2011-01-14 Richard Guenther <rguenther@suse.de>
1700
1701 PR middle-end/47281
1702 Revert
1703 2011-01-11 Richard Guenther <rguenther@suse.de>
1704
1705 PR tree-optimization/46076
1706 * tree-ssa.c (useless_type_conversion_p): Conversions from
1707 unprototyped to empty argument list function types are useless.
1708
1709 2011-01-14 Richard Guenther <rguenther@suse.de>
1710
1711 PR tree-optimization/47286
1712 * tree-ssa-structalias.c (new_var_info): Register variables are global.
1713
1714 2011-01-14 Martin Jambor <mjambor@suse.cz>
1715
1716 PR middle-end/46823
1717 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
1718
1719 2011-01-13 Anatoly Sokolov <aesok@post.ru>
1720
1721 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
1722 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
1723 * config/xtensa/xtensa.c (xtensa_libcall_value,
1724 xtensa_function_value_regno_p): New functions.
1725 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
1726
1727 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
1728
1729 PR c++/47213
1730 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
1731 PE specific hook.
1732 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
1733 New function prototype.
1734 * config/i386/winnt.c (i386_pe_assemble_visibility):
1735 Warn only if attribute was specified by user.
1736
1737 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1738
1739 PR target/47251
1740 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
1741 floating point.
1742 (floatunsdidf2_fcfidu): Ditto.
1743
1744 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1745
1746 * config/s390/s390.c (print_operand_address): Replace 'error' with
1747 'output_operand_lossage'.
1748 (print_operand): Likewise.
1749
1750 2011-01-13 Jeff Law <law@redhat.com>
1751
1752 PR rtl-optimization/39077
1753 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
1754 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
1755 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
1756 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
1757 * gcse.c (prune_insertions_deletions): New function.
1758 (compute_pre_data): Use it.
1759
1760 2011-01-13 Dodji Seketeli <dodji@redhat.com>
1761
1762 PR debug/PR46973
1763 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
1764 static function.
1765 (prune_unused_types_mark): Use it.
1766
1767 2011-01-13 Andrey Belevantsev <abel@ispras.ru>
1768
1769 PR rtl-optimization/45352
1770 * sel-sched.c: Update copyright years.
1771 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
1772 in the advancing loop when we have issued issue_rate insns.
1773
1774 2011-01-12 Richard Henderson <rth@redhat.com>
1775
1776 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
1777 (TARGET_MD_ASM_CLOBBERS): New.
1778
1779 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
1780 (TARGET_DELEGITIMIZE_ADDRESS): New.
1781
1782 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
1783 (clzsi2, *bsch): New patterns.
1784
1785 * config/mn10300/mn10300.md (INT): New mode iterator.
1786 (*mov<INT>_clr): New pattern, and peep2 to generate it.
1787
1788 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
1789 flag_split_wide_types.
1790
1791 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
1792 (mn10300_trampoline_init): Rewrite without a template, an immediate
1793 load and a direct branch.
1794 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
1795
1796 2011-01-12 Anatoly Sokolov <aesok@post.ru>
1797
1798 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
1799 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
1800 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
1801 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
1802
1803 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
1804
1805 PR debug/47209
1806 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
1807 of type.
1808
1809 2011-01-12 Jan Hubicka <jh@suse.cz>
1810
1811 PR driver/47244
1812 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
1813 (PLUGIN_COND_CLOSE): New macro.
1814 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
1815
1816 2011-01-12 Richard Guenther <rguenther@suse.de>
1817
1818 PR lto/47259
1819 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
1820 register variables in a MEM_REF.
1821
1822 2011-01-12 Joseph Myers <joseph@codesourcery.com>
1823
1824 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
1825 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
1826 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
1827 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
1828 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
1829 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
1830 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
1831 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
1832 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
1833 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
1834 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
1835 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
1836 * config/gnu-user.h: New. Copied from linux.h.
1837 (LINUX_TARGET_STARTFILE_SPEC): Rename to
1838 GNU_USER_TARGET_STARTFILE_SPEC.
1839 (LINUX_TARGET_ENDFILE_SPEC): Rename to
1840 GNU_USER_TARGET_ENDFILE_SPEC.
1841 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
1842 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
1843 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
1844 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
1845 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
1846 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
1847 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
1848 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
1849 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
1850 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
1851 * config/arm/linux-eabi.h (CC1_SPEC): Use
1852 GNU_USER_TARGET_CC1_SPEC.
1853 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
1854 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
1855 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
1856 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
1857 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
1858 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
1859 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
1860 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
1861
1862 2011-01-12 Richard Guenther <rguenther@suse.de>
1863
1864 PR other/46946
1865 * doc/invoke.texi (ffast-math): Document it is turned on
1866 with -Ofast.
1867
1868 2011-01-12 Jan Hubicka <jh@suse.cz>
1869
1870 PR tree-optimization/47233
1871 * opts.c (common_handle_option): Disable ipa-reference with profile
1872 feedback.
1873
1874 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
1875
1876 * c-parser.c (c_parser_objc_at_property_declaration): Improved
1877 error message.
1878
1879 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
1880
1881 * c-parser.c (c_lex_one_token): Updated and reindented some
1882 comments. No changes in code.
1883
1884 2011-01-11 Ian Lance Taylor <iant@google.com>
1885
1886 * godump.c (go_output_var): Don't output the variable if there is
1887 already a type with the same name.
1888
1889 2011-01-11 Ian Lance Taylor <iant@google.com>
1890
1891 * godump.c (go_format_type): Don't generate float80.
1892
1893 2011-01-11 Richard Henderson <rth@redhat.com>
1894
1895 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
1896 declaration. Rewrite for both speed and size.
1897 (mn10300_address_cost_1): Remove.
1898 (mn10300_register_move_cost): New.
1899 (mn10300_memory_move_cost): New.
1900 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
1901 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
1902 extensions, shifts, BSWAP, CLZ.
1903 (mn10300_wide_const_load_uses_clr): Remove.
1904 (TARGET_REGISTER_MOVE_COST): New.
1905 (TARGET_MEMORY_MOVE_COST): New.
1906 * config/mn10300/mn10300-protos.h: Update.
1907 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
1908
1909 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
1910 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
1911 * config/mn10300/mn10300-protos.h: Update.
1912 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
1913 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
1914 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
1915 (*test_int_bitfield, *test_byte_bitfield): Remove.
1916 (*bit_test, *subreg_bit_test): Remove.
1917 * config/mn10300/predicates.md (const_8bit_operand): Remove.
1918
1919 * config/mn10300/constraints.md ("c"): Rename from "A".
1920 ("A", "D"): New constraint letters.
1921 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
1922 (fmssf4, fnmasf4, fnmssf4): Likewise.
1923
1924 * config/mn10300/mn10300.md (isa): New attribute.
1925 (enabled): New attribute.
1926
1927 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
1928 (abssf2, negsf2): Define only for hardware fp.
1929 (sqrtsf2): Reformat.
1930 (addsf3, subsf3, mulsf3): Merge expander and insn.
1931
1932 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
1933 (DEBUGGER_AUTO_OFFSET): Remove.
1934 (DEBUGGER_ARG_OFFSET): Remove.
1935
1936 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
1937 Emit register stores with the same offsets as the hardware.
1938 (mn10300_store_multiple_operation): Don't check that the register
1939 save offsets are monotonic.
1940 * config/mn10300/mn10300-protos.h: Update.
1941
1942 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
1943
1944 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
1945 in terms of the value on the stack, not the MDR register.
1946
1947 2011-01-11 Jan Hubicka <jh@suse.cz>
1948
1949 PR lto/45721
1950 PR lto/45375
1951 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
1952 (symbol_alias_set_destroy, symbol_alias_set_contains,
1953 propagate_aliases_backward): Declare.
1954 * lto-streamer-out.c (struct sets): New sturcture.
1955 (trivally_defined_alias): New function.
1956 (output_alias_pair_p): Rewrite.
1957 (output_unreferenced_globals): Fix output of alias pairs.
1958 (produce_symtab): Likewise.
1959 * ipa.c (function_and_variable_visibility): Set weak alias destination
1960 as needed in lto.
1961 * varasm.c (symbol_alias_set_t): Remove.
1962 (symbol_alias_set_destroy): Export.
1963 (propagate_aliases_forward, propagate_aliases_backward): New functions
1964 based on ...
1965 (compute_visible_aliases): ... this one; remove.
1966 (trivially_visible_alias): New
1967 (trivially_defined_alias): New.
1968 (remove_unreachable_alias_pairs): Rewrite.
1969 (finish_aliases_1): Reorganize code checking if alias is defined.
1970 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
1971 in LTO mode.
1972
1973 2011-01-11 Richard Guenther <rguenther@suse.de>
1974
1975 PR tree-optimization/46076
1976 * tree-ssa.c (useless_type_conversion_p): Conversions from
1977 unprototyped to empty argument list function types are useless.
1978
1979 2011-01-11 Richard Guenther <rguenther@suse.de>
1980
1981 PR middle-end/45235
1982 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
1983 volatile MEMs as MEM_READONLY_P.
1984
1985 2011-01-11 Richard Guenther <rguenther@suse.de>
1986
1987 PR tree-optimization/47239
1988 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
1989
1990 2011-01-11 Jeff Law <law@redhat.com>
1991
1992 PR tree-optimization/47086
1993 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
1994 IVs from statements that might throw.
1995
1996 2011-01-10 Jan Hubicka <jh@suse.cz>
1997
1998 PR lto/45375
1999 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
2000
2001 2011-01-10 Jan Hubicka <jh@suse.cz>
2002
2003 PR lto/45375
2004 * profile.c (read_profile_edge_counts): Ignore profile inconistency
2005 when correcting profile.
2006
2007 2011-01-10 Jan Hubicka <jh@suse.cz>
2008
2009 PR lto/46083
2010 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
2011 DECL_FINI_PRIORITY.
2012 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
2013 Restore DECL_FINI_PRIORITY.
2014
2015 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2016
2017 * doc/gimple.texi: Fix quoting of multi-word return values in
2018 @deftypefn statements. Ensure presence of return value. Wrap
2019 overlong @deftypefn lines.
2020 (is_gimple_operand, is_gimple_min_invariant_address): Remove
2021 descriptions of removed functions.
2022 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
2023 of multi-word return value in @deftypefn statement.
2024
2025 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2026
2027 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
2028 (Conditional Expressions, Logical Operators)
2029 (Statement and operand traversals): Do not indent smallexample
2030 code. Fix duplicate function argument in example.
2031
2032 2011-01-10 Jeff Law <law@redhat.com>
2033
2034 PR tree-optimization/47141
2035 * ipa-split.c (split_function): Handle case where we are
2036 returning a value and the return block has a virtual operand phi.
2037
2038 2011-01-10 Jan Hubicka <jh@suse.cz>
2039
2040 PR tree-optimization/47234
2041 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
2042 (pass_feedback_split_functions): Declare.
2043 * passes.c (init_optimization_passes): Add ipa-split as subpass of
2044 tree-profile.
2045 * ipa-split.c (gate_split_functions): Update comments; disable
2046 split-functions for profile_arc_flag and branch_probabilities.
2047 (gate_feedback_split_functions): New function.
2048 (execute_feedback_split_functions): New function.
2049 (pass_feedback_split_functions): New global var.
2050
2051 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
2052
2053 PR lto/46760
2054 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
2055 calling gimple_call_set_cannot_inline.
2056
2057 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
2058
2059 * config/darwin-sections.def: Remove unused section.
2060
2061 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
2062
2063 PR c++/47218
2064 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
2065
2066 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
2067
2068 PR objc/47232
2069 * c-parser.c (c_parser_declaration_or_fndef): Improved
2070 error message.
2071
2072 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
2073
2074 * config/i386/winnt.c (i386_pe_start_function): Make sure
2075 to switch back to function's section.
2076
2077 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
2078
2079 PR gcc/46902
2080 PR testsuite/46912
2081 * plugin.c: Move include of dlfcn.h from here...
2082 * system.h: ... to here.
2083
2084 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2085
2086 * doc/cpp.texi (C++ Named Operators): Fix markup for header
2087 file name.
2088 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
2089 two extra empty pages in PDF output.
2090
2091 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
2092
2093 PR objc/47078
2094 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
2095 for error recovery purposes behave as if it was not specified so
2096 that the default type is usd.
2097
2098 2011-01-07 Jan Hubicka <jh@suse.cz>
2099
2100 PR tree-optmization/46469
2101 * ipa.c (function_and_variable_visibility): Clear needed flags on
2102 nodes with external decls; handle weakrefs merging correctly.
2103
2104 2011-01-07 Joseph Myers <joseph@codesourcery.com>
2105
2106 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
2107 not false.
2108
2109 2011-01-07 Jan Hubicka <jh@suse.cz>
2110
2111 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
2112 and no longer claim that gold is required for linker plugin.
2113 * configure: Regenerate.
2114 * gcc.c (PLUGIN_COND): New macro.
2115 (LINK_COMMAND_SPEC): Use it.
2116 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
2117 * config.in (HAVE_LTO_PLUGIN): New.
2118 * configure.ac (--with-lto-plugin): New parameter; autodetect
2119 HAVE_LTO_PLUGIN.
2120
2121 2011-01-07 Jan Hubicka <jh@suse.cz>
2122
2123 PR tree-optimization/46367
2124 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
2125 when we can update original.
2126 (cgraph_mark_inline_edge): Sanity check.
2127 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
2128
2129 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2130
2131 * config/spu/spu.h (ASM_COMMENT_START): Define.
2132
2133 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 PR driver/42445
2136 * gcc.c (%>S): New.
2137 (SWITCH_KEEP_FOR_GCC): Likewise.
2138 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
2139 (do_spec_1): Handle "%>".
2140
2141 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
2142
2143 2011-01-07 Jakub Jelinek <jakub@redhat.com>
2144
2145 PR target/47201
2146 * config/i386/i386.c (ix86_delegitimize_address): If
2147 simplify_gen_subreg fails, return orig_x.
2148
2149 PR bootstrap/47187
2150 * value-prof.c (gimple_stringop_fixed_value): Handle
2151 lhs of the call properly.
2152
2153 2011-01-07 Jan Hubicka <jh@suse.cz>
2154
2155 PR lto/45375
2156 * lto-opt.c (lto_reissue_options): Set flag_shlib.
2157
2158 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
2159
2160 * target.def (function_switched_text_sections): New hook.
2161 * doc/tm.texi: Regenerated.
2162 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
2163 * final.c (default_function_switched_text_sections): New.
2164 (final_scan_insn): Call function_switched_text_sections when a
2165 mid-function section change occurs.
2166 * output.h (default_function_switched_text_sections): Declare.
2167 * config/darwin-protos.h (darwin_function_switched_text_sections):
2168 Likewise.
2169 * config/darwin.c (darwin_function_switched_text_sections): New.
2170 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
2171
2172 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
2173
2174 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
2175 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
2176 the secondary code fragment when outputting for DWARF == 2.
2177
2178 2011-01-07 Anatoly Sokolov <aesok@post.ru>
2179
2180 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
2181 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
2182 Remove.
2183 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
2184 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2185
2186 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
2187
2188 PR debug/46704
2189 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
2190 when it is not empty.
2191
2192 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
2193
2194 Bobcat Enablement
2195 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
2196 (case ${target}): Add btver1.
2197 * config/i386/driver-i386.c (host_detect_local_cpu): Let
2198 -march=native recognize btver1 processors.
2199 * config/i386/i386-c.c (ix86_target_macros_internal): Add
2200 btver1 def_and_undef
2201 * config/i386/i386.c (struct processor_costs btver1_cost): New
2202 btver1 cost table.
2203 (m_BTVER1): New definition.
2204 (m_AMD_MULTIPLE): Includes m_BTVER1.
2205 (initial_ix86_tune_features): Add btver1 tune.
2206 (processor_target_table): Add btver1 entry.
2207 (static const char *const cpu_names): Add btver1 entry.
2208 (software_prefetching_beneficial_p): Add btver1.
2209 (ix86_option_override_internal): Add btver1 instruction sets.
2210 (ix86_issue_rate): Add btver1.
2211 (ix86_adjust_cost): Add btver1.
2212 * config/i386/i386.h (TARGET_BTVER1): New definition.
2213 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
2214 (enum processor_type): Add PROCESSOR_BTVER1.
2215 * config/i386/i386.md (define_attr "cpu"): Add btver1.
2216
2217 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2218
2219 PR target/43309
2220 * config/i386/i386.c (legitimize_tls_address)
2221 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
2222 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
2223 (tls_initial_exec_64_sun): New pattern.
2224
2225 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
2226
2227 * doc/invoke.texi (Overall Options): Improve wording and markup
2228 of the description of -wrapper.
2229
2230 2011-01-06 Joseph Myers <joseph@codesourcery.com>
2231
2232 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
2233 rdynamic, threads): New Driver options.
2234
2235 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2236
2237 PR target/38118
2238 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
2239 if coming from .tdata.
2240 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
2241
2242 2011-01-06 Jan Hubicka <jh@suse.cz>
2243
2244 PR lto/47188
2245 * collect2.c (main): Do not enable LTOmode when plugin is active.
2246
2247 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2248
2249 PR other/45915
2250 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
2251 --version output if supported.
2252 * configure: Regenerate.
2253
2254 2011-01-06 Joseph Myers <joseph@codesourcery.com>
2255
2256 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
2257 Driver options.
2258
2259 2011-01-06 Jakub Jelinek <jakub@redhat.com>
2260
2261 PR c/47150
2262 * c-convert.c (convert): When converting a complex expression
2263 other than COMPLEX_EXPR to a different complex type, ensure
2264 c_save_expr is called instead of save_expr, unless in_late_binary_op.
2265 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
2266 when converting COMPLEX_TYPE.
2267
2268 2011-01-06 Ira Rosen <irar@il.ibm.com>
2269
2270 PR tree-optimization/47139
2271 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
2272 only the last reduction value is used outside the loop. Update
2273 documentation.
2274
2275 2011-01-05 Joseph Myers <joseph@codesourcery.com>
2276
2277 * config/rtems.opt: New.
2278 * config.gcc (*-*-rtems*): Use rtems.opt.
2279
2280 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
2281
2282 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
2283 processors do not support 3DNow instructions.
2284
2285 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2286
2287 * config/spu/spu.c (spu_option_override): Set parameter
2288 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
2289
2290 2011-01-05 Jan Hubicka <jh@suse.cz>
2291
2292 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
2293 at the command line.
2294
2295 2011-01-05 Martin Jambor <mjambor@suse.cz>
2296
2297 PR lto/47162
2298 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
2299 deltas on streamed outgoing edges.
2300 (output_node_opt_summary): Output info for outgoing edges only when
2301 the node is in new parameter set.
2302 (output_cgraph_opt_summary): New parameter set, passed to the two
2303 aforementioned functions. Update its forward declaration and its
2304 callee too.
2305
2306 2011-01-05 Tom Tromey <tromey@redhat.com>
2307
2308 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
2309 operator to c_finish_omp_atomic.
2310 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
2311 (build_unary_op): Update.
2312 (build_modify_expr): Update.
2313 (build_asm_expr): Update.
2314
2315 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2316
2317 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
2318 newly inserted insns.
2319 (pad_bb): Likewise.
2320 (spu_emit_branch_hint): Likewise.
2321 (insert_hbrp_for_ilb_runout): Likewise.
2322 (spu_machine_dependent_reorg): Call df_finish_pass after
2323 schedule_insns returns.
2324
2325 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2326
2327 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
2328
2329 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
2330
2331 PR tree-optimization/47005
2332 * tree-sra.c (struct access): Add 'non_addressable' bit.
2333 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
2334 (decide_one_param_reduction): Return 0 if the parameter is passed by
2335 reference and one of the accesses in the group is non_addressable.
2336
2337 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2338
2339 PR tree-optimization/47056
2340 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
2341 (mark_load): Likewise. Handle FUNCTION_DECL specially.
2342 (mark_store): Likewise. Pass STMT to ipa_record_reference.
2343
2344 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2345
2346 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
2347 initializer. Skip view conversions from aggregate types.
2348
2349 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
2350
2351 PR bootstrap/47055
2352 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
2353
2354 2011-01-04 Philipp Thomas <pth@suse.de>
2355
2356 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
2357 obvious typo.
2358
2359 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2360
2361 * function.c (thread_prologue_and_epilogue_insns): Do not crash
2362 on empty epilogue sequences.
2363
2364 2011-01-04 Joseph Myers <joseph@codesourcery.com>
2365
2366 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
2367 non-static): New Driver options.
2368
2369 2011-01-04 Jie Zhang <jie@codesourcery.com>
2370
2371 PR driver/47137
2372 * gcc.c (default_compilers[]): Set combinable field to 0
2373 for all assembly languages.
2374
2375 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
2376
2377 * config/mips/loongson3a.md: New file.
2378 * config/mips/mips.md: Include loongson3a.md.
2379 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
2380 TUNE_LOONGSON_3A.
2381
2382 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
2383
2384 PR middle-end/47017
2385 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
2386 instead of convert_memory_address_addr_space on the base expression.
2387
2388 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2389
2390 * config/spu/spu.c (spu_option_override): Update error text
2391 for bad -march= / -mtune= values.
2392
2393 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2394
2395 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
2396 if branch-hint optimization will be performed.
2397
2398 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2399
2400 PR tree-optimization/47148
2401 * ipa-split.c (split_function): Convert arguments to
2402 DECL_ARG_TYPE if possible.
2403
2404 PR tree-optimization/47155
2405 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
2406 when computing uns.
2407
2408 PR rtl-optimization/47157
2409 * combine.c (try_combine): If undobuf.other_insn becomes
2410 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
2411 and set *new_direct_jump_p too.
2412
2413 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
2414
2415 PR tree-optimization/47021
2416 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
2417
2418 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2419
2420 * gcc.c (process_command): Update copyright notice dates.
2421 * gcov.c (print_version): Likewise.
2422 * gcov-dump.c (print_version): Likewise.
2423 * mips-tfile.c (main): Likewise.
2424 * mips-tdump.c (main): Likewise.
2425
2426 2011-01-03 Martin Jambor <mjambor@suse.cz>
2427
2428 PR tree-optimization/46801
2429 * tree-sra.c (type_internals_preclude_sra_p): Check whether
2430 aggregate fields start at byte boundary instead of the bit-field flag.
2431
2432 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 PR driver/47137
2435 * gcc.c (main): Revert revision 168407.
2436
2437 2011-01-03 Martin Jambor <mjambor@suse.cz>
2438
2439 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2440
2441 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2442
2443 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
2444 vector optab to expand vector/scalar shift, update gimple to vector.
2445
2446 2011-01-03 Martin Jambor <mjambor@suse.cz>
2447
2448 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
2449 a thunk.
2450
2451 2011-01-03 Martin Jambor <mjambor@suse.cz>
2452
2453 PR tree-optimization/46984
2454 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
2455 HOST_WIDE_INT.
2456 (cgraph_create_indirect_edge): Fixed line length.
2457 (cgraph_indirect_call_info): Declare.
2458 (cgraph_make_edge_direct) Update declaration.
2459 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
2460 (cgraph_create_indirect_edge): Use it.
2461 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
2462 callees.
2463 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
2464 the new thunk_delta representation.
2465 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
2466 HOST_WIDE_INT.
2467 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
2468 (ipa_read_indirect_edge_info): Likewise.
2469 * lto-cgraph.c (output_edge_opt_summary): New function.
2470 (output_node_opt_summary): Call it on all outgoing edges.
2471 (input_edge_opt_summary): New function.
2472 (input_node_opt_summary): Call it on all outgoing edges.
2473
2474 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
2475
2476 PR driver/47137
2477 * gcc.c (main): Don't check have_o when settting combine_inputs.
2478
2479 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
2480
2481 * regrename.c: Add general comment describing the pass.
2482 (struct du_head): Remove 'length' field.
2483 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
2484 (regrename_optimize): Do not sort chains. Rework comments, add others.
2485 Force renaming to the preferred class (if any) in the first pass and do
2486 not consider registers that belong to it in the second pass.
2487 (create_new_chain): Do not set 'length' field.
2488 (scan_rtx_reg): Likewise.
2489
2490 2011-01-02 Jakub Jelinek <jakub@redhat.com>
2491
2492 PR tree-optimization/47140
2493 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
2494 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
2495 to bit_value_binop.
2496
2497 PR rtl-optimization/47028
2498 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
2499 parm_birth_insn instead of at the beginning of first bb.
2500
2501 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
2502
2503 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
2504 Remove the word "see" before "@pxref".
2505 * doc/rtl.texi: Remove the word "see" before "@pxref".
2506
2507 2011-01-01 Jan Hubicka <jh@suse.cz>
2508
2509 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
2510 memory.
2511
2512 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
2513
2514 PR target/38662
2515 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
2516
2517 \f
2518 Copyright (C) 2011 Free Software Foundation, Inc.
2519
2520 Copying and distribution of this file, with or without modification,
2521 are permitted in any medium without royalty provided the copyright
2522 notice and this notice are preserved.