1 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com>
3 * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*):
4 Move to the unsupported targets list.
6 2011-02-02 Peter Bergner <bergner@vnet.ibm.com>
8 PR rtl-optimization/47525
9 * df-scan.c: Update copyright years.
10 (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE
11 and non-clobber DF_REF_REG_DEF for calls to const and pure functions.
13 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
15 * config/i386/sysv4.h (TARGET_VERSION): Remove.
16 (SUBTARGET_RETURN_IN_MEMORY): Remove.
17 (ASM_OUTPUT_ASCII): Remove.
18 * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef.
20 2011-02-02 Jeff Law <law@redhat.com>
23 * reload.c (find_reloads_address): Handle reg+d address where both
24 components are invalid by reloading the entire address.
26 2011-02-02 Sebastian Pop <sebastian.pop@amd.com>
27 Richard Guenther <rguenther@suse.de>
29 PR tree-optimization/40979
31 * passes.c (init_optimization_passes): After LIM call copy_prop
33 * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func.
35 2011-02-02 Sebastian Pop <sebastian.pop@amd.com>
37 PR tree-optimization/47576
38 PR tree-optimization/47555
39 * doc/invoke.texi (scev-max-expr-complexity): Documented.
40 * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
41 (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared.
42 * tree-scalar-evolution.c (follow_ssa_edge): Use
43 PARAM_SCEV_MAX_EXPR_COMPLEXITY.
45 2011-02-02 Richard Guenther <rguenther@suse.de>
47 PR tree-optimization/47566
48 * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs.
50 2011-02-02 Alexandre Oliva <aoliva@redhat.com>
54 * tree-inline.c (declare_return_variable): Remove unused caller
59 * tree-flow-inline.h (clear_is_used, is_used_p): New.
60 * cfgexpand.c (account_used_vars_for_block): Use them.
61 * tree-nrv.c (tree_nrv): Likewise.
62 * tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
63 (dump_scope_block): Likewise.
64 (remove_unused_locals): Likewise.
68 * tree-inline.c (declare_return_variable): Add result decl to
69 local decls only once.
70 * gimple-low.c (record_vars_into): Mark newly-created variables
73 2011-02-02 Alexandre Oliva <aoliva@redhat.com>
79 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
81 (no_real_insns_p, schedule_block, set_priorities): Drop special
82 treatment of boundary debug insns.
83 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
85 * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
86 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
87 (BOUNDARY_DEBUG_INSN_P): Likewise.
88 (SCHEDULE_DEBUG_INSN_P): Likewise.
89 * sched-rgn.c (init_ready_list): Drop special treatment of
91 * final.c (rest_of_clean_state): Clear notes' BB.
93 2011-02-01 Joseph Myers <joseph@codesourcery.com>
95 * config/openbsd.opt (assert=): New Driver option.
97 2011-02-01 Joseph Myers <joseph@codesourcery.com>
99 * config/i386/nto.opt: New.
100 * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt.
102 2011-02-01 Joseph Myers <joseph@codesourcery.com>
104 * config/i386/netware.opt: New.
105 * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt.
107 2011-02-01 Joseph Myers <joseph@codesourcery.com>
109 * config/interix.opt (posix): New Driver option.
111 2011-02-01 DJ Delorie <dj@redhat.com>
113 * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition.
115 * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg
118 2011-02-01 Sebastian Pop <sebastian.pop@amd.com>
120 PR tree-optimization/47561
121 * toplev.c (process_options): Print the Graphite flags. Add
122 flag_loop_flatten to the list of options requiring Graphite.
124 2011-02-01 Joseph Myers <joseph@codesourcery.com>
126 * config/i386/cygming.opt (posix): New Driver option.
128 2011-02-01 Joseph Myers <joseph@codesourcery.com>
130 * config/arm/vxworks.opt: New.
131 * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt.
133 2011-02-01 Joseph Myers <joseph@codesourcery.com>
135 * config/alpha/elf.opt: New.
136 * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*,
137 alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt.
139 2011-02-01 Richard Guenther <rguenther@suse.de>
141 PR tree-optimization/47559
142 * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform
143 store-motion on references that can throw.
145 2011-02-01 Bernd Schmidt <bernds@codesourcery.com>
147 * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB.
148 * tree-pass.h (TDF_CSELIB): New macro.
149 * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1,
150 cselib_lookup): Check for it rather than for TDF_DETAILS.
152 2011-02-01 H.J. Lu <hongjiu.lu@intel.com>
155 * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output
158 * opts.c (finish_options): Don't add x_aux_base_name if it is
161 2011-02-01 Richard Guenther <rguenther@suse.de>
163 PR tree-optimization/47555
165 2010-07-15 Sebastian Pop <sebastian.pop@amd.com>
167 * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100.
169 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org>
172 * config/lm32/t-lm32: Add multilib for all CPU options.
174 2011-02-01 Richard Guenther <rguenther@suse.de>
176 PR tree-optimization/47541
177 * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make
178 sure to have a field at offset zero.
180 2011-01-31 Joseph Myers <joseph@codesourcery.com>
182 * config/arc/arc.opt (EB, EL): New Driver options.
184 2011-01-31 Joseph Myers <joseph@codesourcery.com>
186 * config/alpha/osf5.opt: New.
187 * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt.
189 2011-01-31 Joseph Myers <joseph@codesourcery.com>
191 * config/vms/vms.opt (map, mvms-return-codes): New Driver options.
193 2011-01-31 Sebastian Pop <sebastian.pop@amd.com>
195 * common.opt (ftree-loop-linear): Use Alias to make it an alias of
197 * invoke.texi (-ftree-loop-linear): Make it clear that this flag
198 is an alias of -floop-interchange and that it requires the
199 Graphite infrastructure.
200 * tree-ssa-loop.c (gate_graphite_transforms): Do not set
201 flag_loop_interchange based on the value of flag_tree_loop_linear.
203 2011-01-31 Jakub Jelinek <jakub@redhat.com>
204 Richard Guenther <rguenther@suse.de>
206 PR tree-optimization/47538
207 * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use
208 type instead of r1type, except for comparisons. For right
209 shifts and comparisons punt if there are mismatches in
210 sizetype vs. non-sizetype types.
212 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
214 * doc/sourcebuild.texi (Effective-Target Keywords): Document
217 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
219 * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld
221 * configure: Regenerate.
223 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
225 * configure.ac (gcc_cv_ld_static_option): Define.
226 (gcc_cv_ld_dynamic_option): Define.
227 (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
229 (HAVE_LD_STATIC_DYNAMIC): Update message.
230 (LD_STATIC_OPTION): Define.
231 (LD_DYNAMIC_OPTION): Define.
232 * configure: Regenerate.
233 * config.in: Regenerate.
234 * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
235 HAVE_LD_STATIC_DYNAMIC]: Use them.
237 2011-01-31 Nick Clifton <nickc@redhat.com>
239 * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered
240 registers inside interrupt handlers if the handler is not a leaf
243 2011-01-31 Nick Clifton <nickc@redhat.com>
245 * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
246 reg_renumber returning an INVALID_REGNUM.
248 2011-01-31 Alexandre Oliva <aoliva@redhat.com>
251 * doc/install.texi: Document host options discarded when cross
252 configuring target libraries.
254 2011-01-31 Alexandre Oliva <aoliva@redhat.com>
257 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
260 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
262 (no_real_insns_p, schedule_block, set_priorities): Drop special
263 treatment of boundary debug insns.
264 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
266 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
267 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
268 (BOUNDARY_DEBUG_INSN_P): Likewise.
269 (SCHEDULE_DEBUG_INSN_P): Likewise.
270 * sched-rgn.c (init_ready_list): Drop special treatment of
271 boundary debug insns.
272 * final.c (rest_of_clean-state): Clear notes' BB.
274 2011-01-31 Alan Modra <amodra@gmail.com>
276 * config/rs6000/rs6000.c (print_operand): Rearrange addends in
277 toc relative expressions as we do in print_operand_address.
279 2011-01-30 Kazu Hirata <kazu@codesourcery.com>
281 * doc/extend.texi: Follow spelling conventions.
282 * doc/invoke.texi: Fix a typo.
284 2011-01-30 Joseph Myers <joseph@codesourcery.com>
286 * config/hpux11.opt: New.
287 * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
288 ia64*-*-hpux*): Use hpux11.opt.
290 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net>
292 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
295 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
297 * doc/install.texi (hppa-hp-hpux10): Remove references to HP
300 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
302 * doc/install.texi (Binaries): Remove outdated reference for
303 Motorola 68HC11/68HC12 downloads.
305 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
307 * doc/extend.texi (Thread-Local): Adjust reference to Ulrich
310 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
313 * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
316 2011-01-28 Ahmad Sharif <asharif@google.com>
318 * value-prof.c (check_counter): Corrected error message.
320 2011-01-29 Jie Zhang <jie@codesourcery.com>
322 * config/arm/arm.c (arm_legitimize_reload_address): New.
323 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
324 arm_legitimize_reload_address.
325 * config/arm/arm-protos.h (arm_legitimize_reload_address):
328 2011-01-28 Ian Lance Taylor <iant@google.com>
330 * godump.c (go_define): Ignore macros whose definitions include
331 two adjacent operands.
333 2011-01-28 Jakub Jelinek <jakub@redhat.com>
336 * varasm.c (force_const_mem): Store copy of x in desc->constant
338 * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
339 itself into REG_EQUAL note.
341 2011-01-28 Joseph Myers <joseph@codesourcery.com>
343 * config/freebsd.opt (posix, rdynamic): New Driver options.
345 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
347 * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports
349 * configure: Regenerate.
351 2011-01-27 Joseph Myers <joseph@codesourcery.com>
353 * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.
354 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile.
356 2011-01-27 Anatoly Sokolov <aesok@post.ru>
358 * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove.
359 * config/s390/s390-protos.h (s390_preferred_reload_class): Remove.
360 * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
361 (s390_preferred_reload_class): Make static. Change return and
362 'rclass' argument type to reg_class_t.
364 2011-01-27 Jan Hubicka <jh@suse.cz>
367 * cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
368 (process_function_and_variable_attributes): Check defined weakrefs.
370 2011-01-27 Martin Jambor <mjambor@suse.cz>
372 PR tree-optimization/47228
373 * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
374 build_ref_for_offset.
376 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
378 * config/spu/spu-elf.h (ASM_SPEC): Remove.
380 2011-01-26 Mikael Pettersson <mikpe@it.uu.se>
382 PR rtl-optimization/46856
383 * postreload.c (reload_combine_recognize_const_pattern): Do not
384 separate cc0 setter and user on cc0 targets.
386 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com>
389 * c-typeck.c (c_objc_common_truthvalue_conversion): If we are
390 passed a VOID_TYPE expression, immediately emit an error and
391 return error_mark_node.
393 2011-01-26 Jeff Law <law@redhat.com>
395 PR rtl-optimization/47464
396 * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
397 rather than may_trap_p as needed.
399 2011-01-26 DJ Delorie <dj@redhat.com>
401 PR rtl-optimization/46878
402 * combine.c (insn_a_feeds_b): Check for the implicit cc0
403 setter/user dependency as well.
405 2011-01-26 Eric Botcazou <ebotcazou@adacore.com>
407 PR rtl-optimization/44469
408 * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
409 after removing trivially dead basic blocks.
411 2011-01-26 Joseph Myers <joseph@codesourcery.com>
413 * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.
414 * config/frv/frv.h (LINK_SPEC): Likewise.
415 * config/i386/netware.h (LINK_SPEC): Likewise.
416 * config/m68k/linux.h (ASM_SPEC): Likewise.
417 * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
418 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
419 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
420 * config/sparc/linux.h (ASM_SPEC): Likewise.
421 * config/sparc/linux64.h (ASM_SPEC): Likewise.
422 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
424 2011-01-26 Joseph Myers <joseph@codesourcery.com>
426 * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}.
427 * config/frv/frv.h (ASM_SPEC): Likewise.
428 * config/m68k/linux.h (ASM_SPEC): Likewise.
429 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
430 * config/rs6000/linux64.h (ASM_SPEC): Likewise.
431 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
432 * config/sparc/linux.h (ASM_SPEC): Likewise.
433 * config/sparc/linux64.h (ASM_SPEC): Likewise.
434 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
436 2011-01-26 Joseph Myers <joseph@codesourcery.com>
438 * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}.
439 * config/frv/frv.h (LINK_SPEC): Likewise.
440 * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
442 2011-01-26 Joseph Myers <joseph@codesourcery.com>
444 * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}.
445 * config/frv/frv.h (ASM_SPEC): Likewise.
446 * config/i386/sol2-10.h (ASM_SPEC): Likewise.
447 * config/m68k/linux.h (ASM_SPEC): Likewise.
448 * config/pa/pa-linux.h (ASM_SPEC): Likewise.
449 * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
450 * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
451 * config/sol2.h (ASM_SPEC): Remove comment about -Yd,.
452 * config/sparc/linux.h (ASM_SPEC): Likewise.
453 * config/sparc/linux64.h (ASM_SPEC): Likewise.
454 * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
455 * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}.
457 2011-01-26 Steve Ellcey <sje@cup.hp.com>
460 * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
462 (vec_extract_evenodd_help): Ditto.
463 (vec_extract_evenv4hi): Ditto.
464 (vec_extract_oddv4hi): Ditto.
465 (vec_interleave_lowv2si): Ditto.
466 (vec_interleave_highv2si): Ditto.
467 (vec_extract_evenv2si): Ditto.
468 (vec_extract_oddv2si: Ditto.
469 (vec_pack_trunc_v2si): Ditto.
471 2011-01-22 Jan Hubicka <jh@suse.cz>
474 * cgraph.h (cgraph_local_info): New field can_change_signature.
475 * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
476 signature can change.
477 (ipcp_estimate_growth): Call sequence simplify only if calle signature
479 (ipcp_insert_stage): Only compute args_to_skip if signature can change.
480 (cgraph_function_versioning): We can not change signature of functions
481 that don't allow that.
482 * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
483 (lto_input_node): Likewise.
484 * ipa-inline.c (compute_inline_parameters): Compute local.can_change_signature.
485 * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
486 * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
487 that can not change signature.
488 * i386.c (ix86_function_regparm, ix86_function_sseregparm,
489 init_cumulative_args): Do not use local calling conventions for functions
490 that can not change signature.
492 2011-01-22 Jan Hubicka <jh@suse.cz>
494 * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
496 2011-01-26 Richard Guenther <rguenther@suse.de>
498 PR tree-optimization/47190
499 * cgraphunit.c (process_common_attributes): New function.
500 (process_function_and_variable_attributes): Use it.
502 2011-01-26 Richard Guenther <rguenther@suse.de>
505 * cgraphbuild.c (record_eh_tables): Record reference to personality
508 2011-01-26 Alexandre Oliva <aoliva@redhat.com>
511 * sel-sched.c (moveup_expr): Don't let debug insns prevent
512 non-debug insns from moving up.
514 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
517 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
518 t-dlldir{,-x} fragment for build and add it to tmake_file.
519 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
520 * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
521 * config/i386/t-dlldir: New file.
522 (SHLIB_DLLDIR): Define.
523 * config/i386/t-dlldir-x: New file.
524 (SHLIB_DLLDIR): Define.
525 * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
526 (SHLIB_INSTALL): Use it.
528 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com>
531 * config/arm/arm.c (thumb2_legitimate_index_p): Change the
532 lower bound of the allowed Thumb-2 coprocessor load/store
533 index range to -256. Add explaining comment.
535 2011-01-25 Ian Lance Taylor <iant@google.com>
537 * godump.c (go_define): Improve lexing of macro expansion to only
538 accept expressions which match Go spec.
540 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
543 * tree.c (handle_dll_attribute): Handle it.
544 * doc/extend.texi (@item dllexport): Mention it.
545 * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.
547 2011-01-25 Ian Lance Taylor <iant@google.com>
549 PR tree-optimization/26854
550 * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
551 (decl_jump_unsafe): Move higher in file, with no other change.
552 (bind): Set has_jump_unsafe_decl if appropriate.
553 (update_label_decls): Test has_jump_unsafe_decl to avoid loop.
554 (check_earlier_gotos): Likewise.
555 (c_check_switch_jump_warnings): Likewise.
557 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com>
559 * doc/invoke.texi (Warning Options): Add missing hyphen.
560 (-fprofile-dir): Minor grammatical fixes.
561 (-fbranch-probabilities): Likewise.
563 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
567 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
569 (no_real_insns_p, schedule_block, set_priorities): Drop special
570 treatment of boundary debug insns.
571 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
573 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
574 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
575 (BOUNDARY_DEBUG_INSN_P): Likewise.
576 (SCHEDULE_DEBUG_INSN_P): Likewise.
577 * sched-rgn.c (init_ready_list): Drop special treatment of
578 boundary debug insns.
579 * final.c (rest_of_clean-state): Clear notes' BB.
581 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
583 * Makefile.in (LAMBDA_H): Removed.
584 (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
585 (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
586 lambda-trans.o, and tree-loop-linear.o.
587 (lto-symtab.o): Remove dependence on LAMBDA_H.
588 (tree-loop-linear.o): Remove rule.
589 (lambda-mat.o): Same.
590 (lambda-trans.o): Same.
591 (lambda-code.o): Same.
592 (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
593 (tree-vect-slp.o): Same.
594 * hwint.h (gcd): Moved here.
595 (least_common_multiple): Same.
596 * lambda-code.c: Removed.
597 * lambda-mat.c: Removed.
598 * lambda-trans.c: Removed.
600 * tree-loop-linear.c: Removed.
601 * lto-symtab.c: Do not include lambda.h.
602 * omega.c (gcd): Removed.
603 * passes.c (init_optimization_passes): Remove pass_linear_transform.
604 * tree-data-ref.c (print_lambda_vector): Moved here.
605 (lambda_vector_copy): Same.
606 (lambda_matrix_copy): Same.
607 (lambda_matrix_id): Same.
608 (lambda_vector_first_nz): Same.
609 (lambda_matrix_row_add): Same.
610 (lambda_matrix_row_exchange): Same.
611 (lambda_vector_mult_const): Same.
612 (lambda_vector_negate): Same.
613 (lambda_matrix_row_negate): Same.
614 (lambda_vector_equal): Same.
615 (lambda_matrix_right_hermite): Same.
616 * tree-data-ref.h: Do not include lambda.h.
617 (lambda_vector): Moved here.
618 (lambda_matrix): Same.
619 (dependence_level): Same.
620 (lambda_transform_legal_p): Removed declaration.
621 (lambda_collect_parameters): Same.
622 (lambda_compute_access_matrices): Same.
623 (lambda_vector_gcd): Same.
624 (lambda_vector_new): Same.
625 (lambda_vector_clear): Same.
626 (lambda_vector_lexico_pos): Same.
627 (lambda_vector_zerop): Same.
628 (lambda_matrix_new): Same.
629 * tree-flow.h (least_common_multiple): Removed declaration.
630 * tree-parloops.c (lambda_trans_matrix): Moved here.
634 (LTM_DENOMINATOR): Same.
635 (lambda_trans_matrix_new): Same.
636 (lambda_matrix_vector_mult): Same.
637 (lambda_transform_legal_p): Same.
638 * tree-pass.h (pass_linear_transform): Removed declaration.
639 * tree-ssa-loop.c (tree_linear_transform): Removed.
640 (gate_tree_linear_transform): Removed.
641 (pass_linear_transform): Removed.
642 (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
643 flag_loop_interchange.
645 2011-01-25 Jakub Jelinek <jakub@redhat.com>
647 PR tree-optimization/47265
648 PR tree-optimization/47443
649 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
650 if name still has some uses.
652 2011-01-25 Martin Jambor <mjambor@suse.cz>
654 PR tree-optimization/47382
655 * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
656 (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
658 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
660 * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
661 sjlj_except_unwind_info.
663 2011-01-25 Richard Guenther <rguenther@suse.de>
665 PR tree-optimization/47426
666 * tree-ssa-structalias.c (ipa_pta_execute): Make externally
667 visible functions results escape.
669 2011-01-25 Jakub Jelinek <jakub@redhat.com>
672 * config/arm/arm.c (any_sibcall_uses_r3): New function.
673 (arm_get_frame_offsets): Use it.
675 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
676 Jakub Jelinek <jakub@redhat.com>
678 PR tree-optimization/47271
679 * tree-if-conv.c (bb_postdominates_preds): New.
680 (if_convertible_bb_p): Call bb_postdominates_preds.
681 (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
682 (predicate_scalar_phi): Call bb_postdominates_preds.
684 2011-01-25 Nick Clifton <nickc@redhat.com>
686 * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
687 * config/rx/rx.c (rx_function_value): Likewise.
688 (rx_promote_function_mode): Likewise.
689 (gen_safe_add): Place an outsized immediate value inside an UNSPEC
690 in order to make it legitimate.
691 * config/rx/rx.md (adddi3_internal): If the second operand is a
692 MEM make sure that the first operand is the same as the result
694 (addsi3_unspec): Delete.
695 (subdi3): Do not accept immediate operands.
696 (subdi3_internal): Likewise.
698 2011-01-25 Jeff Law <law@redhat.com>
700 PR rtl-optimization/37273
701 * ira-costs.c (scan_one_insn): Detect constants living in memory and
702 handle them like argument loads from stack slots. Do not double
703 count memory for memory constants and argument loads from stack slots.
705 2011-01-25 Jakub Jelinek <jakub@redhat.com>
707 PR tree-optimization/47427
708 PR tree-optimization/47428
709 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
710 coalesce if the new root var would be TREE_READONLY.
712 2011-01-25 Richard Guenther <rguenther@suse.de>
715 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
716 correct type for TBAA.
718 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
720 * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
721 (close_phi_written_to_memory): Call for_each_index with
722 dr_indices_valid_in_loop.
724 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
726 * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
727 when it is initialized.
729 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
731 * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
732 call to graphite_find_data_references_in_stmt.
733 * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
734 (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update
735 call to graphite_find_data_references_in_stmt.
736 (analyze_drs_in_stmts): Same.
737 * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
738 in which the scalar analysis of indices is performed.
739 (create_data_ref): Same. Update call to dr_analyze_indices.
740 (find_data_references_in_stmt): Update call to create_data_ref.
741 (graphite_find_data_references_in_stmt): Same.
742 * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
744 (create_data_ref): Same.
745 * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
746 call to create_data_ref.
748 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
750 * graphite-sese-to-poly.c (build_poly_scop): Move
751 rewrite_commutative_reductions_out_of_ssa before
752 find_scop_parameters.
754 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
756 * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
757 VAR_DECL, PARM_DECL, and RESULT_DECL.
759 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
761 * graphite-dependences.c (reduction_dr_1): Allow several reductions
763 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
764 that have already been marked as PBB_IS_REDUCTION.
766 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
768 * graphite-scop-detection.c (same_close_phi_node): New.
769 (remove_duplicate_close_phi): New.
770 (make_close_phi_nodes_unique): New.
771 (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
773 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
775 * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
776 * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
777 of both data references to be the same.
779 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
781 * graphite-dependences.c (build_lexicographical_constraint): Remove the
783 (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty.
784 (dependence_polyhedron): Same.
785 (graphite_legal_transform_dr): Same.
786 (graphite_carried_dependence_level_k): Same.
787 * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter.
788 * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
790 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
792 * graphite-sese-to-poly.c
793 (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
794 (close_phi_written_to_memory): New.
795 (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
798 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
800 * doc/install.texi: Update the expected version number of PPL to 0.11.
801 * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
802 #if PPL_VERSION_MINOR < 11.
804 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
806 * graphite-dependences.c: Include graphite-cloog-util.h.
807 (new_poly_ddr): Inlined into dependence_polyhedron.
808 (free_poly_ddr): Moved close by new_poly_ddr.
809 (dependence_polyhedron_1): Renamed dependence_polyhedron.
810 Early return NULL when ppl_powerset_is_empty returns true.
811 (dependence_polyhedron): Renamed new_poly_ddr. Call only once
812 poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty.
813 (graphite_legal_transform_dr): Call new_poly_ddr.
814 (graphite_carried_dependence_level_k): Same.
815 (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr.
816 (dot_transformed_deps_stmt_1): Removed.
817 (dot_deps_stmt_1): Call dot_deps_stmt_2.
818 (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr.
819 (dot_deps_1): Call dot_deps_2.
820 * Makefile.in (graphite-dependences.o): Add missing dependence on
821 graphite-cloog-util.h.
823 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
825 * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
826 (build_lexicographical_constraint): Same.
827 (dependence_polyhedron_1): Same.
828 (graphite_legal_transform_dr): Same.
829 (graphite_carried_dependence_level_k): Same.
830 * graphite-ppl.c (ppl_powerset_is_empty): New.
831 * graphite-ppl.h (ppl_powerset_is_empty): Declared.
832 * tree-data-ref.c (dump_data_reference): Print the basic block index.
834 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
836 * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
837 the "a followed by b" relation and document it.
839 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
841 * graphite-dependences.c (build_lexicographical_constraint): Stop the
842 iteration when the bag of constraints is empty.
844 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
846 * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
848 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
850 * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
851 nest and two loop depths as parameters.
852 (lst_try_interchange_loops): Call lst_interchange_profitable_p after
855 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
857 * graphite-dependences.c (print_pddr): Call
858 ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
860 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
862 * graphite-ppl.c (debug_gmp_value): New.
863 * graphite-ppl.h (debug_gmp_value): Declared.
865 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de>
867 * doc/install.texi: Document availability of cloog-0.16.
869 2011-01-25 Vladimir Kargov <kargov@gmail.com>
871 * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
872 invalid postdominance info.
874 2011-01-24 Jan Hubicka <jh@suse.cz>
877 * doc/extend.texi (weak pragma): Drop claim that it must
878 appear before definition.
879 * varasm.c (merge_weak, declare_weak): Only sanity check
880 that DECL is not output at a time it is declared weak.
882 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com>
884 * machmode.def: Fixed comments.
886 2011-01-24 Kai Tietz <kai.tietz@onevision.com>
888 * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
890 2011-01-24 Paul Koning <ni1d@arrl.net>
892 * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
895 2011-01-24 H.J. Lu <hongjiu.lu@intel.com>
898 * config/i386/i386.c: Include sbitmap.h and fibheap.h.
899 (block_info): Add scanned and prev.
900 (move_or_delete_vzeroupper_2): Return if the basic block
901 has been scanned and the upper 128bit state is unchanged
903 (move_or_delete_vzeroupper_1): Return true if the exit
905 (move_or_delete_vzeroupper): Visit basic blocks using the
906 work-list based algorithm based on vt_find_locations in
909 * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
911 2011-01-24 Nick Clifton <nickc@redhat.com>
913 * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
914 * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
915 -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified
916 then define __v850e1__.
917 * doc/invoke.texi: Document -mv850es.
919 2011-01-24 Richard Henderson <rth@redhat.com>
921 * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
922 compound unordered comparisons.
923 * config/rx/rx.c (rx_split_fp_compare): Remove.
924 * config/rx/rx-protos.h: Update.
925 * config/rx/rx.md (gcc_conds, rx_conds): Remove.
926 (cbranchsf4): Don't call rx_split_fp_compare.
927 (*cbranchsf4): Use rx_split_cbranch.
928 (*cmpsf): Don't accept "i" constraint.
929 (*conditional_branch): Only valid after reload.
930 (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare.
932 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com>
935 * config/rs6000/altivec.md (vector constant splitters): Add
936 support for creating vector single precision constants if -mvsx is
937 used and we would create the constant using Altivec primitives.
939 2011-01-23 Bernd Schmidt <bernds@codesourcery.com>
940 Richard Sandiford <rdsandiford@googlemail.com>
942 PR rtl-optimization/47166
943 * reload1.c (emit_reload_insns): Disable the spill_reg_store
944 mechanism for PRE_MODIFY and POST_MODIFY.
945 (inc_for_reload): For PRE_MODIFY, return the insn that sets the
948 2011-01-23 Andreas Schwab <schwab@linux-m68k.org>
950 * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
952 2011-01-22 Jan Hubicka <jh@suse.cz>
955 * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
957 2011-01-22 Jan Hubicka <jh@suse.cz>
959 PR tree-optimization/43884
961 * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
962 * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
964 2011-01-22 Anatoly Sokolov <aesok@post.ru>
966 * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
967 * config/s390/s390.c (s390_register_move_cost,
968 s390_memory_move_cost): New.
969 (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
971 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
974 * except.c (sjlj_assign_call_site_values): Move setting the
975 crtl->uses_eh_lsda flag to ...
976 (sjlj_mark_call_sites): ... here.
977 (sjlj_emit_function_enter): Support NULL dispatch label.
978 (sjlj_build_landing_pads): In a function with no landing pads
979 that still has must-not-throw regions, generate code to register
980 a personality function with empty LSDA.
982 2011-01-21 Richard Henderson <rth@redhat.com>
984 * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
986 * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
988 * compare-elim.c: New file.
989 * Makefile.in (OBJS-common): Add it.
990 (compare-elim.o): New.
991 * common.opt (fcompare-elim): New.
992 * opts.c (default_options_table): Add OPT_fcompare_elim.
993 * tree-pass.h (pass_compare_elim_after_reload): New.
994 * passes.c (init_optimization_passes): Add it.
995 * recog.h: Protect against re-inclusion.
996 * target.def (TARGET_FLAGS_REGNUM): New POD hook.
997 * doc/invoke.texi (-fcompare-elim): Document it.
998 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
999 * doc/tm.texi: Rebuild.
1001 2011-01-22 Nick Clifton <nickc@redhat.com>
1003 * config/rx/rx.md (cstoresf4): Pass comparison operator to
1004 rx_split_fp_compare.
1006 2011-01-22 Nick Clifton <nickc@redhat.com>
1008 * config/rx/rx.md (UNSPEC_CONST): New.
1009 (deallocate_and_return): Wrap the amount popped off the stack in
1010 an UNSPEC_CONST in order to stop it being rejected by
1011 -mmax-constant-size.
1012 (pop_and_return): Add a "(return)" rtx.
1013 (call): Drop the immediate operand.
1014 (call_internal): Likewise.
1015 (call_value): Likewise.
1016 (call_value_internal): Likewise.
1017 (sibcall_internal): Likewise.
1018 (sibcall_value_internal): Likewise.
1019 (sibcall): Likewise. Generate an explicit call using
1021 (sibcall_value): Likewise.
1022 (mov<>): FAIL if a constant operand is not legitimate.
1023 (addsi3_unpsec): New pattern.
1025 * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
1027 (ok_for_max_constant): New function.
1028 (gen_safe_add): New function.
1029 (rx_expand_prologue): Use gen_safe_add.
1030 (rx_expand_epilogue): Likewise.
1031 (rx_is_legitimate_constant): Use ok_for_max_constant. Handle
1034 2011-01-21 Jeff Law <law@redhat.com>
1036 PR tree-optimization/47053
1037 * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
1038 (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
1039 statements are deleted.
1040 (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP
1041 is nonempty, then purge dead edges and cleanup the CFG.
1043 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
1047 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
1049 * tree-dfa.c (create_var_ann): Mark variable as used.
1051 2011-01-21 Jakub Jelinek <jakub@redhat.com>
1054 * except.c (convert_to_eh_region_ranges): Emit queued no-region
1055 notes from other section in hot/cold partitioning even if
1056 last_action is -3. Increment call_site_base.
1058 PR rtl-optimization/47366
1059 * fwprop.c (forward_propagate_into): Return bool. If
1060 any changes are made, -fnon-call-exceptions is used and
1061 REG_EH_REGION note is present, call purge_dead_edges
1062 and return true if it purged anything.
1063 (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
1064 any EH edges were purged.
1066 2011-01-21 Jeff Law <law@redhat.com>
1068 PR rtl-optimization/41619
1069 * caller-save.c (setup_save_areas): Break out code to determine
1070 which hard regs are live across calls by examining the reload chains
1071 so that it is always used.
1072 Eliminate code which checked REG_N_CALLS_CROSSED.
1074 2011-01-21 Jakub Jelinek <jakub@redhat.com>
1076 PR tree-optimization/47355
1077 * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
1078 NOP has non-debug uses beyond PHIs in new_bb.
1080 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
1083 * cfgexpand.c (account_used_vars_for_block): Only account vars
1084 that are annotated as used.
1085 (estimated_stack_frame_size): Don't set TREE_USED.
1086 * tree-dfa.c (create_var_ann): Mark variable as used.
1088 2011-01-21 Richard Guenther <rguenther@suse.de>
1091 * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
1093 2011-01-21 Richard Guenther <rguenther@suse.de>
1095 PR tree-optimization/47365
1096 * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
1097 (vn_reference_lookup_pieces): Adjust.
1098 (vn_reference_lookup): Likewise.
1099 * tree-ssa-sccvn.c (vn_walk_kind): New static global.
1100 (vn_reference_lookup_3): Only look through kills if in
1101 VN_WALKREWRITE mode.
1102 (vn_reference_lookup_pieces): Adjust.
1103 (vn_reference_lookup): Likewise.
1104 (visit_reference_op_load): Likewise.
1105 (visit_reference_op_store): Likewise.
1106 * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
1107 (compute_avail): Likewise.
1108 (eliminate): Likewise.
1110 2011-01-21 Jakub Jelinek <jakub@redhat.com>
1112 * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
1113 DECL_IGNORED_P non-reg vars if they are used.
1115 PR tree-optimization/47391
1116 * varpool.c (const_value_known_p): Return false if
1119 2011-01-21 Kai Tietz <kai.tietz@onevision.com>
1122 * config/i386/i386.c (ix86_local_alignment): Handle
1123 case for va_list_type_node is nil.
1124 (ix86_canonical_va_list_type): Likewise.
1126 2011-01-21 Alan Modra <amodra@gmail.com>
1128 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
1129 builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
1131 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1133 * config/arm/arm.md (define_attr type): Rename f_load
1134 and f_store to f_fpa_load and f_fpa_store. Update.
1135 (write_conflict): Deal with rename fallout.
1136 (*push_fp_multi): Likewise.
1137 * config/arm/fpa.md (f_load): Use f_fpa_load.
1138 (f_store): Use f_fpa_store.
1139 (*movsf_fpa): Likewise.
1140 (*movdf_fpa): Likewise.
1141 (*movxf_fpa): Likewise.
1142 (*thumb2_movsf_fpa): Likewise.
1143 (*thumb2_movdf_fpa): Likewise.
1144 (*thumb2_movxf_fpa): Likewise.
1145 * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
1146 f_loadd and f_stored.
1147 (*thumb2_movdi_vfp): Likewise.
1148 (*thumb2_movsf_vfp): Fix attribute to f_loads.
1149 (*thumb2_movsi_vfp): Likewise.
1150 * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
1151 Use f_loads instead of f_load.
1152 * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
1154 2011-01-20 Anatoly Sokolov <aesok@post.ru>
1156 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
1157 * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
1158 * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
1159 (xtensa_mode_dependent_address_p): New function.
1160 (constantpool_address_p): Make static. Change return type to bool.
1161 Change argument type to const_rtx. Use CONST_INT_P predicate.
1163 2011-01-20 Alexandre Oliva <aoliva@redhat.com>
1166 * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
1168 2011-01-20 Jakub Jelinek <jakub@redhat.com>
1171 * cfgexpand.c (expand_debug_expr): Instead of generating
1172 (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
1175 2011-01-20 Richard Guenther <rguenther@suse.de>
1178 * tree-inline.c (remap_gimple_op_r): Recurse manually for
1179 the pointer operand of MEM_REFs.
1181 2011-01-20 Jakub Jelinek <jakub@redhat.com>
1183 PR tree-optimization/46130
1184 * ipa-split.c (consider_split): If return_bb contains non-virtual
1185 PHIs other than for retval or if split_function would not adjust it,
1188 2011-01-20 Richard Guenther <rguenther@suse.de>
1190 PR tree-optimization/47167
1191 * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
1192 Revert previous change, only avoid enumeral type changes.
1194 2011-01-19 Mike Stump <mikestump@comcast.net>
1196 * doc/tm.texi.in (BRANCH_COST): Englishify.
1197 * doc/tm.texi (BRANCH_COST): Likewise.
1199 2011-01-19 Dodji Seketeli <dodji@redhat.com>
1202 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
1203 (gen_scheduled_generic_parms_dies): New functions.
1204 (gen_struct_or_union_type_die): Schedule template parameters DIEs
1205 generation for the end of CU compilation.
1206 (dwarf2out_finish): Generate template parameters DIEs here.
1208 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
1211 * tree-into-ssa.c (maybe_register_def): Do not attempt to add
1212 debug bind stmt on merge edges.
1214 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
1218 * function.c (instantiate_expr): Instantiate incoming rtl of
1219 implicit arguments, and recurse on VALUE_EXPRs.
1220 (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
1221 * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
1223 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
1225 * c-parser.c (c_parser_for_statement): Initialize
1226 collection_expression.
1228 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1230 * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
1232 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1234 * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
1235 (LINK_SHLIB_SPEC): Don't use %(link_path).
1236 (SUBTARGET_EXTRA_SPECS): Remove link_path.
1238 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1240 * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
1241 (NO_SHARED_LIB_SUPPORT): Remove.
1242 (LINK_SHLIB_SPEC): Remove one conditional definition.
1244 2011-01-19 Joseph Myers <joseph@codesourcery.com>
1246 * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
1248 * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
1249 * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
1250 * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
1251 %{call_shared} and conditionals on these options not being passed.
1252 * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
1255 2011-01-19 Jakub Jelinek <jakub@redhat.com>
1257 * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
1260 * ipa-split.c: Spelling fixes.
1262 2011-01-19 Richard Henderson <rth@redhat.com>
1264 * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
1265 (*mulsi3): Likewise.
1267 * longlong.h [__mn10300__] (count_leading_zeros): New.
1268 [__mn10300__] (umul_ppmm, smul_ppmm): New.
1269 [__mn10300__] (add_ssaaaa, subddmmss): New.
1270 [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
1271 [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
1273 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1275 * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
1277 2011-01-19 Richard Henderson <rth@redhat.com>
1279 * config/mn10300/mn10300.md (addsi3_flags): New.
1280 (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
1281 (subsi3_flags, subc_internal, subdi3): New.
1282 (subdi3_internal, *subdi3_degenerate): New.
1283 * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
1285 * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
1286 (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
1287 (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once.
1288 * config/mn10300/mn10300-protos.h: Update.
1289 * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
1290 (return_ret): Likewise. Rename from return_internal_regs.
1291 (return_internal): Remove.
1293 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
1294 (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
1295 (mn10300_legitimate_constant_p): Likewise.
1296 (mn10300_can_use_return_insn): Use mn10300_initial_offset.
1297 (mn10300_frame_size): New.
1298 (mn10300_expand_prologue): Use it.
1299 (mn10300_expand_epilogue): Likewise.
1300 (mn10300_initial_offset): Likewise.
1301 * config/mn10300/mn10300-protos.h: Update.
1302 * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
1303 * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
1304 (prologue, epilogue, return_internal): Tidy output code.
1305 (mn10300_store_multiple_operation, return): Likewise.
1306 (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
1307 (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
1308 (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
1309 (load_pic, am33_load_pic): New.
1310 (mn10300_load_pic0, mn10300_load_pic1): New.
1312 * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
1313 * config/mn10300/mn10300.c (CC_FLAG_Z): New.
1314 (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
1315 (cc_flags_for_mode, cc_flags_for_code): New.
1316 (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
1317 overflow flag is not valid. Validate that the flags we need
1318 for the comparison are valid.
1319 (mn10300_output_cmp): Remove.
1320 (mn10300_output_add): New.
1321 (mn10300_select_cc_mode): Use cc_flags_for_code.
1322 (mn10300_split_cbranch): New.
1323 (mn10300_match_ccmode): New.
1324 (mn10300_split_and_operand_count): New.
1325 * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
1327 * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
1328 (addsi3): ... here. Use mn10300_output_add.
1329 (*addsi3_flags): New.
1330 (*am33_subsi3, *mn10300_subsi3): Merge...
1331 (subsi3): ... here. Use attribute isa.
1332 (*subsi3_flags): New.
1333 (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC
1335 (*am33_andsi3, *mn10300_andsi3): Merge...
1337 (*andsi3_flags): New.
1338 (andsi3 splitters): New.
1339 (*am33_iorsi3, *mn10300_iorsi3): Merge...
1341 (*iorsi3_flags): New.
1342 (*am33_xorsi3, *mn10300_xorsi3): Merge...
1344 (*xorsi3_flags): New.
1345 (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
1346 (one_cmplsi2): ... here.
1347 (*one_cmplsi2_flags): New.
1348 (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r"
1349 instead of "dax" in constraints. Use mn10300_split_cbranch.
1350 (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not
1351 use matching constraints to eliminate a self-comparison.
1352 (*integer_conditional_branch): Rename from integer_conditional_branch.
1353 Use int_mode_flags to match CC_REG.
1354 (*cbranchsi4_btst, *btstsi): New.
1355 (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use
1356 mn10300_split_cbranch.
1357 (*am33_cmpsf): Rename from am33_cmpsf.
1358 (*float_conditional_branch): Rename from float_conditional_branch.
1359 (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
1360 (zero_extendqisi2): ... here.
1361 (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
1362 (zero_extendhisi2): ... here.
1363 (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
1364 (extendqisi2): ... here.
1365 (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
1366 (extendhisi2): ... here.
1367 (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
1368 (ashlsi3): ... here.
1369 (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
1370 (lshrsi3): ... here.
1371 (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
1372 (ashrsi3): ... here.
1373 (consecutive add peephole): Remove.
1374 * config/mn10300/predicates.md (label_ref_operand): New.
1375 (int_mode_flags): New.
1376 (CCZN_comparison_operator): New.
1378 * config/mn10300/mn10300.md (UNSPEC_EXT): New.
1379 (throughput_42_latency_43): New reservation.
1380 (mulsidi3, umulsidi3): New expanders.
1381 (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose
1382 the MDR register to allocation; separately allocate the low and
1383 high parts of the DImode result.
1384 (umulsidi3_internal): Similarly.
1385 (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
1386 (*mulsi3): ... here. Clobber MDR as a scratch as necessary.
1387 (udivsi3, umodsi3): Remove.
1388 (udivmodsi4, divmodsi4): New expanders.
1389 (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly.
1390 (*divmodsi4): Simiarly.
1391 (ext_internal): New.
1393 * config/mn10300/constraints.md ("z"): New constraint.
1394 * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
1395 (FIXED_REGISTERS): Don't fix MDR.
1396 (CALL_USED_REGSITERS): Reformat nicely.
1397 (REG_ALLOC_ORDER): Add MDR.
1398 (enum regclass): Add MDR_REGS.
1399 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
1400 (IRA_COVER_CLASSES): Add MDR_REGS.
1401 (REGNO_REG_CLASS): Handle MDR_REG.
1402 * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
1403 (mn10300_register_move_cost): Likewise.
1404 * config/mn10300/mn10300.md (MDR_REG): New.
1405 (*movsi_internal): Handle moves to/from MDR_REGS.
1407 * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
1409 (mn10300_secondary_reload): Tidy combination reload classes.
1410 (mn10300_legitimate_address_p): Allow post-modify and reg+reg
1411 addresses for AM33. Allow symbolic offsets for reg+imm.
1412 (mn10300_regno_in_class_p): New.
1413 (mn10300_legitimize_reload_address): New.
1414 * config/mn10300/mn10300.h (enum reg_class): Remove
1415 DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
1416 SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add
1418 (REG_CLASS_NAMES): Update to match.
1419 (REG_CLASS_CONTENTS): Likewise.
1420 (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
1421 (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
1422 (REGNO_IN_RANGE_P): Remove.
1423 (REGNO_DATA_P): Use mn10300_regno_in_class_p.
1424 (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
1425 (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
1426 (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
1427 (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
1428 (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
1429 (REGNO_GENERAL_P): New.
1430 (HAVE_POST_MODIFY_DISP): New.
1431 (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
1432 (LEGITIMIZE_RELOAD_ADDRESS): New.
1433 * config/mn10300/mn10300-protos.h: Update.
1435 * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
1436 DATA_REGS for AM33 stack-pointer destination.
1437 (mn10300_preferred_output_reload_class): Likewise.
1438 (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
1439 into a form appropriate for ...
1440 (TARGET_SECONDARY_RELOAD): New.
1441 * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
1442 * config/mn10300/mn10300-protos.h: Update.
1443 * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
1444 reload_insi; use the "A" constraint for the scratch; handle AM33
1445 moves of sp to non-address registers.
1447 * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
1448 (*movqi_internal): ... here.
1449 (*am33_movhi, *mn10300_movhi): Merge into...
1450 (*movhi_internal): ... here.
1451 (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A"
1452 as the source/destination of moves from/to SP.
1453 (movsf): Only allow for AM33-2.
1454 (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
1455 any integer constant constraint. Only allow for AM33-2. Tidy
1456 all of the alternative outputs.
1457 (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
1458 (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow
1460 (udivsi3, umodsi3): New patterns for MN103 only.
1462 2011-01-19 Joern Rennecke <amylaar@spamcop.net>
1464 * doc/tm.texi.in: Spell out that a lack of register class unions
1466 * doc/tm.texi: Regenerate.
1468 2011-01-19 Jakub Jelinek <jakub@redhat.com>
1470 PR rtl-optimization/47337
1471 * dce.c (check_argument_store): New function.
1472 (find_call_stack_args): Ignore debug insns. Use check_argument_store.
1474 PR tree-optimization/47290
1475 * tree-eh.c (infinite_empty_loop_p): New function.
1476 (cleanup_empty_eh): Use it.
1478 2011-01-18 Steve Ellcey <sje@cup.hp.com>
1481 * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
1482 (a64_expand_widen_sum): Ditto.
1483 * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
1484 (vec_extract_evenodd_help): Ditto.
1485 (vec_extract_evenv4hi): Ditto.
1486 (vec_extract_oddv4hi): Ditto.
1487 (vec_extract_evenv2si): Ditto.
1488 (vec_extract_oddv2si): Ditto.
1489 (vec_extract_evenv2sf): Ditto.
1490 (vec_extract_oddv2sf): Ditto.
1491 (vec_pack_trunc_v4hi: Ditto.
1492 (vec_pack_trunc_v2si): Ditto.
1493 (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
1494 (vec_interleave_highv8qi): Ditto.
1496 (vec_extract_oddv8qi): Ditto.
1497 (vec_interleave_lowv4hi): Ditto.
1498 (vec_interleave_highv4hi): Ditto.
1499 (vec_interleave_lowv2si): Ditto.
1500 (vec_interleave_highv2si): Ditto.
1502 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1504 * doc/extend.texi: Mention __float128 support on hppa HP-UX.
1505 * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
1506 * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
1507 (pa_c_mode_for_suffix): New.
1508 (TARGET_EXPAND_BUILTIN): Define.
1509 (TARGET_C_MODE_FOR_SUFFIX): Define.
1510 (pa_builtins): Define.
1511 (pa_init_builtins): Register __float128 type and init new support
1513 * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
1514 * config/pa/quadlib.c (_U_Qfcopysign): New.
1516 2011-01-18 Eric Botcazou <ebotcazou@adacore.com>
1519 * explow.c (allocate_dynamic_stack_space): Do not assume more than
1520 BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
1523 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1525 PR tree-optimization/47179
1526 * config/spu/spu.c (spu_ref_may_alias_errno): New function.
1527 (TARGET_REF_MAY_ALIAS_ERRNO): Define.
1529 2011-01-18 Richard Guenther <rguenther@suse.de>
1531 PR rtl-optimization/47216
1532 * emit-rtl.c: Include tree-flow.h.
1533 (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
1534 of replicating it with different semantics.
1535 * Makefile.in (emit-rtl.o): Adjust.
1537 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1539 * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
1541 (cortex_a9_dp): Handle neon types correctly.
1543 2011-01-18 Jakub Jelinek <jakub@redhat.com>
1545 PR rtl-optimization/47299
1546 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
1547 subtarget. Use normal multiplication if both operands are
1549 * expmed.c (expand_widening_mult): Don't try to optimize constant
1550 multiplication if op0 has VOIDmode. Convert op1 constant to mode
1553 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1555 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
1556 spacing after 'e.g.', typos, comma, hyphenation.
1558 2011-01-17 Richard Henderson <rth@redhat.com>
1560 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
1561 (rx_restricted_mem_operand): New.
1562 (rx_shift_operand): Use register_operand.
1563 (rx_source_operand, rx_compare_operand): Likewise.
1564 * config/rx/rx.md (addsi3_flags): New expander.
1565 (adddi3): Rewrite as expander.
1566 (adc_internal, *adc_flags, adddi3_internal): New patterns.
1567 (subsi3_flags): New expander.
1568 (subdi3): Rewrite as expander.
1569 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
1571 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
1572 (rx_init_builtins): Remove sat builtin.
1573 (rx_expand_builtin): Likewise.
1574 * config/rx/rx.md (ssaddsi3): New.
1575 (*sat): Rename from sat. Represent the CC_REG input.
1577 * config/rx/predicates.md (rshift_operator): New.
1578 * config/rx/rx.c (rx_expand_insv): Remove.
1579 * config/rx/rx-protos.h: Update.
1580 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
1581 operand to the canonical position.
1582 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
1583 (*bitclr, *bitclr_in_memory): Similarly.
1584 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
1585 (insv): Retain the zero_extract in the expansion.
1587 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
1588 (bswaphi2, bitinvert, revw): Likewise.
1590 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
1591 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
1592 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
1593 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
1594 (bitset, bitset_in_memory): Likewise.
1595 (bitinvert, bitinvert_in_memory): Likewise.
1596 (bitclr, bitclr_in_memory): Likewise.
1597 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
1598 (rx_strend, rx_cmpstrn): Likewise.
1599 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
1600 (bitop peep2 patterns): Remove.
1602 * config/rx/rx.c (rx_match_ccmode): New.
1603 * config/rx/rx-protos.h: Update.
1604 * config/rx/rx.md (abssi2): Clobber, don't set flags.
1605 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
1606 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
1607 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
1608 (fix_truncsfsi2, floatsisf2): Likewise.
1609 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
1610 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
1611 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
1612 (*subsi3_flags, *xorsi3_flags): New.
1614 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
1616 * config/rx/rx.c (rx_print_operand): Remove workaround for
1617 unsplit comparison operations.
1619 * config/rx/rx.md (movsicc): Split after reload.
1620 (*movsicc): Merge *movsieq and *movsine via match_operator.
1621 (*stcc): New pattern.
1623 * config/rx/rx.c (rx_float_compare_mode): Remove.
1624 * config/rx/rx.h (rx_float_compare_mode): Remove.
1625 * config/rx/rx.md (cstoresi4): Split after reload.
1626 (*sccc): New pattern.
1628 * config/rx/predicates.md (label_ref_operand): New.
1629 (rx_z_comparison_operator): New.
1630 (rx_zs_comparison_operator): New.
1631 (rx_fp_comparison_operator): New.
1632 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
1633 Validate that the flags are set properly for the comparison.
1634 (rx_gen_cond_branch_template): Remove.
1635 (rx_cc_modes_compatible): Remove.
1636 (mode_from_flags): New.
1637 (flags_from_code): Rename from flags_needed_for_conditional.
1638 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
1639 (rx_select_cc_mode): Likewise.
1640 (rx_split_fp_compare): New.
1641 (rx_split_cbranch): New.
1642 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
1643 (*cbranchsi4): Use match_operator and rx_split_cbranch.
1644 (*cbranchsf4): Similarly.
1645 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
1646 match_operator and rx_split_cbranch.
1647 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
1648 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
1649 (*cmpsi): Rename from cmpsi.
1650 (*tstsi): Rename from tstsi.
1651 (*cmpsf): Rename from cmpsf; use CC_Fmode.
1652 (*conditional_branch): Rename from conditional_branch.
1653 (*reveresed_conditional_branch): Remove.
1654 (b<code>): Remove expander.
1655 * config/rx/rx-protos.h: Update.
1657 * config/rx/rx.c (rx_compare_redundant): Remove.
1658 * config/rx/rx.md (cmpsi): Don't use it.
1659 * config/rx/rx-protos.h: Update.
1661 * config/rx/rx-modes.def (CC_F): New mode.
1662 * config/rx/rx.c (rx_select_cc_mode): New.
1663 * config/rx/rx.h (SELECT_CC_MODE): Use it.
1664 * config/rx/rx-protos.h: Update.
1666 2011-01-17 Richard Henderson <rth@redhat.com>
1668 * except.c (dump_eh_tree): Fix stray ; after for statement.
1670 2011-01-17 Richard Guenther <rguenther@suse.de>
1672 PR tree-optimization/47313
1673 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
1674 handling before copying the body. Properly deal with
1675 by-reference result in SSA form.
1677 2011-01-17 Ian Lance Taylor <iant@google.com>
1680 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
1681 (struct_value_alias_set): Don't define.
1682 (sparc_option_override): Don't set sparc_sr_alias_set and
1683 struct_value_alias_set.
1684 (save_or_restore_regs): Use gen_frame_mem rather than calling
1686 (sparc_struct_value_rtx): Likewise.
1688 2011-01-17 H.J. Lu <hongjiu.lu@intel.com>
1691 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
1693 (_mm_maskstore_pd): Likewise.
1694 (_mm_maskload_ps): Likewise.
1695 (_mm_maskstore_ps): Likewise.
1696 (_mm256_maskload_pd): Change mask to __m256i.
1697 (_mm256_maskstore_pd): Likewise.
1698 (_mm256_maskload_ps): Likewise.
1699 (_mm256_maskstore_ps): Likewise.
1701 * config/i386/i386-builtin-types.def: Updated.
1702 (ix86_expand_special_args_builtin): Likewise.
1704 * config/i386/i386.c (bdesc_special_args): Update
1705 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
1706 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
1707 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
1708 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
1710 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
1711 Use <avxpermvecmode> on mask register.
1712 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
1714 2011-01-17 Olivier Hainque <hainque@adacore.com>
1715 Michael Haubenwallner <michael.haubenwallner@salomon.at>
1716 Eric Botcazou <ebotcazou@adacore.com>
1719 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
1720 if <= USHRT_MAX in 32-bit mode.
1722 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1724 * doc/install.texi (Configuration, Specific): Wrap long
1725 lines in examples. Allow line wrapping in long options
1726 and URLs where beneficial for PDF output.
1728 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
1730 * config/mips/mips.c (mips_classify_symbol): Don't return
1731 SYMBOL_PC_RELATIVE for nonlocal labels.
1733 2011-01-15 Eric Botcazou <ebotcazou@adacore.com>
1735 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
1737 2011-01-15 Jan Hubicka <jh@suse.cz>
1739 PR tree-optimization/47276
1740 * ipa.c (function_and_variable_visibility): Do not try to mark alias
1741 declarations as needed.
1743 2011-01-15 Martin Jambor <mjambor@suse.cz>
1745 * common.opt (fdevirtualize): New flag.
1746 * doc/invoke.texi (Option Summary): Document it.
1747 * opts.c (default_options_table): Add devirtualize flag.
1748 * ipa-prop.c (detect_type_change): Return immediately if
1749 devirtualize flag is not set.
1750 (detect_type_change_ssa): Likewise.
1751 (compute_known_type_jump_func): Likewise.
1752 (ipa_analyze_virtual_call_uses): Likewise.
1754 2011-01-14 Martin Jambor <mjambor@suse.cz>
1756 PR tree-optimization/45934
1757 PR tree-optimization/46302
1758 * ipa-prop.c (type_change_info): New type.
1759 (stmt_may_be_vtbl_ptr_store): New function.
1760 (check_stmt_for_type_change): Likewise.
1761 (detect_type_change): Likewise.
1762 (detect_type_change_ssa): Likewise.
1763 (compute_complex_assign_jump_func): Check for dynamic type change.
1764 (compute_complex_ancestor_jump_func): Likewise.
1765 (compute_known_type_jump_func): Likewise.
1766 (compute_scalar_jump_functions): Likewise.
1767 (ipa_analyze_virtual_call_uses): Likewise.
1768 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
1770 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1772 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
1773 * config/i386/i386.opt (msse5): New Alias.
1775 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1777 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
1778 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1779 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1780 * config/sparc/sparc.h (CC1_SPEC): Likewise.
1782 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1784 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
1786 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1787 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1788 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
1789 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
1791 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
1793 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1795 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
1798 2011-01-14 Mike Stump <mikestump@comcast.net>
1800 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
1801 * config/fr30/fr30.md: Likweise
1802 (movsi_push): Likewise.
1803 (movsi_pop): Likewise.
1804 (enter_func): Likewise.
1805 * config/moxie/moxie.md (movsi_push): Likewise.
1806 (movsi_pop): Likewise.
1808 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1810 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
1811 %{no_archive} %{exact_version}.
1812 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
1813 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
1814 %{no_archive} %{exact_version}.
1815 * config/mips/openbsd.h (LINK_SPEC): Likewise.
1816 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
1817 * config/mips/vxworks.h: Likewise.
1819 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1821 * config/microblaze/microblaze.h (ASM_SPEC): Remove
1824 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1826 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
1827 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
1829 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1831 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
1834 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1836 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
1838 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
1839 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
1841 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
1842 Don't handle -shlib.
1844 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1846 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
1847 (CC1_SPEC): Don't handle -profile.
1849 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1851 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
1852 * config/mips/mips.h (CC1_SPEC): Likewise.
1854 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1856 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
1857 * config/mips/mips.h (CC1_SPEC): Likewise.
1859 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1861 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
1862 * config/m32r/linux.h (LINK_SPEC): Likewise.
1863 * config/mips/linux.h (LINK_SPEC): Likewise.
1864 * config/mips/linux64.h (LINK_SPEC): Likewise.
1865 * config/sparc/linux.h (LINK_SPEC): Likewise.
1866 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
1867 LINK_SPEC): Likewise.
1868 * config/xtensa/linux.h (LINK_SPEC): Likewise.
1870 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1872 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
1874 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
1876 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1878 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
1879 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
1881 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1883 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
1885 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1887 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
1888 supports -Bstatic/-Bdynamic.
1889 * configure: Regenerate.
1891 2011-01-14 Jan Hubicka <jh@suse.cz>
1892 Jack Howarth <howarth@bromo.med.uc.edu>
1895 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
1896 when checking debug_info_level. Test write_symbols instead of
1897 debug_hooks->var_location when setting flag_var_tracking_uninit.
1899 2011-01-14 Richard Guenther <rguenther@suse.de>
1901 PR tree-optimization/47179
1902 * target.def (ref_may_alias_errno): New target hook.
1903 * targhooks.h (default_ref_may_alias_errno): Declare.
1904 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
1905 (default_ref_may_alias_errno): New function.
1906 * target.h (struct ao_ref_s): Declare.
1907 * tree-ssa-alias.c: Include target.h.
1908 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
1909 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
1910 (targhooks.o): Likewise.
1911 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
1912 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
1914 2011-01-14 Richard Guenther <rguenther@suse.de>
1916 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
1918 2011-01-14 Richard Guenther <rguenther@suse.de>
1920 PR tree-optimization/47280
1921 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
1923 (tree_ssa_forward_propagate_single_use_vars): Deal with
1924 CFG changes from associate_plusminus.
1926 2011-01-14 Richard Guenther <rguenther@suse.de>
1930 2011-01-11 Richard Guenther <rguenther@suse.de>
1932 PR tree-optimization/46076
1933 * tree-ssa.c (useless_type_conversion_p): Conversions from
1934 unprototyped to empty argument list function types are useless.
1936 2011-01-14 Richard Guenther <rguenther@suse.de>
1938 PR tree-optimization/47286
1939 * tree-ssa-structalias.c (new_var_info): Register variables are global.
1941 2011-01-14 Martin Jambor <mjambor@suse.cz>
1944 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
1946 2011-01-13 Anatoly Sokolov <aesok@post.ru>
1948 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
1949 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
1950 * config/xtensa/xtensa.c (xtensa_libcall_value,
1951 xtensa_function_value_regno_p): New functions.
1952 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
1954 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
1957 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
1959 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
1960 New function prototype.
1961 * config/i386/winnt.c (i386_pe_assemble_visibility):
1962 Warn only if attribute was specified by user.
1964 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1967 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
1969 (floatunsdidf2_fcfidu): Ditto.
1971 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1973 * config/s390/s390.c (print_operand_address): Replace 'error' with
1974 'output_operand_lossage'.
1975 (print_operand): Likewise.
1977 2011-01-13 Jeff Law <law@redhat.com>
1979 PR rtl-optimization/39077
1980 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
1981 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
1982 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
1983 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
1984 * gcse.c (prune_insertions_deletions): New function.
1985 (compute_pre_data): Use it.
1987 2011-01-13 Dodji Seketeli <dodji@redhat.com>
1990 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
1992 (prune_unused_types_mark): Use it.
1994 2011-01-13 Andrey Belevantsev <abel@ispras.ru>
1996 PR rtl-optimization/45352
1997 * sel-sched.c: Update copyright years.
1998 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
1999 in the advancing loop when we have issued issue_rate insns.
2001 2011-01-12 Richard Henderson <rth@redhat.com>
2003 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
2004 (TARGET_MD_ASM_CLOBBERS): New.
2006 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
2007 (TARGET_DELEGITIMIZE_ADDRESS): New.
2009 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
2010 (clzsi2, *bsch): New patterns.
2012 * config/mn10300/mn10300.md (INT): New mode iterator.
2013 (*mov<INT>_clr): New pattern, and peep2 to generate it.
2015 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
2016 flag_split_wide_types.
2018 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
2019 (mn10300_trampoline_init): Rewrite without a template, an immediate
2020 load and a direct branch.
2021 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
2023 2011-01-12 Anatoly Sokolov <aesok@post.ru>
2025 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
2026 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
2027 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
2028 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2030 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
2033 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
2036 2011-01-12 Jan Hubicka <jh@suse.cz>
2039 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
2040 (PLUGIN_COND_CLOSE): New macro.
2041 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
2043 2011-01-12 Richard Guenther <rguenther@suse.de>
2046 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
2047 register variables in a MEM_REF.
2049 2011-01-12 Joseph Myers <joseph@codesourcery.com>
2051 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
2052 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
2053 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
2054 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
2055 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
2056 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
2057 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
2058 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
2059 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
2060 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
2061 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
2062 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
2063 * config/gnu-user.h: New. Copied from linux.h.
2064 (LINUX_TARGET_STARTFILE_SPEC): Rename to
2065 GNU_USER_TARGET_STARTFILE_SPEC.
2066 (LINUX_TARGET_ENDFILE_SPEC): Rename to
2067 GNU_USER_TARGET_ENDFILE_SPEC.
2068 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
2069 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
2070 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
2071 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
2072 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
2073 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
2074 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
2075 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
2076 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
2077 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
2078 * config/arm/linux-eabi.h (CC1_SPEC): Use
2079 GNU_USER_TARGET_CC1_SPEC.
2080 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
2081 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
2082 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
2083 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
2084 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
2085 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
2086 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
2087 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
2089 2011-01-12 Richard Guenther <rguenther@suse.de>
2092 * doc/invoke.texi (ffast-math): Document it is turned on
2095 2011-01-12 Jan Hubicka <jh@suse.cz>
2097 PR tree-optimization/47233
2098 * opts.c (common_handle_option): Disable ipa-reference with profile
2101 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
2103 * c-parser.c (c_parser_objc_at_property_declaration): Improved
2106 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
2108 * c-parser.c (c_lex_one_token): Updated and reindented some
2109 comments. No changes in code.
2111 2011-01-11 Ian Lance Taylor <iant@google.com>
2113 * godump.c (go_output_var): Don't output the variable if there is
2114 already a type with the same name.
2116 2011-01-11 Ian Lance Taylor <iant@google.com>
2118 * godump.c (go_format_type): Don't generate float80.
2120 2011-01-11 Richard Henderson <rth@redhat.com>
2122 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
2123 declaration. Rewrite for both speed and size.
2124 (mn10300_address_cost_1): Remove.
2125 (mn10300_register_move_cost): New.
2126 (mn10300_memory_move_cost): New.
2127 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
2128 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
2129 extensions, shifts, BSWAP, CLZ.
2130 (mn10300_wide_const_load_uses_clr): Remove.
2131 (TARGET_REGISTER_MOVE_COST): New.
2132 (TARGET_MEMORY_MOVE_COST): New.
2133 * config/mn10300/mn10300-protos.h: Update.
2134 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
2136 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
2137 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
2138 * config/mn10300/mn10300-protos.h: Update.
2139 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
2140 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
2141 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
2142 (*test_int_bitfield, *test_byte_bitfield): Remove.
2143 (*bit_test, *subreg_bit_test): Remove.
2144 * config/mn10300/predicates.md (const_8bit_operand): Remove.
2146 * config/mn10300/constraints.md ("c"): Rename from "A".
2147 ("A", "D"): New constraint letters.
2148 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
2149 (fmssf4, fnmasf4, fnmssf4): Likewise.
2151 * config/mn10300/mn10300.md (isa): New attribute.
2152 (enabled): New attribute.
2154 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
2155 (abssf2, negsf2): Define only for hardware fp.
2156 (sqrtsf2): Reformat.
2157 (addsf3, subsf3, mulsf3): Merge expander and insn.
2159 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
2160 (DEBUGGER_AUTO_OFFSET): Remove.
2161 (DEBUGGER_ARG_OFFSET): Remove.
2163 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
2164 Emit register stores with the same offsets as the hardware.
2165 (mn10300_store_multiple_operation): Don't check that the register
2166 save offsets are monotonic.
2167 * config/mn10300/mn10300-protos.h: Update.
2169 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
2171 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
2172 in terms of the value on the stack, not the MDR register.
2174 2011-01-11 Jan Hubicka <jh@suse.cz>
2178 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
2179 (symbol_alias_set_destroy, symbol_alias_set_contains,
2180 propagate_aliases_backward): Declare.
2181 * lto-streamer-out.c (struct sets): New sturcture.
2182 (trivally_defined_alias): New function.
2183 (output_alias_pair_p): Rewrite.
2184 (output_unreferenced_globals): Fix output of alias pairs.
2185 (produce_symtab): Likewise.
2186 * ipa.c (function_and_variable_visibility): Set weak alias destination
2188 * varasm.c (symbol_alias_set_t): Remove.
2189 (symbol_alias_set_destroy): Export.
2190 (propagate_aliases_forward, propagate_aliases_backward): New functions
2192 (compute_visible_aliases): ... this one; remove.
2193 (trivially_visible_alias): New
2194 (trivially_defined_alias): New.
2195 (remove_unreachable_alias_pairs): Rewrite.
2196 (finish_aliases_1): Reorganize code checking if alias is defined.
2197 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
2200 2011-01-11 Richard Guenther <rguenther@suse.de>
2202 PR tree-optimization/46076
2203 * tree-ssa.c (useless_type_conversion_p): Conversions from
2204 unprototyped to empty argument list function types are useless.
2206 2011-01-11 Richard Guenther <rguenther@suse.de>
2209 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
2210 volatile MEMs as MEM_READONLY_P.
2212 2011-01-11 Richard Guenther <rguenther@suse.de>
2214 PR tree-optimization/47239
2215 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
2217 2011-01-11 Jeff Law <law@redhat.com>
2219 PR tree-optimization/47086
2220 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
2221 IVs from statements that might throw.
2223 2011-01-10 Jan Hubicka <jh@suse.cz>
2226 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
2228 2011-01-10 Jan Hubicka <jh@suse.cz>
2231 * profile.c (read_profile_edge_counts): Ignore profile inconistency
2232 when correcting profile.
2234 2011-01-10 Jan Hubicka <jh@suse.cz>
2237 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
2239 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
2240 Restore DECL_FINI_PRIORITY.
2242 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2244 * doc/gimple.texi: Fix quoting of multi-word return values in
2245 @deftypefn statements. Ensure presence of return value. Wrap
2246 overlong @deftypefn lines.
2247 (is_gimple_operand, is_gimple_min_invariant_address): Remove
2248 descriptions of removed functions.
2249 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
2250 of multi-word return value in @deftypefn statement.
2252 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2254 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
2255 (Conditional Expressions, Logical Operators)
2256 (Statement and operand traversals): Do not indent smallexample
2257 code. Fix duplicate function argument in example.
2259 2011-01-10 Jeff Law <law@redhat.com>
2261 PR tree-optimization/47141
2262 * ipa-split.c (split_function): Handle case where we are
2263 returning a value and the return block has a virtual operand phi.
2265 2011-01-10 Jan Hubicka <jh@suse.cz>
2267 PR tree-optimization/47234
2268 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
2269 (pass_feedback_split_functions): Declare.
2270 * passes.c (init_optimization_passes): Add ipa-split as subpass of
2272 * ipa-split.c (gate_split_functions): Update comments; disable
2273 split-functions for profile_arc_flag and branch_probabilities.
2274 (gate_feedback_split_functions): New function.
2275 (execute_feedback_split_functions): New function.
2276 (pass_feedback_split_functions): New global var.
2278 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
2281 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
2282 calling gimple_call_set_cannot_inline.
2284 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
2286 * config/darwin-sections.def: Remove unused section.
2288 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
2291 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
2293 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
2296 * c-parser.c (c_parser_declaration_or_fndef): Improved
2299 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
2301 * config/i386/winnt.c (i386_pe_start_function): Make sure
2302 to switch back to function's section.
2304 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
2308 * plugin.c: Move include of dlfcn.h from here...
2309 * system.h: ... to here.
2311 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2313 * doc/cpp.texi (C++ Named Operators): Fix markup for header
2315 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
2316 two extra empty pages in PDF output.
2318 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
2321 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
2322 for error recovery purposes behave as if it was not specified so
2323 that the default type is usd.
2325 2011-01-07 Jan Hubicka <jh@suse.cz>
2327 PR tree-optmization/46469
2328 * ipa.c (function_and_variable_visibility): Clear needed flags on
2329 nodes with external decls; handle weakrefs merging correctly.
2331 2011-01-07 Joseph Myers <joseph@codesourcery.com>
2333 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
2336 2011-01-07 Jan Hubicka <jh@suse.cz>
2338 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
2339 and no longer claim that gold is required for linker plugin.
2340 * configure: Regenerate.
2341 * gcc.c (PLUGIN_COND): New macro.
2342 (LINK_COMMAND_SPEC): Use it.
2343 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
2344 * config.in (HAVE_LTO_PLUGIN): New.
2345 * configure.ac (--with-lto-plugin): New parameter; autodetect
2348 2011-01-07 Jan Hubicka <jh@suse.cz>
2350 PR tree-optimization/46367
2351 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
2352 when we can update original.
2353 (cgraph_mark_inline_edge): Sanity check.
2354 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
2356 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2358 * config/spu/spu.h (ASM_COMMENT_START): Define.
2360 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
2364 (SWITCH_KEEP_FOR_GCC): Likewise.
2365 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
2366 (do_spec_1): Handle "%>".
2368 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
2370 2011-01-07 Jakub Jelinek <jakub@redhat.com>
2373 * config/i386/i386.c (ix86_delegitimize_address): If
2374 simplify_gen_subreg fails, return orig_x.
2377 * value-prof.c (gimple_stringop_fixed_value): Handle
2378 lhs of the call properly.
2380 2011-01-07 Jan Hubicka <jh@suse.cz>
2383 * lto-opt.c (lto_reissue_options): Set flag_shlib.
2385 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
2387 * target.def (function_switched_text_sections): New hook.
2388 * doc/tm.texi: Regenerated.
2389 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
2390 * final.c (default_function_switched_text_sections): New.
2391 (final_scan_insn): Call function_switched_text_sections when a
2392 mid-function section change occurs.
2393 * output.h (default_function_switched_text_sections): Declare.
2394 * config/darwin-protos.h (darwin_function_switched_text_sections):
2396 * config/darwin.c (darwin_function_switched_text_sections): New.
2397 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
2399 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
2401 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
2402 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
2403 the secondary code fragment when outputting for DWARF == 2.
2405 2011-01-07 Anatoly Sokolov <aesok@post.ru>
2407 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
2408 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
2410 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
2411 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2413 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
2416 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
2417 when it is not empty.
2419 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
2422 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
2423 (case ${target}): Add btver1.
2424 * config/i386/driver-i386.c (host_detect_local_cpu): Let
2425 -march=native recognize btver1 processors.
2426 * config/i386/i386-c.c (ix86_target_macros_internal): Add
2427 btver1 def_and_undef
2428 * config/i386/i386.c (struct processor_costs btver1_cost): New
2430 (m_BTVER1): New definition.
2431 (m_AMD_MULTIPLE): Includes m_BTVER1.
2432 (initial_ix86_tune_features): Add btver1 tune.
2433 (processor_target_table): Add btver1 entry.
2434 (static const char *const cpu_names): Add btver1 entry.
2435 (software_prefetching_beneficial_p): Add btver1.
2436 (ix86_option_override_internal): Add btver1 instruction sets.
2437 (ix86_issue_rate): Add btver1.
2438 (ix86_adjust_cost): Add btver1.
2439 * config/i386/i386.h (TARGET_BTVER1): New definition.
2440 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
2441 (enum processor_type): Add PROCESSOR_BTVER1.
2442 * config/i386/i386.md (define_attr "cpu"): Add btver1.
2444 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2447 * config/i386/i386.c (legitimize_tls_address)
2448 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
2449 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
2450 (tls_initial_exec_64_sun): New pattern.
2452 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
2454 * doc/invoke.texi (Overall Options): Improve wording and markup
2455 of the description of -wrapper.
2457 2011-01-06 Joseph Myers <joseph@codesourcery.com>
2459 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
2460 rdynamic, threads): New Driver options.
2462 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2465 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
2466 if coming from .tdata.
2467 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
2469 2011-01-06 Jan Hubicka <jh@suse.cz>
2472 * collect2.c (main): Do not enable LTOmode when plugin is active.
2474 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2477 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
2478 --version output if supported.
2479 * configure: Regenerate.
2481 2011-01-06 Joseph Myers <joseph@codesourcery.com>
2483 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
2486 2011-01-06 Jakub Jelinek <jakub@redhat.com>
2489 * c-convert.c (convert): When converting a complex expression
2490 other than COMPLEX_EXPR to a different complex type, ensure
2491 c_save_expr is called instead of save_expr, unless in_late_binary_op.
2492 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
2493 when converting COMPLEX_TYPE.
2495 2011-01-06 Ira Rosen <irar@il.ibm.com>
2497 PR tree-optimization/47139
2498 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
2499 only the last reduction value is used outside the loop. Update
2502 2011-01-05 Joseph Myers <joseph@codesourcery.com>
2504 * config/rtems.opt: New.
2505 * config.gcc (*-*-rtems*): Use rtems.opt.
2507 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
2509 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
2510 processors do not support 3DNow instructions.
2512 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2514 * config/spu/spu.c (spu_option_override): Set parameter
2515 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
2517 2011-01-05 Jan Hubicka <jh@suse.cz>
2519 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
2520 at the command line.
2522 2011-01-05 Martin Jambor <mjambor@suse.cz>
2525 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
2526 deltas on streamed outgoing edges.
2527 (output_node_opt_summary): Output info for outgoing edges only when
2528 the node is in new parameter set.
2529 (output_cgraph_opt_summary): New parameter set, passed to the two
2530 aforementioned functions. Update its forward declaration and its
2533 2011-01-05 Tom Tromey <tromey@redhat.com>
2535 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
2536 operator to c_finish_omp_atomic.
2537 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
2538 (build_unary_op): Update.
2539 (build_modify_expr): Update.
2540 (build_asm_expr): Update.
2542 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2544 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
2545 newly inserted insns.
2547 (spu_emit_branch_hint): Likewise.
2548 (insert_hbrp_for_ilb_runout): Likewise.
2549 (spu_machine_dependent_reorg): Call df_finish_pass after
2550 schedule_insns returns.
2552 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2554 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
2556 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
2558 PR tree-optimization/47005
2559 * tree-sra.c (struct access): Add 'non_addressable' bit.
2560 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
2561 (decide_one_param_reduction): Return 0 if the parameter is passed by
2562 reference and one of the accesses in the group is non_addressable.
2564 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2566 PR tree-optimization/47056
2567 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
2568 (mark_load): Likewise. Handle FUNCTION_DECL specially.
2569 (mark_store): Likewise. Pass STMT to ipa_record_reference.
2571 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2573 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
2574 initializer. Skip view conversions from aggregate types.
2576 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
2579 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
2581 2011-01-04 Philipp Thomas <pth@suse.de>
2583 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
2586 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2588 * function.c (thread_prologue_and_epilogue_insns): Do not crash
2589 on empty epilogue sequences.
2591 2011-01-04 Joseph Myers <joseph@codesourcery.com>
2593 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
2594 non-static): New Driver options.
2596 2011-01-04 Jie Zhang <jie@codesourcery.com>
2599 * gcc.c (default_compilers[]): Set combinable field to 0
2600 for all assembly languages.
2602 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
2604 * config/mips/loongson3a.md: New file.
2605 * config/mips/mips.md: Include loongson3a.md.
2606 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
2609 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
2612 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
2613 instead of convert_memory_address_addr_space on the base expression.
2615 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2617 * config/spu/spu.c (spu_option_override): Update error text
2618 for bad -march= / -mtune= values.
2620 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2622 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
2623 if branch-hint optimization will be performed.
2625 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2627 PR tree-optimization/47148
2628 * ipa-split.c (split_function): Convert arguments to
2629 DECL_ARG_TYPE if possible.
2631 PR tree-optimization/47155
2632 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
2635 PR rtl-optimization/47157
2636 * combine.c (try_combine): If undobuf.other_insn becomes
2637 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
2638 and set *new_direct_jump_p too.
2640 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
2642 PR tree-optimization/47021
2643 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
2645 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2647 * gcc.c (process_command): Update copyright notice dates.
2648 * gcov.c (print_version): Likewise.
2649 * gcov-dump.c (print_version): Likewise.
2650 * mips-tfile.c (main): Likewise.
2651 * mips-tdump.c (main): Likewise.
2653 2011-01-03 Martin Jambor <mjambor@suse.cz>
2655 PR tree-optimization/46801
2656 * tree-sra.c (type_internals_preclude_sra_p): Check whether
2657 aggregate fields start at byte boundary instead of the bit-field flag.
2659 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
2662 * gcc.c (main): Revert revision 168407.
2664 2011-01-03 Martin Jambor <mjambor@suse.cz>
2666 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2668 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2670 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
2671 vector optab to expand vector/scalar shift, update gimple to vector.
2673 2011-01-03 Martin Jambor <mjambor@suse.cz>
2675 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
2678 2011-01-03 Martin Jambor <mjambor@suse.cz>
2680 PR tree-optimization/46984
2681 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
2683 (cgraph_create_indirect_edge): Fixed line length.
2684 (cgraph_indirect_call_info): Declare.
2685 (cgraph_make_edge_direct) Update declaration.
2686 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
2687 (cgraph_create_indirect_edge): Use it.
2688 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
2690 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
2691 the new thunk_delta representation.
2692 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
2694 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
2695 (ipa_read_indirect_edge_info): Likewise.
2696 * lto-cgraph.c (output_edge_opt_summary): New function.
2697 (output_node_opt_summary): Call it on all outgoing edges.
2698 (input_edge_opt_summary): New function.
2699 (input_node_opt_summary): Call it on all outgoing edges.
2701 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
2704 * gcc.c (main): Don't check have_o when settting combine_inputs.
2706 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
2708 * regrename.c: Add general comment describing the pass.
2709 (struct du_head): Remove 'length' field.
2710 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
2711 (regrename_optimize): Do not sort chains. Rework comments, add others.
2712 Force renaming to the preferred class (if any) in the first pass and do
2713 not consider registers that belong to it in the second pass.
2714 (create_new_chain): Do not set 'length' field.
2715 (scan_rtx_reg): Likewise.
2717 2011-01-02 Jakub Jelinek <jakub@redhat.com>
2719 PR tree-optimization/47140
2720 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
2721 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
2724 PR rtl-optimization/47028
2725 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
2726 parm_birth_insn instead of at the beginning of first bb.
2728 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
2730 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
2731 Remove the word "see" before "@pxref".
2732 * doc/rtl.texi: Remove the word "see" before "@pxref".
2734 2011-01-01 Jan Hubicka <jh@suse.cz>
2736 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
2739 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
2742 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
2745 Copyright (C) 2011 Free Software Foundation, Inc.
2747 Copying and distribution of this file, with or without modification,
2748 are permitted in any medium without royalty provided the copyright
2749 notice and this notice are preserved.