PR debug/42767
[official-gcc/alias-decl.git] / gcc / ChangeLog
blob6a24e59480c25ebe82a719d950e2a4d6b62ab59a
1 2010-01-17  Jie Zhang  <jie.zhang@analog.com>
3         PR debug/42767
4         * dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
5         and US_TRUNCATE.
7 2010-01-17  Joern Rennecke  <amylaar@spamcop.net>
9         * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
10         appearance.
12         (TARGET_LEGITIMATE_ADDRESS_P): Add return type.
13         Fix markup for strict argument.
15         (TARGET_SCHED_REORDER2): Fix argument types.
17         (TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
18         (TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.
20         (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
21         (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.
23         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
24         Add argument name.
26         (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
27         (TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
28         (TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
29         (TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
30         (TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.
32         (TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.
34         (TARGET_SCHED_GEN_SPEC_CHECK): Fix name.
36         (TARGET_ASM_RELOC_RW_MASK): Add return type.
37         (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.
39         (TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.
41         (TARGET_ASM_FILE_START): Put @findex before paragraph start.
42         Use prototype.
44         (TARGET_ASM_NAMED_SECTION): Fix argument list.
46         (TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
47         (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.
49         (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.
51         (TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.
53         (TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
54         referring to it.  Fix language.
56         (TARGET_HAVE_CTORS_DTORS): Use @deftypevr.
58         (TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.
60         (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.
62         (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.
64         (TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
65         '@var{stream}.  Remove stray 'and'.
67         (TARGET_ARM_EABI_UNWINDER): Use @deftypevr.
69         (TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.
71         (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.
73         (TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was 
74         misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.
76         (TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
77         Fix description of return value.
78         Rename argument "sz" to "len."
80         (TARGET_CXX_GUARD_MASK_BIT): Add missing article.
81         Clarify meaning of 'true' return value.
83         (TARGET_SHIFT_TRUNCATION_MASK): Fix return type.
85         (TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
86         rep_mode versus mode_rep.
88         (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.
90         (TARGET_BUILTIN_DECL): Fix name.
92         (TARGET_COMMUTATIVE_P): Fix type of first argument.
94         (TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL.
96         (TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type.
98         (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook.
100         (TARGET_RELAXED_ORDERING): Use @deftypevr.
102         (TARGET_GET_DRAP_RTX): Note that this is a hook.
103         Clarify language.
105         (TARGET_BUILTIN_RECIPROCAL): Fix argument types.
106         Rename argument tm_fn to md_fn.
108 2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>
110         PR target/42664
111         * config/i386/i386.c (ix86_fixup_binary_operands):
112         Revert FMA4 fixup of operands.
114 2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
116         PR gcc/42525
117         * Makefile.in (write_entries_to_file, install-plugin):
118         Use \012 instead of \n with tr.
120 2010-01-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
122         * configure.ac (HAVE_AS_REF): New C macro.
123         * configure: Regenerate.
124         * config.in: Likewise.
125         * collect2.c (main): Only postpone SCAN_DWEH to the second pass
126         if HAVE_AS_REF.
127         * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
128         if HAVE_AS_REF.
130 2010-01-16  Joern Rennecke  <amylaar@spamcop.net>
132         * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
134         (TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.
136         (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.
138         (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.
140         (TARGET_IN_SMALL_DATA_P): Fix argument type.
142         (TARGET_BINDS_LOCAL_P): Fix argument type.
144         (TARGET_ASM_FILE_END): Use prototype.
146         (TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.
148         (TARGET_DWARF_CALLING_CONVENTION): Fix argument type.
150         (TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.
152         (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.
154         (TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
155         (TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.
157         (TARGET_PCH_VALID_P): Put 'const char *' in braces.
158         (TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.
160         (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
161         (TARGET_ADDR_SPACE_SUBSET_P): Likewise.
162         (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
163         (TARGET_ADDR_SPACE_CONVERT): Likewise.
165         (TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.
167         (TARGET_MACHINE_DEPENDENT_REORG: Use prototype.
169         (TARGET_INIT_BUILTINS): Use prototype.
171         (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
172         Put 'const char *' in braces.  Fix parameter types.
173         (TARGET_INVALID_CONVERSION): Fix parameter types.
174         (TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
175         (TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.
177         (TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
178         Fix argument type.
180         (TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.
182         (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.
184 2010-01-15  Joern Rennecke  <amylaar@spamcop.net>
186         * doc/tm.texi (TARGET_HELP): Fix return type.
188         (TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
189         in braces.  Fix argument types.
191         (TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.
193         (TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.
195         (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.
197         (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
198         (TARGET_FIXED_POINT_SUPPORTED_P): Likewise.
200         (TARGET_MANGLE_TYPE): Fix argument types.
202         (TARGET_IRA_COVER_CLASSES): Use prototype.
204         (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type.  Use prototype.
206         (TARGET_CAN_ELIMINATE): Use identifiers for argument names.
208         (TARGET_PROMOTE_PROTOTYPES): Fix argument type.
210         (TARGET_MUST_PASS_IN_STACK): Fix argument type.
212         (TARGET_CALLEE_COPIES): Fix argument types.
214         (TARGET_SPLIT_COMPLEX_ARG): Fix argument type.
216         (TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.
218         (TARGET_FUNCTION_VALUE): Fix argument types.
220         (TARGET_RETURN_IN_MSB): Fix argument type.
222         (TARGET_RETURN_IN_MEMORY): Fix argument types.
224         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.
226         (TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.
228         (TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
229         agree with return type.
231         (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.
233 2010-01-15  Jing Yu  <jingyu@google.com>
235         PR rtl-optimization/42691
236         * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
237         a pseudo to a constant and are merged, and adjust comments.
239 2010-01-15  Eric Botcazou  <ebotcazou@adacore.com>
241         * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.
243 2010-01-15  Richard Guenther  <rguenther@suse.de>
245         PR middle-end/42739
246         * tree-cfgcleanup.c (remove_forwarder_block): Move destination
247         labels of computed or non-local gotos to the destination.
248         * tree-cfg.c (gimple_verify_flow_info): Verify that a EH
249         landing pad label is the first label.
251 2010-01-15  Richard Guenther  <rguenther@suse.de>
253         * tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.
255 2010-01-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
257         PR target/42747
258         * config/rs6000/rs6000.md (sqrtdf2): Split into expander and insn
259         to allow generation of the xssqrtdp instruction on power7.
260         (sqrtdf2_fpr): Ditto.
262 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
264         PR middle-end/42674
265         * c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
266         functions with noreturn attribute.
268         PR c++/42608
269         * varasm.c (declare_weak): Add weak attribute to decl if it
270         doesn't have one already.
271         (assemble_external): Only add decls to weak_decls if they also
272         have weak attribute.
274 2010-01-14  Alexandre Oliva  <aoliva@redhat.com>
276         * var-tracking.c (var_reg_delete): Don't delete the association
277         between REGs and values or one-part variables if the register
278         isn't clobbered.
280 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
282         PR debug/42657
283         * tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
284         because its first operand is a non-localized variable.
286 2010-01-14  Martin Jambor  <mjambor@suse.cz>
288         PR tree-optimization/42706
289         * tree-sra.c (encountered_recursive_call): New variable.
290         (encountered_unchangable_recursive_call): Likewise.
291         (sra_initialize): Initialize both new variables.
292         (callsite_has_enough_arguments_p): New function.
293         (scan_function): Call decl and flags check only for IPA-SRA, check
294         whether there is a recursive call and whether it has enough arguments.
295         (all_callers_have_enough_arguments_p): New function.
296         (convert_callers): Look for recursive calls only when
297         encountered_recursive_call is set.
298         (ipa_early_sra): Bail out either if
299         !all_callers_have_enough_arguments_p or
300         encountered_unchangable_recursive_call.
302 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
304         * sel-sched.c: Add 2010 to copyright years.
305         * sel-sched-ir.c: Likewise.
306         * sel-sched-ir.h: Likewise.
308 2010-01-14  Martin Jambor  <mjambor@suse.cz>
310         PR tree-optimization/42714
311         * tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
312         constructors specially.
314 2010-01-14  Andi Kleen  <ak@linux.intel.com>
316         * config/i386/drivers-i386.c (detect_caches_intel):
317         Add l2sizekb parameter and fill in.
318         (host_detect_local_cpu): Add l2sizekb, fill in.
319         Add Atom small cache heuristic.
321 2010-01-14  Andi Kleen  <ak@linux.intel.com>
323         * config/i386/drivers-i386.c (detect_caches_cpuid4):
324         Add level3 parameter and fill in.
325         (detect_caches_intel): Handle level3 cache.
327 2010-01-14  Andi Kleen  <ak@linux.intel.com>
329         * config/i386/drivers-i386.c (host_detect_local_cpu):
330         Fix core duo detection.
332 2010-01-14  Andi Kleen  <ak@linux.intel.com>
334         * config/i386/drivers-i386.c (host_detect_local_cpu):
335         Fix Atom detection.
337 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
339         * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
340         (rs6000_variable_issue_1): this.  Use...
341         (rs6000_variable_issue): here.  Reimplement.  Print debug info.
343 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
345         * sel-sched-ir.c (sel_restore_other_notes): Rename to
346         sel_restore_notes.  Update all callers.  Call reemit_notes
347         for all insns.
349 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
351         PR rtl-optimization/42246
352         * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
353         loops.
355 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
357         * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
358         all successors is the same as number of successors in current region.
360 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
362         * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
363         to rename is not separable.  Otherwise check that its LHS is not NULL.
365 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
367         * sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.
369 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
371         * sel-sched.c (mark_unavailable_hard_regs): Do not try to search
372         available registers when failed to discover LHS register class.
373         Fix indentation.  Update comment.
375 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
376             Alexander Monakov  <amonakov@ispras.ru>
378         PR rtl-optimization/42389
379         * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
380         to can_issue_more.
381         (advance_state_on_fence): Likewise.
382         (sel_target_adjust_priority): Print debug output only when
383         sched_verbose >= 4, not 2.
384         (get_expr_cost): Do not issue all unique insns on the next cycle.
385         (fill_insns): Initialize can_issue_more from the value saved
386         with the fence.
387         * sel-sched-ir.c (flist_add): New parameter issue_more.
388         Init FENCE_ISSUE_MORE with it.
389         (merge_fences): Likewise.
390         (init_fences): Update call to flist_add.
391         (add_to_fences, add_clean_fence_to_fences)
392         (add_dirty_fence_to_fences): Likewise.
393         (move_fence_to_fences): Update call to merge_fences.
394         (invoke_reorder_hooks): Do not reset can_issue_more on insns from
395         sched groups.
396         * sel-sched-ir.h (struct _fence): New field issue_more.
397         (FENCE_ISSUE_MORE): New accessor macro.
399 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
401         PR rtl-optimization/42388
402         * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks
403         that have no predecessors nor successors.  Do not call move_bb_info
404         for empty blocks outside of current region.
406 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
408         PR rtl-optimization/42294
409         * sel-sched-ir.h (struct _sel_insn_data): Update comment.
410         * sel-sched.c (move_exprs_to_boundary): Transitively add all
411         originators' originators.
413 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
415         PR rtl-optimization/39453
416         PR rtl-optimization/42246
417         * sel-sched-ir.c (considered_for_pipelining_p): Do not test
418         for pipelining_p.
419         (sel_add_loop_preheaders): Add preheader to last_added_blocks.
421 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
422             Alexander Monakov  <amonakov@ispras.ru>
424         PR middle-end/42245
425         * sel-sched-ir.c (sel_recompute_toporder): New.  Use it...
426         (maybe_tidy_empty_bb): ... here.  Make static.  Add new
427         argument.  Update all callers.
428         (tidy_control_flow): ... and here.  Recompute topological order
429         of basic blocks in region if necessary.
430         (sel_redirect_edge_and_branch): Change return type.  Return true
431         if topological order might have been invalidated.
432         (purge_empty_blocks): Export and move from...
433         * sel-sched.c (purge_empty_blocks): ... here.
434         * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
435         (maybe_tidy_empty_bb): Delete prototype.
436         (purge_empty_blocks): Declare.
438 2010-01-14  Andrey Belevantsev <abel@ispras.ru>
440         PR rtl-optimization/42249
441         * sel-sched.c (try_replace_dest_reg): When chosen register
442         and original register is the same, do not bail out early, but
443         still check all original insns for validity of replacing destination
444         register.  Set EXPR_TARGET_AVAILABLE to 1 before leaving function
445         in this case.
447 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
449         PR c/42721
450         Port from no-undefined-overflow branch:
451         2009-03-09  Richard Guenther  <rguenther@suse.de>
453         * fold-const.c (add_double_with_sign): Fix unsigned overflow detection.
455 2010-01-14  Richard Guenther  <rguenther@suse.de>
457         PR lto/42665
458         * gimple.c (iterative_hash_gimple_type): Avoid hashing
459         error_mark_node.
461 2010-01-14  Ira Rosen  <irar@il.ibm.com>
463         PR tree-optimization/42709
464         * tree-vect-slp.c (vect_get_constant_vectors): Use constant's type
465         as scalar type in creation of constant vector operand.
467 2010-01-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
469         PR testsuite/42414
470         * Makefile.in ($(TESTSUITEDIR)/site.exp, check-%)
471         (check-parallel-%): Match `testsuite' directory component only
472         at the end.
474 2010-01-14  Shujing Zhao  <pearly.zhao@oracle.com>
476         PR translation/39521
477         * gcc.c (do_spec_1): Wrapped the error and notice messages of specs
478         strings with _().
480 2010-01-13  Richard Guenther  <rguenther@suse.de>
482         PR tree-optimization/42730
483         * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for
484         offset zero.
486 2010-01-13  Steve Ellcey  <sje@cup.hp.com>
488         PR target/pr42542
489         * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
490         for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
491         them signed.
493 2010-01-13  Bernd Schmidt  <bernd.schmidt@analog.com>
495         * config/bfin/libgcc-bfin.ver: Regenerate based on current
496         libgcc-std.ver.  Add entries for ___smulsi3_highpart and
497         ___umulsi3_highpart.
499         * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
500         rather than schedule_insns if the pass is enabled.
502 2010-01-13  Martin Jambor  <mjambor@suse.cz>
504         PR tree-optimization/42704
505         * tree-sra.c (sra_modify_assign): Do not delete assignments to
506         SSA_NAMEs.
508 2010-01-13  Martin Jambor  <mjambor@suse.cz>
510         PR tree-optimization/42703
511         * tree-sra.c (analyze_access_subtree): Check that we can build a
512         reference to the original data within the aggregate.
514 2010-01-13  Richard Guenther  <rguenther@suse.de>
516         PR tree-optimization/42705
517         * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after
518         labels.
520 2010-01-13  Richard Guenther  <rguenther@suse.de>
522         PR middle-end/42716
523         * fold-const.c (fold_unary_loc): Fold INDIRECT_REFs.
525 2010-01-13  Jakub Jelinek  <jakub@redhat.com>
527         PR debug/41371
528         * var-tracking.c (values_to_unmark): New variable.
529         (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in
530         values_to_unmark vector.  Moved body to...
531         (find_loc_in_1pdv_1): ... this.  Don't clear VALUE_RECURSED_INTO,
532         instead queue it into values_to_unmark vector.
533         (vt_find_locations): Free values_to_unmark vector.
535 2010-01-13  Wolfgang Gellerich  <gellerich@de.ibm.com>
537         * config/s390/s390.c (override_options): Set
538         default of max-pending-list-length to 256
540 2010-01-13  Richard Guenther  <rguenther@suse.de>
542         PR lto/42678
543         * tree-pass.h (PROP_gimple_lcx): New.
544         * cfgexpand.c (pass_expand): Require PROP_gimple_lcx.
545         * passes.c (init_optimization_passes): Move pass_lower_complex_O0
546         before the final cleanup_eh.
547         (dump_properties): Dump PROP_gimple_lcx.
548         * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx.
549         (tree_lower_complex_O0): Remove.
550         (gate_no_optimization): Run if PROP_gimple_lcx is not set.
551         (pass_lower_complex_O0): Provide PROP_gimple_lcx.  Run
552         tree_lower_complex, schedule TODO_update_ssa.
553         * lto-streamer-out.c (output_function): Stream the functions
554         properties.
555         * lto-streamer-in.c (input_function): Likewise.
556         (lto_read_body): Do not override them here.
558 2010-01-12  Joseph Myers  <joseph@codesourcery.com>
560         PR c/42708
561         * c-typeck.c (build_c_cast): Fold value cast to union type before
562         wrapping it in a CONSTRUCTOR.
564 2010-01-12  Jakub Jelinek  <jakub@redhat.com>
566         PR rtl-optimization/42699
567         * cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are
568         involved.
570 2010-01-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
572         * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
573         SUBTARGET_WARN_UNUSED_SPEC): Move ...
574         config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
575         SUBTARGET_WARN_UNUSED_SPEC): ... here
576         * config/mips/iris5.h (LIBGCC_SPEC): Define.
578 2010-01-12  Julian Brown  <julian@codesourcery.com>
580         * config/arm/neon-schedgen.ml (Utils): Don't try to
581         open missing module.
582         (find_with_result): New.
584 2010-01-12  Jakub Jelinek  <jakub@redhat.com>
586         PR debug/42662
587         * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
588         sharing when canonicalizing ({lt,ge}u (plus a b) b).
590         PR tree-optimization/42645
591         * tree-inline.c (processing_debug_stmt): Move earlier.  Make static.
592         (remap_ssa_name): If processing_debug_stmt and name wasn't found in
593         decl_map, set processing_debug_stmt to -1 and return name without
594         any remapping.
596 2010-01-11  Dave Korn  <dave.korn.cygwin@gmail.com>
598         * doc/install.texi (Specific#x-x-cygwin): Document minimum required
599         binutils version, and reword target configuration description.
601 2010-01-11  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
603         * config/avr/avr.h (LINKER_NAME): Remove.
605 2010-01-11  Janis Johnson  <janis187@us.ibm.com>
607         PR target/42416
608         * config/rs6000/rs6000.c (rs6000_override_options): On targets
609         that support VSX, warn for -mno-altivec if vsx is not disabled,
610         and disable vsx.
612 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
613             Shujing Zhao  <pearly.zhao@oracle.com>
615         PR translation/42469
616         * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
617         fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
618         character between option name and help text.
619         * c.opt (imultilib): Likewise.
621 2010-01-10  Rafael Avila de Espindola  <espindola@google.com>
623         * lto-streamer-out.c (output_unreferenced_globals): Output static
624         variables.
626 2010-01-10  Steven Bosscher  <steven@gcc.gnu.org>
628         PR rtl-optimization/42621
629         * bb-reorder.c (gate_duplicated_computed_gotos): Only run if not
630         optimizing for size.
631         (duplicate_computed_gotos): Remove now-redundant check.
633 2010-01-10  Steve Ellcey  <sje@cup.hp.com>
635         PR target/37454
636         * configure.ac: Save and restore LDFLAGS and LIBS
637         * configure: Regenerate.
639 2010-01-10  Richard Guenther  <rguenther@suse.de>
641         PR middle-end/42667
642         * builtins.c (fold_builtin_strlen): Add type argument and
643         convert the resulting length to it.
644         (fold_builtin_1): Adjust.
646 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
648         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
649         sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
650         1 insn.
651         (num_insns_constant_wide): Adjust for that change.
653 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
655         PR debug/42631
656         * web.c (union_defs): Add used argument, to combine uses of
657         uninitialized regs.
658         (entry_register): Adjust type and tests of used argument.
659         (web_main): Widen used for new use.  Pass it to union_defs.
660         * df.h (union_defs): Adjust prototype.
662 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
664         PR debug/42630
665         * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
666         uses in new incoming argument.  Free body.
667         (reset_debug_uses_in_loop): New.
668         (analyze_insn_to_expand_var): Call the latter if the former found
669         anything.  Fix whitespace.  Reject invalid dest overlaps before
670         going through all insns in the loop.
672 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
674         PR debug/42629
675         * haifa-sched.c (dying_use_p): Debug insns don't count.
677 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
679         PR middle-end/42363
680         * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
681         * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
682         (verify_gimple_call): Reject LHS in noreturn calls.
684 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
686         PR debug/42604
687         PR debug/42395
688         * tree-vect-loop-manip.c (adjust_info): New type.
689         (adjust_vec): New pointer to vector.
690         (adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
691         (adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
692         (slpeel_update_phis_for_duplicate_loop): Use them.
693         (slpeel_update_phi_nodes_for_guard1): Likewise.
694         (slpeel_update_phi_nodes_for_guard2): Likewise.
695         (slpeel_tree_peel_loop_to_edge): Likewise.
696         (vect_update_ivs_after_vectorizer): Likewise.
698 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
700         * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
701         (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
703 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
705         * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
706         bogus uninitialized warning.
708 2010-01-09  Richard Guenther  <rguenther@suse.de>
710         PR middle-end/42512
711         * tree-scalar-evolution.c (interpret_loop_phi): Make sure
712         the evolution is compatible with the initial condition.
714 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
716         * gcc.c (process_command): Update copyright notice dates.
717         * gcov.c (print_version): Likewise.
718         * gcov-dump.c (print_version): Likewise.
719         * mips-tfile.c (main): Likewise.
720         * mips-tdump.c (main): Likewise.
722 2010-01-08  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
724         PR target/41885
725         * config/avr/avr.md (rotlqi3): Add CONST_INT_P check.
726         (rotlhi3): Delete.
727         (rotlhi3_8): Delete.
728         (rotlsi3): Delete.
729         (rotlsi3_8): Delete.
730         (rotlsi3_16): Delete.
731         (rotlsi3_24): Delete.
732         (rotl<mode>3): New.
733         (*rotw<mode>3): New.
734         (*rotb<mode>3): New.
735         * config/avr/avr.c (avr_rotate_bytes): New function.
736         * config/avr/avr-proto.h (avr_rotate_bytes): New function.
738 2010-01-08  Steve Ellcey  <sje@cup.hp.com>
740         PR target/37454
741         * configure.ac: Modify -rdynamic check.
742         * configure: Regenerate.
744 2010-01-08  DJ Delorie  <dj@redhat.com>
746         * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
747         register popping order.
749 2010-01-08  Richard Guenther  <rguenther@suse.de>
751         PR lto/42528
752         * c.opt (fsigned-char): Also let LTO handle this option.
753         (funsigned-char): Likewise.
755 2010-01-07  Richard Guenther  <rguenther@suse.de>
757         * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING.
758         (gimple_op): Likewise.
759         (gimple_op_ptr): Likewise.
760         (gimple_assign_set_lhs): Remove gcc_assert.
761         (gimple_assign_set_rhs1): Likewise.
762         (gimple_assign_set_rhs2): Likewise.
763         (gimple_call_set_lhs): Likewise.
764         (gimple_call_set_fn): Likewise.
765         (gimple_call_set_fndecl): Likewise.
766         (gimple_call_fndecl): Likewise.
767         (gimple_call_return_type): Likewise.
768         (gimple_call_set_chain): Likewise.
769         (gimple_call_num_args): Likewise.
770         (gimple_call_set_arg): Likewise.
771         (gimple_cond_set_code): Likewise.
772         (gimple_cond_set_lhs): Likewise.
773         (gimple_cond_set_rhs): Likewise.
774         (gimple_cond_set_true_label): Likewise.
775         (gimple_cond_set_false_label): Likewise.
776         (gimple_label_set_label): Likewise.
777         (gimple_goto_set_dest): Likewise.
778         (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING.
779         (gimple_debug_bind_get_value): Likewise.
780         (gimple_debug_bind_get_value_ptr): Likewise.
781         (gimple_debug_bind_set_var): Likewise.
782         (gimple_debug_bind_set_value): Likewise.
783         (gimple_debug_bind_reset_value): Likewise.
784         (gimple_debug_bind_has_value_p): Likewise.
785         (gimple_return_retval_ptr): Remove gcc_assert.
786         (gimple_return_retval): Likewise.
787         (gimple_return_set_retval): Likewise.
788         * tree-flow.h (struct gimple_df): Remove nonlocal_all member.
789         (safe_referenced_var_iterator): Remove.
790         (FOR_EACH_REFERENCED_VAR_SAFE): Likewise.
791         * tree-flow-inline.h (gimple_nonlocal_all): Remove.
792         (fill_referenced_var_vec): Remove.
793         (first_readonly_imm_use): Remove redundant gcc_assert.
794         (phi_arg_index_from_use): Combine gcc_asserts.
795         (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING.
796         (first_imm_use_stmt): Remove redundant gcc_assert.
797         * tree-cfg.c (verify_gimple_call): Verify function and chain
798         operands.  Verify arguments.
799         (verify_types_in_gimple_stmt): Verify condition code and labels.
801 2010-01-07  Richard Guenther  <rguenther@suse.de>
803         PR tree-optimization/42641
804         * sese.c (rename_map_elt_info): Use the SSA name version, do
805         not hash pointers.
807 2010-01-07  Jakub Jelinek  <jakub@redhat.com>
809         PR tree-optimization/42625
810         * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
811         TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
812         aliases.
814 2010-01-07  Duncan Sands  <baldrick@free.fr>
816         * Makefile.in (PLUGIN_HEADERS): Add version.h.
818 2010-01-07  Uros Bizjak  <ubizjak@gmail.com>
820         PR target/42511
821         * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
822         note itself is not function_invariant_p.
824 2009-01-07  Steven Bosscher  <steven@gcc.gnu.org>
826         * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
827         Do not add the DF_NOTE problem.
828         * store-motion.c (execute_rtl_store_motion): Likewise.
830 2010-01-07  Martin Jambor  <mjambor@suse.cz>
832         PR tree-optimization/42157
833         * tree-sra.c (compare_access_positions): Stabilize sort if both
834         accesses have integer types, return zero immediately if they are the
835         same.
837 2010-01-06  Richard Henderson  <rth@redhat.com>
839         PR middle-end/41883
840         * haifa-sched.c (add_to_note_list): Merge into ...
841         (concat_note_lists): ... here, and ...
842         (unlink_other_notes, rm_other_notes): Merge into...
843         (remove_notes): ... here.  Create REG_SAVE_NOTEs for
844         NOTE_INSN_EPILOGUE_BEG.
846 2010-01-06  Richard Guenther  <rguenther@suse.de>
848         * ipa-inline.c (cgraph_decide_inlining_incrementally): Do
849         not inline regular functions into always-inline functions.
851 2010-01-06  Nick Clifton  <nickc@redhat.com>
853         * config/rx/rx.h (enum rx_cpu_type): Add RX200.
854         (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
855         used together.
856         (OVERRIDE_OPTIONS): Delete.
857         (OPTIMIZATION_OPTIONS): Define.
858         (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
859         * config/rx/rx.c (rx_handle_option): Issue an error message if
860         -mcpu=rx200 and -fpu are used together.
861         (rx_set_optimization_options): New function.  Issue an error
862         message if an optimization attribute attempts to reset the FPU/
863         math optimization pairing.
864         * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
865         * config/rx/rx.opt: Set the default to 32-bit doubles.
866         * config/rx/t-rx: Add multilibs for -nofpu option.
867         * doc/invoke.texi: Update documentation of RX options.
869 2010-01-06  Richard Guenther  <rguenther@suse.de>
871         * tree-ssa-pre.c (name_to_id): New global.
872         (alloc_expression_id): Simplify SSA name handling.
873         (lookup_expression_id): Likewise.
874         (init_pre): Zero name_to_id.
875         (fini_pre): Free it.
877 2010-01-06  Uros Bizjak  <ubizjak@gmail.com>
879         * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
881 2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>
883         PR target/42542
884         * config/i386/sse.md (smaxv2di3): New.
885         (umaxv2di3): Likewise.
886         (sminv2di3): Likewise.
887         (uminv2di3): Likewise.
889 2010-01-05  Eric Botcazou  <ebotcazou@adacore.com>
891         PR target/42564
892         * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
893         * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
894         (legitimize_tls_address): Likewise.
895         (sparc_tls_referenced_p): Likewise.
896         * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
897         and adjust calls to legitimize_pic_address.
898         (legitimate_constant_p) Use sparc_tls_referenced_p.
899         (legitimate_pic_operand_p): Likewise.
900         (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
901         (sparc_tls_symbol_ref_1): Delete.
902         (sparc_tls_referenced_p): Make static, recognize specific patterns.
903         (legitimize_tls_address): Make static, handle CONST patterns.
904         (legitimize_pic_address): Make static, remove unused parameter and
905         adjust recursive calls.
906         (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
907         and adjust call to legitimize_pic_address.
908         (sparc_output_mi_thunk): Likewise.
910 2010-01-05  Paolo Bonzini  <bonzini@gnu.rg>
911             H.J. Lu  <hongjiu.lu@intel.com>
913         PR target/42542
914         * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
915         for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
916         operands to make them signed.
918         Revert:
919         2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
921         PR target/42542
922         * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
923         GTU to GT for V4SI and V2DI.
925         * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
926         (umin<mode>3): Removed.
927         (uminv8hi3): New.
928         (uminv4si3): Likewise.
930 2010-01-05  Martin Jambor  <mjambor@suse.cz>
932         PR tree-optimization/42462
933         * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
934         current_function_decl to helper functions and macros.
936 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
938         PR bootstrap/41771
939         * flags.h: Don't include real.h.
940         (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
941         HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
942         * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
943         HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
944         * dominance.c: Update copyright.
945         * gimple.c (walk_gimple_op): Remove inline.
946         * tree-ssa-reassoc.c: Include real.h.
947         * Makefile.in (FLAGS_H): Remove $(REAL_H).
948         (tree-ssa-reassoc.o): Depend on $(REAL_H).
950 2010-01-05  Nick Clifton  <nickc@redhat.com>
952         * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
953         register to push into the stack frame when the accumulator has to
954         be saved during interrupts.
956 2010-01-05  Eric Fisher  <joefoxreal@gmail.com>
958         * doc/invoke.texi: Remove the documentation about option
959         -Wunreachable-code.
960         * common.opt (Wunreachable-code):  Preserved for backward
961         compatibility.
962         * tree-cfg.c: Remove the implementation of -Wunreachable-code.
963         * opts.c (common_handle_option): Add OPT_Wunreachable_code to
964         the backward compatibility flag section.
966 2010-01-05  Richard Guenther  <rguenther@suse.de>
968         * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
970 2010-01-05  Jakub Jelinek  <jakub@redhat.com>
972         PR other/42611
973         * cfgexpand.c (expand_one_var): Diagnose too large variables.
975         PR tree-optimization/42508
976         * tree-sra.c (convert_callers): Check for recursive call
977         by comparing cgraph nodes instead of decls.
978         (modify_function): Call ipa_modify_formal_parameters also
979         on all same_body aliases.
981         * cgraphunit.c (cgraph_materialize_all_clones): Compare
982         cgraph nodes when checking for same_body aliases.
984 2010-01-05  Richard Guenther  <rguenther@suse.de>
986         * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
987         allocation and lookup.
988         (get_or_alloc_expr_for_constant): Likewise.
989         (phi_translate): Sink allocation.
991 2010-01-04  Richard Guenther  <rguenther@suse.de>
993         * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
994         a new entry only if needed.
995         * tree-ssa-dom.c (lookup_avail_expr): Likewise.
996         * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
997         hashtable lookup.
998         * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
999         the result array.
1000         (phi_translate): Handle CONSTANTs early.
1002 2010-01-04  Martin Jambor  <mjambor@suse.cz>
1004         PR tree-optimization/42398
1005         * tree-sra.c (struct access): Removed flag grp_different_types.
1006         (dump_access): Do not dump the removed flag.
1007         (sort_and_splice_var_accesses): Do not set the removed flag.
1008         (sra_modify_expr): Check for type compatibility directly.
1010 2010-01-04  Martin Jambor  <mjambor@suse.cz>
1012         PR tree-optimization/42366
1013         * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
1014         edges with variable number of parameters.
1015         * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
1016         flag instead of asserting it.
1017         (ipa_read_node_info): Read uses_analysis_done flag.
1019 2010-01-04  Richard Guenther  <rguenther@suse.de>
1021         * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
1022         iterative_hash_* as intended.
1023         (vn_reference_compute_hash): Likewise.  Simplify hashing
1024         SSA names.
1025         (vn_reference_lookup_2): Likewise.
1026         (vn_nary_op_compute_hash): Likewise.
1027         (vn_phi_compute_hash): Likewise.
1028         (expressions_equal_p): Remove strange code.
1029         * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
1030         (pre_expr_hash): Likewise.  Simplify hashing SSA names.
1031         (bitmap_insert_into_set_1): Take value-id as parameter.
1032         (add_to_value): Pass it.
1033         (bitmap_insert_into_set): Likewise.
1034         (bitmap_value_insert_into_set): Likewise.  Remove redundant check.
1036 2010-01-04  Jakub Jelinek  <jakub@redhat.com>
1038         PR driver/42442
1039         * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
1040         (do_self_spec): For switches with SWITCH_IGNORE set set also
1041         SWITCH_IGNORE_PERMANENTLY.
1042         (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
1043         of SWITCH_IGNORE.
1045 2010-01-04  Rafael Avila de Espindola  <espindola@google.com>
1047         * lto-streamer-out.c (output_unreferenced_globals): Output the full
1048         tree of an unreferenced global var.
1050 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1052         PR target/42542
1053         * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
1054         GTU to GT for V4SI and V2DI.
1056         * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
1057         (umin<mode>3): Removed.
1058         (uminv8hi3): New.
1059         (uminv4si3): Likewise.
1061 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1063         PR lto/42581
1064         * collect2.c (main): Turn on trace in collect2 if -v is passed
1065         to gcc with LTO.
1067 2010-01-03  Jerry Quinn  <jlquinn@optonline.net>
1069         * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
1070         description of expression operand.
1072 2010-01-03  Andrew Jenner  <andrew@codesourcery.com>
1074         * configure.ac: Add install-html to target_list for Make-hooks.
1075         * configure: Regenerate.
1076         * fortran/Make-lang.in (F95_HTMLFILES): New.
1077         (fortran.html): Use it.
1078         (fortran.install-html): New.
1079         * Makefile.in (install-html): Add lang.install-html.
1080         * java/Make-lang.in (JAVA_HTMLFILES): New.
1081         (java.html): Use it.
1082         (java.install-html): New.
1083         * objc/Make-lang.in (objc.install-html): New.
1084         * objcp/Make-lang.in (obj-c++.install-html): New.
1085         * cp/Make-lang.in (c++.install-html): New.
1086         * ada/gcc-interface/Make-lang.in (ada.install-html): New.
1087         * lto/Make-lang.in (lto.install-html): New.
1089 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1091         PR lto/42520
1092         * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
1094 2009-01-03  Steven Bosscher  <steven@gcc.gnu.org>
1096         PR rtl-optimization/41862
1097         * store-motion.c (store_killed_in_insn, compute_store_table,
1098         remove_reachable_equiv_notes, replace_store_insn,
1099         build_store_vectors): Ignore all DEBUG_INSNs.
1101 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1103         PR lto/41564
1104         * common.opt: Add dumpdir.
1106         * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
1107         isn't specified.
1108         (option_map): Add --dumpdir.
1110         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
1112         * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
1114         * opts.c (decode_options): Try dump_dir_name first if
1115         dump_base_name isn't an absolute path.
1116         (common_handle_option): Handle OPT_dumpdir.
1118         * toplev.c (dump_dir_name): New.
1119         (print_switch_values): Also ignore -dumpdir.
1121         * toplev.h (dump_dir_name): New.
1123 2010-01-03  Richard Guenther  <rguenther@suse.de>
1125         PR tree-optimization/42589
1126         * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
1127         double-word expansion of bswap32.
1129 2010-01-03  Steven Bosscher  <steven@gcc.gnu.org>
1131         * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
1132         with BLOCK_FOR_INSN.
1133         * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
1134         * ifcvt.c (noce_get_alt_condition, noce_try_abs,
1135         noce_process_if_block): Likewise.
1136         * gcse.c (compute_local_properties, insert_expr_in_table,
1137         insert_set_in_table, canon_list_insert, find_avail_set,
1138         pre_insert_copy_insn): Likewise.
1140         * basic-block.h (BLOCK_NUM): Move from here...
1141         * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
1143 2010-01-03  Richard Guenther  <rguenther@suse.de>
1145         PR tree-optimization/42438
1146         * tree-ssa-pre.c (struct bb_bitmap_sets): Add
1147         contains_may_not_return_call flag.
1148         (BB_MAY_NOTRETURN): New.
1149         (valid_in_sets): Trapping nary operations are not valid
1150         in blocks that may not return.
1151         (insert_into_preds_of_block): Remove check for trapping
1152         expressions.
1153         (compute_avail): Compute also BB_MAY_NOTRETURN.
1155 2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
1157         * doc/invoke.texi: Add 2010 to copyright years.
1159 2010-01-03  Eric Botcazou  <ebotcazou@adacore.com>
1161         * config/sparc/sparc.c: Fix formatting nits.
1163 2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
1164             Alexander Monakov  <amonakov@ispras.ru>
1166         * doc/invoke.texi (Optimize Options): Reword introduction a bit.
1168 2010-01-02  Richard Guenther  <rguenther@suse.de>
1170         PR middle-end/42577
1171         * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
1172         (simplify_switch_using_ranges): Mark to be removed edges
1173         as non-executable.
1175 2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1177         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
1179         * collect2.c (scan_libraries): Add missing argument in call to
1180         scan_prog_file.
1182 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
1184         PR target/42448
1185         * config/alpha/predicates.md (aligned_memory_operand): Return false
1186         for CQImode.
1187         (unaligned_memory_operand): Return true for CQImode.
1188         * config/alpha/alpha.c (get_aligned_mem): Assert that location
1189         doesn not cross aligned SImode word boundary.
1191 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
1193         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
1194         Remove.
1195         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
1196         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
1198 2010-01-02  Richard Guenther  <rguenther@suse.de>
1200         PR lto/41597
1201         * toplev.c (compile_file): Emit LTO marker properly.  Change
1202         it to __gnu_lto_v1.
1203         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
1205 2010-01-01  Richard Guenther  <rguenther@suse.de>
1207         PR debug/42455
1208         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
1210 2010-01-01  Richard Guenther  <rguenther@suse.de>
1212         PR c/42570
1213         * c-decl.c (grokdeclarator): For zero-size arrays force
1214         structural equality checks as layout_type does.
1216 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
1218         * builtins.c: Update copyright to 2010.
1220 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
1222         PR lto/42531
1223         * lto-streamer-out.c (produce_asm): Revert the last change.
1224         (copy_function): Likewise.
1226         * lto-streamer.c (lto_get_section_name): Skip any leading
1227         asterisk in name.
1229 2010-01-01  Richard Guenther  <rguenther@suse.de>
1231         PR middle-end/42559
1232         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
1233         for LABEL_DECLs.
1236 Copyright (C) 2010 Free Software Foundation, Inc.
1238 Copying and distribution of this file, with or without modification,
1239 are permitted in any medium without royalty provided the copyright
1240 notice and this notice are preserved.