1 2010-01-16 Harsha Jagasia <harsha.jagasia@amd.com>
4 * config/i386/i386.c (ix86_fixup_binary_operands):
5 Revert FMA4 fixup of operands.
7 2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10 * Makefile.in (write_entries_to_file, install-plugin):
11 Use \012 instead of \n with tr.
13 2010-01-16 Richard Sandiford <r.sandiford@uk.ibm.com>
15 * configure.ac (HAVE_AS_REF): New C macro.
16 * configure: Regenerate.
17 * config.in: Likewise.
18 * collect2.c (main): Only postpone SCAN_DWEH to the second pass
20 * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
23 2010-01-16 Joern Rennecke <amylaar@spamcop.net>
25 * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
27 (TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.
29 (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.
31 (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.
33 (TARGET_IN_SMALL_DATA_P): Fix argument type.
35 (TARGET_BINDS_LOCAL_P): Fix argument type.
37 (TARGET_ASM_FILE_END): Use prototype.
39 (TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.
41 (TARGET_DWARF_CALLING_CONVENTION): Fix argument type.
43 (TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.
45 (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.
47 (TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
48 (TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.
50 (TARGET_PCH_VALID_P): Put 'const char *' in braces.
51 (TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.
53 (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
54 (TARGET_ADDR_SPACE_SUBSET_P): Likewise.
55 (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
56 (TARGET_ADDR_SPACE_CONVERT): Likewise.
58 (TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.
60 (TARGET_MACHINE_DEPENDENT_REORG: Use prototype.
62 (TARGET_INIT_BUILTINS): Use prototype.
64 (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
65 Put 'const char *' in braces. Fix parameter types.
66 (TARGET_INVALID_CONVERSION): Fix parameter types.
67 (TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
68 (TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.
70 (TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
73 (TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.
75 (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.
77 2010-01-15 Joern Rennecke <amylaar@spamcop.net>
79 * doc/tm.texi (TARGET_HELP): Fix return type.
81 (TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
82 in braces. Fix argument types.
84 (TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.
86 (TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.
88 (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.
90 (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
91 (TARGET_FIXED_POINT_SUPPORTED_P): Likewise.
93 (TARGET_MANGLE_TYPE): Fix argument types.
95 (TARGET_IRA_COVER_CLASSES): Use prototype.
97 (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type. Use prototype.
99 (TARGET_CAN_ELIMINATE): Use identifiers for argument names.
101 (TARGET_PROMOTE_PROTOTYPES): Fix argument type.
103 (TARGET_MUST_PASS_IN_STACK): Fix argument type.
105 (TARGET_CALLEE_COPIES): Fix argument types.
107 (TARGET_SPLIT_COMPLEX_ARG): Fix argument type.
109 (TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.
111 (TARGET_FUNCTION_VALUE): Fix argument types.
113 (TARGET_RETURN_IN_MSB): Fix argument type.
115 (TARGET_RETURN_IN_MEMORY): Fix argument types.
117 (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.
119 (TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.
121 (TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
122 agree with return type.
124 (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.
126 2010-01-15 Jing Yu <jingyu@google.com>
128 PR rtl-optimization/42691
129 * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
130 a pseudo to a constant and are merged, and adjust comments.
132 2010-01-15 Eric Botcazou <ebotcazou@adacore.com>
134 * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.
136 2010-01-15 Richard Guenther <rguenther@suse.de>
139 * tree-cfgcleanup.c (remove_forwarder_block): Move destination
140 labels of computed or non-local gotos to the destination.
141 * tree-cfg.c (gimple_verify_flow_info): Verify that a EH
142 landing pad label is the first label.
144 2010-01-15 Richard Guenther <rguenther@suse.de>
146 * tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.
148 2010-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
151 * config/rs6000/rs6000.md (sqrtdf2): Split into expander and insn
152 to allow generation of the xssqrtdp instruction on power7.
153 (sqrtdf2_fpr): Ditto.
155 2010-01-14 Jakub Jelinek <jakub@redhat.com>
158 * c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
159 functions with noreturn attribute.
162 * varasm.c (declare_weak): Add weak attribute to decl if it
163 doesn't have one already.
164 (assemble_external): Only add decls to weak_decls if they also
167 2010-01-14 Alexandre Oliva <aoliva@redhat.com>
169 * var-tracking.c (var_reg_delete): Don't delete the association
170 between REGs and values or one-part variables if the register
173 2010-01-14 Jakub Jelinek <jakub@redhat.com>
176 * tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
177 because its first operand is a non-localized variable.
179 2010-01-14 Martin Jambor <mjambor@suse.cz>
181 PR tree-optimization/42706
182 * tree-sra.c (encountered_recursive_call): New variable.
183 (encountered_unchangable_recursive_call): Likewise.
184 (sra_initialize): Initialize both new variables.
185 (callsite_has_enough_arguments_p): New function.
186 (scan_function): Call decl and flags check only for IPA-SRA, check
187 whether there is a recursive call and whether it has enough arguments.
188 (all_callers_have_enough_arguments_p): New function.
189 (convert_callers): Look for recursive calls only when
190 encountered_recursive_call is set.
191 (ipa_early_sra): Bail out either if
192 !all_callers_have_enough_arguments_p or
193 encountered_unchangable_recursive_call.
195 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
197 * sel-sched.c: Add 2010 to copyright years.
198 * sel-sched-ir.c: Likewise.
199 * sel-sched-ir.h: Likewise.
201 2010-01-14 Martin Jambor <mjambor@suse.cz>
203 PR tree-optimization/42714
204 * tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
205 constructors specially.
207 2010-01-14 Andi Kleen <ak@linux.intel.com>
209 * config/i386/drivers-i386.c (detect_caches_intel):
210 Add l2sizekb parameter and fill in.
211 (host_detect_local_cpu): Add l2sizekb, fill in.
212 Add Atom small cache heuristic.
214 2010-01-14 Andi Kleen <ak@linux.intel.com>
216 * config/i386/drivers-i386.c (detect_caches_cpuid4):
217 Add level3 parameter and fill in.
218 (detect_caches_intel): Handle level3 cache.
220 2010-01-14 Andi Kleen <ak@linux.intel.com>
222 * config/i386/drivers-i386.c (host_detect_local_cpu):
223 Fix core duo detection.
225 2010-01-14 Andi Kleen <ak@linux.intel.com>
227 * config/i386/drivers-i386.c (host_detect_local_cpu):
230 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
232 * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
233 (rs6000_variable_issue_1): this. Use...
234 (rs6000_variable_issue): here. Reimplement. Print debug info.
236 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
238 * sel-sched-ir.c (sel_restore_other_notes): Rename to
239 sel_restore_notes. Update all callers. Call reemit_notes
242 2010-01-14 Andrey Belevantsev <abel@ispras.ru>
244 PR rtl-optimization/42246
245 * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
248 2010-01-14 Andrey Belevantsev <abel@ispras.ru>
250 * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
251 all successors is the same as number of successors in current region.
253 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
255 * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
256 to rename is not separable. Otherwise check that its LHS is not NULL.
258 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
260 * sel-sched.c (choose_best_reg_1): Loop over all regs for mode.
262 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
264 * sel-sched.c (mark_unavailable_hard_regs): Do not try to search
265 available registers when failed to discover LHS register class.
266 Fix indentation. Update comment.
268 2010-01-14 Andrey Belevantsev <abel@ispras.ru>
269 Alexander Monakov <amonakov@ispras.ru>
271 PR rtl-optimization/42389
272 * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
274 (advance_state_on_fence): Likewise.
275 (sel_target_adjust_priority): Print debug output only when
276 sched_verbose >= 4, not 2.
277 (get_expr_cost): Do not issue all unique insns on the next cycle.
278 (fill_insns): Initialize can_issue_more from the value saved
280 * sel-sched-ir.c (flist_add): New parameter issue_more.
281 Init FENCE_ISSUE_MORE with it.
282 (merge_fences): Likewise.
283 (init_fences): Update call to flist_add.
284 (add_to_fences, add_clean_fence_to_fences)
285 (add_dirty_fence_to_fences): Likewise.
286 (move_fence_to_fences): Update call to merge_fences.
287 (invoke_reorder_hooks): Do not reset can_issue_more on insns from
289 * sel-sched-ir.h (struct _fence): New field issue_more.
290 (FENCE_ISSUE_MORE): New accessor macro.
292 2010-01-14 Andrey Belevantsev <abel@ispras.ru>
294 PR rtl-optimization/42388
295 * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks
296 that have no predecessors nor successors. Do not call move_bb_info
297 for empty blocks outside of current region.
299 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
301 PR rtl-optimization/42294
302 * sel-sched-ir.h (struct _sel_insn_data): Update comment.
303 * sel-sched.c (move_exprs_to_boundary): Transitively add all
304 originators' originators.
306 2010-01-14 Alexander Monakov <amonakov@ispras.ru>
308 PR rtl-optimization/39453
309 PR rtl-optimization/42246
310 * sel-sched-ir.c (considered_for_pipelining_p): Do not test
312 (sel_add_loop_preheaders): Add preheader to last_added_blocks.
314 2010-01-14 Andrey Belevantsev <abel@ispras.ru>
315 Alexander Monakov <amonakov@ispras.ru>
318 * sel-sched-ir.c (sel_recompute_toporder): New. Use it...
319 (maybe_tidy_empty_bb): ... here. Make static. Add new
320 argument. Update all callers.
321 (tidy_control_flow): ... and here. Recompute topological order
322 of basic blocks in region if necessary.
323 (sel_redirect_edge_and_branch): Change return type. Return true
324 if topological order might have been invalidated.
325 (purge_empty_blocks): Export and move from...
326 * sel-sched.c (purge_empty_blocks): ... here.
327 * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
328 (maybe_tidy_empty_bb): Delete prototype.
329 (purge_empty_blocks): Declare.
331 2010-01-14 Andrey Belevantsev <abel@ispras.ru>
333 PR rtl-optimization/42249
334 * sel-sched.c (try_replace_dest_reg): When chosen register
335 and original register is the same, do not bail out early, but
336 still check all original insns for validity of replacing destination
337 register. Set EXPR_TARGET_AVAILABLE to 1 before leaving function
340 2010-01-14 Jakub Jelinek <jakub@redhat.com>
343 Port from no-undefined-overflow branch:
344 2009-03-09 Richard Guenther <rguenther@suse.de>
346 * fold-const.c (add_double_with_sign): Fix unsigned overflow detection.
348 2010-01-14 Richard Guenther <rguenther@suse.de>
351 * gimple.c (iterative_hash_gimple_type): Avoid hashing
354 2010-01-14 Ira Rosen <irar@il.ibm.com>
356 PR tree-optimization/42709
357 * tree-vect-slp.c (vect_get_constant_vectors): Use constant's type
358 as scalar type in creation of constant vector operand.
360 2010-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
363 * Makefile.in ($(TESTSUITEDIR)/site.exp, check-%)
364 (check-parallel-%): Match `testsuite' directory component only
367 2010-01-14 Shujing Zhao <pearly.zhao@oracle.com>
370 * gcc.c (do_spec_1): Wrapped the error and notice messages of specs
373 2010-01-13 Richard Guenther <rguenther@suse.de>
375 PR tree-optimization/42730
376 * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for
379 2010-01-13 Steve Ellcey <sje@cup.hp.com>
382 * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
383 for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
386 2010-01-13 Bernd Schmidt <bernd.schmidt@analog.com>
388 * config/bfin/libgcc-bfin.ver: Regenerate based on current
389 libgcc-std.ver. Add entries for ___smulsi3_highpart and
392 * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
393 rather than schedule_insns if the pass is enabled.
395 2010-01-13 Martin Jambor <mjambor@suse.cz>
397 PR tree-optimization/42704
398 * tree-sra.c (sra_modify_assign): Do not delete assignments to
401 2010-01-13 Martin Jambor <mjambor@suse.cz>
403 PR tree-optimization/42703
404 * tree-sra.c (analyze_access_subtree): Check that we can build a
405 reference to the original data within the aggregate.
407 2010-01-13 Richard Guenther <rguenther@suse.de>
409 PR tree-optimization/42705
410 * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after
413 2010-01-13 Richard Guenther <rguenther@suse.de>
416 * fold-const.c (fold_unary_loc): Fold INDIRECT_REFs.
418 2010-01-13 Jakub Jelinek <jakub@redhat.com>
421 * var-tracking.c (values_to_unmark): New variable.
422 (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in
423 values_to_unmark vector. Moved body to...
424 (find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO,
425 instead queue it into values_to_unmark vector.
426 (vt_find_locations): Free values_to_unmark vector.
428 2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com>
430 * config/s390/s390.c (override_options): Set
431 default of max-pending-list-length to 256
433 2010-01-13 Richard Guenther <rguenther@suse.de>
436 * tree-pass.h (PROP_gimple_lcx): New.
437 * cfgexpand.c (pass_expand): Require PROP_gimple_lcx.
438 * passes.c (init_optimization_passes): Move pass_lower_complex_O0
439 before the final cleanup_eh.
440 (dump_properties): Dump PROP_gimple_lcx.
441 * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx.
442 (tree_lower_complex_O0): Remove.
443 (gate_no_optimization): Run if PROP_gimple_lcx is not set.
444 (pass_lower_complex_O0): Provide PROP_gimple_lcx. Run
445 tree_lower_complex, schedule TODO_update_ssa.
446 * lto-streamer-out.c (output_function): Stream the functions
448 * lto-streamer-in.c (input_function): Likewise.
449 (lto_read_body): Do not override them here.
451 2010-01-12 Joseph Myers <joseph@codesourcery.com>
454 * c-typeck.c (build_c_cast): Fold value cast to union type before
455 wrapping it in a CONSTRUCTOR.
457 2010-01-12 Jakub Jelinek <jakub@redhat.com>
459 PR rtl-optimization/42699
460 * cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are
463 2010-01-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
465 * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
466 SUBTARGET_WARN_UNUSED_SPEC): Move ...
467 config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
468 SUBTARGET_WARN_UNUSED_SPEC): ... here
469 * config/mips/iris5.h (LIBGCC_SPEC): Define.
471 2010-01-12 Julian Brown <julian@codesourcery.com>
473 * config/arm/neon-schedgen.ml (Utils): Don't try to
475 (find_with_result): New.
477 2010-01-12 Jakub Jelinek <jakub@redhat.com>
480 * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
481 sharing when canonicalizing ({lt,ge}u (plus a b) b).
483 PR tree-optimization/42645
484 * tree-inline.c (processing_debug_stmt): Move earlier. Make static.
485 (remap_ssa_name): If processing_debug_stmt and name wasn't found in
486 decl_map, set processing_debug_stmt to -1 and return name without
489 2010-01-11 Dave Korn <dave.korn.cygwin@gmail.com>
491 * doc/install.texi (Specific#x-x-cygwin): Document minimum required
492 binutils version, and reword target configuration description.
494 2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
496 * config/avr/avr.h (LINKER_NAME): Remove.
498 2010-01-11 Janis Johnson <janis187@us.ibm.com>
501 * config/rs6000/rs6000.c (rs6000_override_options): On targets
502 that support VSX, warn for -mno-altivec if vsx is not disabled,
505 2010-01-11 Joseph Myers <joseph@codesourcery.com>
506 Shujing Zhao <pearly.zhao@oracle.com>
509 * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
510 fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
511 character between option name and help text.
512 * c.opt (imultilib): Likewise.
514 2010-01-10 Rafael Avila de Espindola <espindola@google.com>
516 * lto-streamer-out.c (output_unreferenced_globals): Output static
519 2010-01-10 Steven Bosscher <steven@gcc.gnu.org>
521 PR rtl-optimization/42621
522 * bb-reorder.c (gate_duplicated_computed_gotos): Only run if not
524 (duplicate_computed_gotos): Remove now-redundant check.
526 2010-01-10 Steve Ellcey <sje@cup.hp.com>
529 * configure.ac: Save and restore LDFLAGS and LIBS
530 * configure: Regenerate.
532 2010-01-10 Richard Guenther <rguenther@suse.de>
535 * builtins.c (fold_builtin_strlen): Add type argument and
536 convert the resulting length to it.
537 (fold_builtin_1): Adjust.
539 2010-01-09 Jakub Jelinek <jakub@redhat.com>
541 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
542 sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
544 (num_insns_constant_wide): Adjust for that change.
546 2010-01-09 Alexandre Oliva <aoliva@redhat.com>
549 * web.c (union_defs): Add used argument, to combine uses of
551 (entry_register): Adjust type and tests of used argument.
552 (web_main): Widen used for new use. Pass it to union_defs.
553 * df.h (union_defs): Adjust prototype.
555 2010-01-09 Alexandre Oliva <aoliva@redhat.com>
558 * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
559 uses in new incoming argument. Free body.
560 (reset_debug_uses_in_loop): New.
561 (analyze_insn_to_expand_var): Call the latter if the former found
562 anything. Fix whitespace. Reject invalid dest overlaps before
563 going through all insns in the loop.
565 2010-01-09 Alexandre Oliva <aoliva@redhat.com>
568 * haifa-sched.c (dying_use_p): Debug insns don't count.
570 2010-01-09 Alexandre Oliva <aoliva@redhat.com>
573 * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
574 * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
575 (verify_gimple_call): Reject LHS in noreturn calls.
577 2010-01-09 Alexandre Oliva <aoliva@redhat.com>
581 * tree-vect-loop-manip.c (adjust_info): New type.
582 (adjust_vec): New pointer to vector.
583 (adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
584 (adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
585 (slpeel_update_phis_for_duplicate_loop): Use them.
586 (slpeel_update_phi_nodes_for_guard1): Likewise.
587 (slpeel_update_phi_nodes_for_guard2): Likewise.
588 (slpeel_tree_peel_loop_to_edge): Likewise.
589 (vect_update_ivs_after_vectorizer): Likewise.
591 2010-01-09 Alexandre Oliva <aoliva@redhat.com>
593 * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
594 (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
596 2010-01-09 Alexandre Oliva <aoliva@redhat.com>
598 * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
599 bogus uninitialized warning.
601 2010-01-09 Richard Guenther <rguenther@suse.de>
604 * tree-scalar-evolution.c (interpret_loop_phi): Make sure
605 the evolution is compatible with the initial condition.
607 2010-01-09 Jakub Jelinek <jakub@redhat.com>
609 * gcc.c (process_command): Update copyright notice dates.
610 * gcov.c (print_version): Likewise.
611 * gcov-dump.c (print_version): Likewise.
612 * mips-tfile.c (main): Likewise.
613 * mips-tdump.c (main): Likewise.
615 2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
618 * config/avr/avr.md (rotlqi3): Add CONST_INT_P check.
623 (rotlsi3_16): Delete.
624 (rotlsi3_24): Delete.
628 * config/avr/avr.c (avr_rotate_bytes): New function.
629 * config/avr/avr-proto.h (avr_rotate_bytes): New function.
631 2010-01-08 Steve Ellcey <sje@cup.hp.com>
634 * configure.ac: Modify -rdynamic check.
635 * configure: Regenerate.
637 2010-01-08 DJ Delorie <dj@redhat.com>
639 * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
640 register popping order.
642 2010-01-08 Richard Guenther <rguenther@suse.de>
645 * c.opt (fsigned-char): Also let LTO handle this option.
646 (funsigned-char): Likewise.
648 2010-01-07 Richard Guenther <rguenther@suse.de>
650 * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING.
651 (gimple_op): Likewise.
652 (gimple_op_ptr): Likewise.
653 (gimple_assign_set_lhs): Remove gcc_assert.
654 (gimple_assign_set_rhs1): Likewise.
655 (gimple_assign_set_rhs2): Likewise.
656 (gimple_call_set_lhs): Likewise.
657 (gimple_call_set_fn): Likewise.
658 (gimple_call_set_fndecl): Likewise.
659 (gimple_call_fndecl): Likewise.
660 (gimple_call_return_type): Likewise.
661 (gimple_call_set_chain): Likewise.
662 (gimple_call_num_args): Likewise.
663 (gimple_call_set_arg): Likewise.
664 (gimple_cond_set_code): Likewise.
665 (gimple_cond_set_lhs): Likewise.
666 (gimple_cond_set_rhs): Likewise.
667 (gimple_cond_set_true_label): Likewise.
668 (gimple_cond_set_false_label): Likewise.
669 (gimple_label_set_label): Likewise.
670 (gimple_goto_set_dest): Likewise.
671 (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING.
672 (gimple_debug_bind_get_value): Likewise.
673 (gimple_debug_bind_get_value_ptr): Likewise.
674 (gimple_debug_bind_set_var): Likewise.
675 (gimple_debug_bind_set_value): Likewise.
676 (gimple_debug_bind_reset_value): Likewise.
677 (gimple_debug_bind_has_value_p): Likewise.
678 (gimple_return_retval_ptr): Remove gcc_assert.
679 (gimple_return_retval): Likewise.
680 (gimple_return_set_retval): Likewise.
681 * tree-flow.h (struct gimple_df): Remove nonlocal_all member.
682 (safe_referenced_var_iterator): Remove.
683 (FOR_EACH_REFERENCED_VAR_SAFE): Likewise.
684 * tree-flow-inline.h (gimple_nonlocal_all): Remove.
685 (fill_referenced_var_vec): Remove.
686 (first_readonly_imm_use): Remove redundant gcc_assert.
687 (phi_arg_index_from_use): Combine gcc_asserts.
688 (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING.
689 (first_imm_use_stmt): Remove redundant gcc_assert.
690 * tree-cfg.c (verify_gimple_call): Verify function and chain
691 operands. Verify arguments.
692 (verify_types_in_gimple_stmt): Verify condition code and labels.
694 2010-01-07 Richard Guenther <rguenther@suse.de>
696 PR tree-optimization/42641
697 * sese.c (rename_map_elt_info): Use the SSA name version, do
700 2010-01-07 Jakub Jelinek <jakub@redhat.com>
702 PR tree-optimization/42625
703 * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
704 TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
707 2010-01-07 Duncan Sands <baldrick@free.fr>
709 * Makefile.in (PLUGIN_HEADERS): Add version.h.
711 2010-01-07 Uros Bizjak <ubizjak@gmail.com>
714 * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
715 note itself is not function_invariant_p.
717 2009-01-07 Steven Bosscher <steven@gcc.gnu.org>
719 * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
720 Do not add the DF_NOTE problem.
721 * store-motion.c (execute_rtl_store_motion): Likewise.
723 2010-01-07 Martin Jambor <mjambor@suse.cz>
725 PR tree-optimization/42157
726 * tree-sra.c (compare_access_positions): Stabilize sort if both
727 accesses have integer types, return zero immediately if they are the
730 2010-01-06 Richard Henderson <rth@redhat.com>
733 * haifa-sched.c (add_to_note_list): Merge into ...
734 (concat_note_lists): ... here, and ...
735 (unlink_other_notes, rm_other_notes): Merge into...
736 (remove_notes): ... here. Create REG_SAVE_NOTEs for
737 NOTE_INSN_EPILOGUE_BEG.
739 2010-01-06 Richard Guenther <rguenther@suse.de>
741 * ipa-inline.c (cgraph_decide_inlining_incrementally): Do
742 not inline regular functions into always-inline functions.
744 2010-01-06 Nick Clifton <nickc@redhat.com>
746 * config/rx/rx.h (enum rx_cpu_type): Add RX200.
747 (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
749 (OVERRIDE_OPTIONS): Delete.
750 (OPTIMIZATION_OPTIONS): Define.
751 (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
752 * config/rx/rx.c (rx_handle_option): Issue an error message if
753 -mcpu=rx200 and -fpu are used together.
754 (rx_set_optimization_options): New function. Issue an error
755 message if an optimization attribute attempts to reset the FPU/
756 math optimization pairing.
757 * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
758 * config/rx/rx.opt: Set the default to 32-bit doubles.
759 * config/rx/t-rx: Add multilibs for -nofpu option.
760 * doc/invoke.texi: Update documentation of RX options.
762 2010-01-06 Richard Guenther <rguenther@suse.de>
764 * tree-ssa-pre.c (name_to_id): New global.
765 (alloc_expression_id): Simplify SSA name handling.
766 (lookup_expression_id): Likewise.
767 (init_pre): Zero name_to_id.
770 2010-01-06 Uros Bizjak <ubizjak@gmail.com>
772 * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
774 2010-01-05 H.J. Lu <hongjiu.lu@intel.com>
777 * config/i386/sse.md (smaxv2di3): New.
778 (umaxv2di3): Likewise.
779 (sminv2di3): Likewise.
780 (uminv2di3): Likewise.
782 2010-01-05 Eric Botcazou <ebotcazou@adacore.com>
785 * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
786 * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
787 (legitimize_tls_address): Likewise.
788 (sparc_tls_referenced_p): Likewise.
789 * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
790 and adjust calls to legitimize_pic_address.
791 (legitimate_constant_p) Use sparc_tls_referenced_p.
792 (legitimate_pic_operand_p): Likewise.
793 (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
794 (sparc_tls_symbol_ref_1): Delete.
795 (sparc_tls_referenced_p): Make static, recognize specific patterns.
796 (legitimize_tls_address): Make static, handle CONST patterns.
797 (legitimize_pic_address): Make static, remove unused parameter and
798 adjust recursive calls.
799 (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
800 and adjust call to legitimize_pic_address.
801 (sparc_output_mi_thunk): Likewise.
803 2010-01-05 Paolo Bonzini <bonzini@gnu.rg>
804 H.J. Lu <hongjiu.lu@intel.com>
807 * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
808 for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
809 operands to make them signed.
812 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
815 * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
816 GTU to GT for V4SI and V2DI.
818 * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
819 (umin<mode>3): Removed.
821 (uminv4si3): Likewise.
823 2010-01-05 Martin Jambor <mjambor@suse.cz>
825 PR tree-optimization/42462
826 * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
827 current_function_decl to helper functions and macros.
829 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
832 * flags.h: Don't include real.h.
833 (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
834 HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
835 * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
836 HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
837 * dominance.c: Update copyright.
838 * gimple.c (walk_gimple_op): Remove inline.
839 * tree-ssa-reassoc.c: Include real.h.
840 * Makefile.in (FLAGS_H): Remove $(REAL_H).
841 (tree-ssa-reassoc.o): Depend on $(REAL_H).
843 2010-01-05 Nick Clifton <nickc@redhat.com>
845 * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
846 register to push into the stack frame when the accumulator has to
847 be saved during interrupts.
849 2010-01-05 Eric Fisher <joefoxreal@gmail.com>
851 * doc/invoke.texi: Remove the documentation about option
853 * common.opt (Wunreachable-code): Preserved for backward
855 * tree-cfg.c: Remove the implementation of -Wunreachable-code.
856 * opts.c (common_handle_option): Add OPT_Wunreachable_code to
857 the backward compatibility flag section.
859 2010-01-05 Richard Guenther <rguenther@suse.de>
861 * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
863 2010-01-05 Jakub Jelinek <jakub@redhat.com>
866 * cfgexpand.c (expand_one_var): Diagnose too large variables.
868 PR tree-optimization/42508
869 * tree-sra.c (convert_callers): Check for recursive call
870 by comparing cgraph nodes instead of decls.
871 (modify_function): Call ipa_modify_formal_parameters also
872 on all same_body aliases.
874 * cgraphunit.c (cgraph_materialize_all_clones): Compare
875 cgraph nodes when checking for same_body aliases.
877 2010-01-05 Richard Guenther <rguenther@suse.de>
879 * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
880 allocation and lookup.
881 (get_or_alloc_expr_for_constant): Likewise.
882 (phi_translate): Sink allocation.
884 2010-01-04 Richard Guenther <rguenther@suse.de>
886 * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
887 a new entry only if needed.
888 * tree-ssa-dom.c (lookup_avail_expr): Likewise.
889 * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
891 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
893 (phi_translate): Handle CONSTANTs early.
895 2010-01-04 Martin Jambor <mjambor@suse.cz>
897 PR tree-optimization/42398
898 * tree-sra.c (struct access): Removed flag grp_different_types.
899 (dump_access): Do not dump the removed flag.
900 (sort_and_splice_var_accesses): Do not set the removed flag.
901 (sra_modify_expr): Check for type compatibility directly.
903 2010-01-04 Martin Jambor <mjambor@suse.cz>
905 PR tree-optimization/42366
906 * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
907 edges with variable number of parameters.
908 * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
909 flag instead of asserting it.
910 (ipa_read_node_info): Read uses_analysis_done flag.
912 2010-01-04 Richard Guenther <rguenther@suse.de>
914 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
915 iterative_hash_* as intended.
916 (vn_reference_compute_hash): Likewise. Simplify hashing
918 (vn_reference_lookup_2): Likewise.
919 (vn_nary_op_compute_hash): Likewise.
920 (vn_phi_compute_hash): Likewise.
921 (expressions_equal_p): Remove strange code.
922 * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
923 (pre_expr_hash): Likewise. Simplify hashing SSA names.
924 (bitmap_insert_into_set_1): Take value-id as parameter.
925 (add_to_value): Pass it.
926 (bitmap_insert_into_set): Likewise.
927 (bitmap_value_insert_into_set): Likewise. Remove redundant check.
929 2010-01-04 Jakub Jelinek <jakub@redhat.com>
932 * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
933 (do_self_spec): For switches with SWITCH_IGNORE set set also
934 SWITCH_IGNORE_PERMANENTLY.
935 (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
938 2010-01-04 Rafael Avila de Espindola <espindola@google.com>
940 * lto-streamer-out.c (output_unreferenced_globals): Output the full
941 tree of an unreferenced global var.
943 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
946 * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
947 GTU to GT for V4SI and V2DI.
949 * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
950 (umin<mode>3): Removed.
952 (uminv4si3): Likewise.
954 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
957 * collect2.c (main): Turn on trace in collect2 if -v is passed
960 2010-01-03 Jerry Quinn <jlquinn@optonline.net>
962 * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update
963 description of expression operand.
965 2010-01-03 Andrew Jenner <andrew@codesourcery.com>
967 * configure.ac: Add install-html to target_list for Make-hooks.
968 * configure: Regenerate.
969 * fortran/Make-lang.in (F95_HTMLFILES): New.
970 (fortran.html): Use it.
971 (fortran.install-html): New.
972 * Makefile.in (install-html): Add lang.install-html.
973 * java/Make-lang.in (JAVA_HTMLFILES): New.
975 (java.install-html): New.
976 * objc/Make-lang.in (objc.install-html): New.
977 * objcp/Make-lang.in (obj-c++.install-html): New.
978 * cp/Make-lang.in (c++.install-html): New.
979 * ada/gcc-interface/Make-lang.in (ada.install-html): New.
980 * lto/Make-lang.in (lto.install-html): New.
982 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
985 * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
987 2009-01-03 Steven Bosscher <steven@gcc.gnu.org>
989 PR rtl-optimization/41862
990 * store-motion.c (store_killed_in_insn, compute_store_table,
991 remove_reachable_equiv_notes, replace_store_insn,
992 build_store_vectors): Ignore all DEBUG_INSNs.
994 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
997 * common.opt: Add dumpdir.
999 * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
1001 (option_map): Add --dumpdir.
1003 * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
1005 * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
1007 * opts.c (decode_options): Try dump_dir_name first if
1008 dump_base_name isn't an absolute path.
1009 (common_handle_option): Handle OPT_dumpdir.
1011 * toplev.c (dump_dir_name): New.
1012 (print_switch_values): Also ignore -dumpdir.
1014 * toplev.h (dump_dir_name): New.
1016 2010-01-03 Richard Guenther <rguenther@suse.de>
1018 PR tree-optimization/42589
1019 * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
1020 double-word expansion of bswap32.
1022 2010-01-03 Steven Bosscher <steven@gcc.gnu.org>
1024 * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
1025 with BLOCK_FOR_INSN.
1026 * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
1027 * ifcvt.c (noce_get_alt_condition, noce_try_abs,
1028 noce_process_if_block): Likewise.
1029 * gcse.c (compute_local_properties, insert_expr_in_table,
1030 insert_set_in_table, canon_list_insert, find_avail_set,
1031 pre_insert_copy_insn): Likewise.
1033 * basic-block.h (BLOCK_NUM): Move from here...
1034 * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
1036 2010-01-03 Richard Guenther <rguenther@suse.de>
1038 PR tree-optimization/42438
1039 * tree-ssa-pre.c (struct bb_bitmap_sets): Add
1040 contains_may_not_return_call flag.
1041 (BB_MAY_NOTRETURN): New.
1042 (valid_in_sets): Trapping nary operations are not valid
1043 in blocks that may not return.
1044 (insert_into_preds_of_block): Remove check for trapping
1046 (compute_avail): Compute also BB_MAY_NOTRETURN.
1048 2010-01-03 Gerald Pfeifer <gerald@pfeifer.com>
1050 * doc/invoke.texi: Add 2010 to copyright years.
1052 2010-01-03 Eric Botcazou <ebotcazou@adacore.com>
1054 * config/sparc/sparc.c: Fix formatting nits.
1056 2010-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1057 Alexander Monakov <amonakov@ispras.ru>
1059 * doc/invoke.texi (Optimize Options): Reword introduction a bit.
1061 2010-01-02 Richard Guenther <rguenther@suse.de>
1064 * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
1065 (simplify_switch_using_ranges): Mark to be removed edges
1068 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1070 * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
1072 * collect2.c (scan_libraries): Add missing argument in call to
1075 2010-01-02 Uros Bizjak <ubizjak@gmail.com>
1078 * config/alpha/predicates.md (aligned_memory_operand): Return false
1080 (unaligned_memory_operand): Return true for CQImode.
1081 * config/alpha/alpha.c (get_aligned_mem): Assert that location
1082 doesn not cross aligned SImode word boundary.
1084 2010-01-02 Anatoly Sokolov <aesok@post.ru>
1086 * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
1088 * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
1089 avr_change_section, avr_reg_class_from_letter) : Remove declaration.
1091 2010-01-02 Richard Guenther <rguenther@suse.de>
1094 * toplev.c (compile_file): Emit LTO marker properly. Change
1096 * collect2.c (scan_prog_file): Adjust for changed LTO marker.
1098 2010-01-01 Richard Guenther <rguenther@suse.de>
1101 * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
1103 2010-01-01 Richard Guenther <rguenther@suse.de>
1106 * c-decl.c (grokdeclarator): For zero-size arrays force
1107 structural equality checks as layout_type does.
1109 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
1111 * builtins.c: Update copyright to 2010.
1113 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
1116 * lto-streamer-out.c (produce_asm): Revert the last change.
1117 (copy_function): Likewise.
1119 * lto-streamer.c (lto_get_section_name): Skip any leading
1122 2010-01-01 Richard Guenther <rguenther@suse.de>
1125 * builtins.c (get_object_alignment): Do not use DECL_ALIGN
1129 Copyright (C) 2010 Free Software Foundation, Inc.
1131 Copying and distribution of this file, with or without modification,
1132 are permitted in any medium without royalty provided the copyright
1133 notice and this notice are preserved.