Make build_poly_scop not return a bool.
[official-gcc/graphite-test-results.git] / gcc / ChangeLog
blobce7caff698abca1d7a661a86fa5118589d647aa1
1 2010-02-23  Michael Matz  <matz@suse.de>
3         PR debug/43077
4         * cfgexpand (expand_debug_expr): Expand TERed ssa names in place.
5         (expand_gimple_basic_block): Generate and use debug temps if there
6         are debug uses left after the last real use of TERed ssa names.
7         Unlink debug immediate uses when they are expanded.
9 2010-02-23  Manuel López-Ibáñez  <manu@gcc.gnu.org>
11         PR 43123
12         * config/i386/i386.c (override_options): Reorganise to provide
13         better error messages.
15 2010-02-22  Sebastian Pop  <sebastian.pop@amd.com>
17         PR middle-end/43083
18         * graphite-scop-detection.c (create_single_exit_edge): Move
19         the call to find_single_exit_edge to....
20         (create_sese_edges): ...here.  Don't handle multiple edges
21         exiting the function.
22         (build_graphite_scops): Don't handle multiple edges
23         exiting the function.
25 2010-02-22  Sebastian Pop  <sebastian.pop@amd.com>
27         PR middle-end/43097
28         * sese.c (get_rename): Assert that old_name is an SSA_NAME.
29         (rename_variables_in_stmt): Continue when the use is not an SSA_NAME.
31 2010-02-22  Sebastian Pop  <sebastian.pop@amd.com>
33         PR middle-end/43026
34         * sese.c (expand_scalar_variables_expr): Handle COMPONENT_REF.
36 2010-02-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>
38         PR c++/43126
39         * c-typeck.c (convert_arguments): Print declaration location.
40         * c-common.c (validate_nargs): Rename as
41         builtin_function_validate_nargs.
42         (check_builtin_function_arguments): Update.
44 2010-02-22  Richard Guenther  <rguenther@suse.de>
46         PR lto/43045
47         * tree-inline.c (declare_return_variable): Use the type of
48         the call stmt lhs if available.
50 2010-02-22  Duncan Sands  <baldrick@free.fr>
52         * passes.c (register_pass): Always consider all pass lists when
53         ref_pass_instance_number is zero.
55 2010-02-22  Richard Guenther  <rguenther@suse.de>
57         PR tree-optimization/42749
58         * tree-tailcall.c (adjust_return_value_with_ops): Drop update
59         parameter.  Do arithmetic in the original type.
60         (update_accumulator_with_ops): Likewise.
61         (adjust_accumulator_values): Adjust.
63 2010-02-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65         * config/s390/s390.md ("movqi"): Re-add the mem->mem alternative.
66         (QI to BLKmode splitter): New splitter.
68 2010-02-22  H.J. Lu  <hongjiu.lu@intel.com>
70         * config/i386/i386.c (initial_ix86_tune_features): Turn on
71         X86_TUNE_INTER_UNIT_MOVES for m_ATOM.
73 2010-02-22  Richard Guenther  <rguenther@suse.de>
75         * tree-vect-slp.c (vect_slp_analyze_bb): Fix typo.
77 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
79         Migrate crti, crtn, crtbegin, crtend build rules to libgcc.
80         * config/mmix/t-mmix (EXTRA_MULTILIB_PARTS): Don't set.
81         ($(T)crti.o, $(T)crtn.o): Remove rules.
83 2010-02-21  Tobias Burnus  <burnus@net-b.de>
85         PR fortran/35259
86         * doc/invoke.texi (-fassociative-math): Document that this
87         option is automatically enabled for Fortran.
89 2010-02-20  David S. Miller  <davem@davemloft.net>
91         * configure.ac: Test if linker and assembler properly support
92         GOTDATA_OP relocations.
93         * configure: Rebuild.
94         * config.in: Likewise.
95         * config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New.
96         (movsi_lo_sum_pic): Use %gdop_*() relocs if available.
97         (movsi_high_pic): Likewise.
98         (movdi_lo_sum_pic): Likewise.
99         (movdi_high_pic): Likewise.
100         (movsi_pic_gotdata_op): New pattern.
101         (movdi_pic_gotdata_op): Likewise.
102         * config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2,
103         emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load.
104         
105 2010-02-20  Uros Bizjak  <ubizjak@gmail.com>
107         PR target/43067
108         * config/i386/sse.md (xop_mulv2div2di3_low): Change type
109         attribute to ssemul.
110         (xop_mulv2div2di3_high): Ditto.
112 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
114         PR c++/35669
115         * c.opt (Wconversion-null): New option.
116         * doc/invoke.texi (Wconversion-null): Document.
118 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
120         * common.opt (Wlarger-than-): Add Undocumented.
122 2010-02-19  Mike Stump  <mikestump@comcast.net>
124         * config/t-darwin (gt-darwin.h): Remove as Makefile now handles it.
126 2010-02-19  Jason Merrill  <jason@redhat.com>
128         PR target/40332
129         * configure.ac (gcc_cv_as_cfi_advance_working): Check 32-bit advance.
130         * configure: Likewise.
132 2010-02-20  Alan Modra  <amodra@gmail.com>
134         PR middle-end/42344
135         * cgraph.h (cgraph_make_decl_local): Declare.
136         * cgraph.c (cgraph_make_decl_local): New function.
137         (cgraph_make_node_local): Use it.
138         * cgraphunit.c (cgraph_function_versioning): Likewise.
139         * ipa.c (function_and_variable_visibility): Likewise.
141 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
143         PR bootstrap/43121
144         * except.c (sjlj_emit_function_enter): Don't call
145         add_reg_br_prob_note, instead add REG_BR_PROB note to the last insn
146         directly.
147         * rtl.h (add_reg_br_prob_note): Remove prototype.
149 2010-02-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>
151         PR 41779
152         * c-common.c (conversion_warning): Remove widening conversions
153         before checking the conversion of integers to reals.
155 2010-02-19  Mike Stump  <mikestump@comcast.net>
157         PR middle-end/43125
158         * c-decl.c (merge_decls): Merge DECL_PRESERVE_P.
160         PR objc/43061
161         * cgraphunit.c (process_function_and_variable_attributes): Check
162         DECL_PRESERVE_P instead of looking up attribute "used".
163         * ipa-pure-const.c (check_decl): Likewise.
164         * ipa-reference.c (has_proper_scope_for_analysis): Likewise.
165         * ipa-type-escape.c (has_proper_scope_for_analysis): Likewise.
166         * config/sol2.c (solaris_insert_attributes): Set DECL_PRESERVE_P
167         instead of attribute "used".
168         * config/sol2-c.c (solaris_pragma_init): Likewise.
169         (solaris_pragma_fini): Likewise.
171 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
173         * ipa-struct-reorg.c (make_field_acc_node, gen_cluster, peel_field):
174         Use XCNEW instead of xcalloc.
175         (add_access_to_acc_sites, create_new_var_node, add_alloc_site): Use
176         XNEW instead of xmalloc.
177         (get_fields): Use XNEWVEC instead of xmalloc.
179         PR debug/43084
180         * ipa-struct-reorg.c (add_access_to_acc_sites): For debug stmts don't
181         populate vars array.
182         (create_new_general_access): For debug stmts just reset value.
183         (get_stmt_accesses): For accesses within debug stmts just record them
184         using add_access_to_acc_sites instead of preventing the peeling or
185         counting them as accesses.
187         PR middle-end/42233
188         * dojump.c (do_jump) <case TRUTH_NOT_EXPR>: Invert priority.
190 2010-02-19  Richard Guenther  <rguenther@suse.de>
192         PR tree-optimization/42916
193         * tree-vect-slp.c (vect_slp_analyze_bb): Count only real
194         instructions.
196 2010-02-19  Andreas Schwab  <schwab@linux-m68k.org>
198         * configure.ac: Replace all uses of changequote in macro arguments
199         with proper quoting.
201 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
203         PR middle-end/42233
204         * loop-doloop.c (add_test): Adjust do_compare_rtx_and_jump caller.
206 2010-02-19  Richard Guenther  <rguenther@suse.de>
208         PR tree-optimization/42944
209         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Massage
210         test for aliasing with errno.
212 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
214         PR middle-end/42233
215         * expr.h (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump,
216         do_jump_1, do_compare_rtx_and_jump): Add PROB argument.
217         * dojump.c: Include output.h.
218         (inv): New inline function.
219         (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump_1, do_jump,
220         do_jump_by_parts_greater_rtx, do_jump_by_parts_greater,
221         do_jump_by_parts_zero_rtx, do_jump_by_parts_equality_rtx,
222         do_jump_by_parts_equality, do_compare_and_jump): Add PROB
223         argument, pass it down to other calls.
224         (do_compare_rtx_and_jump): Likewise.  If PROB is not -1,
225         add REG_BR_PROB note to the conditional jump.
226         * cfgexpand.c (add_reg_br_prob_note): Removed.
227         (expand_gimple_cond): Don't call it, add the probability
228         as last argument to jumpif_1/jumpifnot_1.
229         * Makefile.in (dojump.o): Depend on output.h.
230         * builtins.c (expand_errno_check): Adjust do_compare_rtx_and_jump
231         callers.
232         * expmed.c (emit_store_flag_force, do_cmp_and_jump): Likewise.
233         * stmt.c (do_jump_if_equal): Likewise.
234         * cfgrtl.c (rtl_lv_add_condition_to_bb): Likewise.
235         * loop-unswitch.c (compare_and_jump_seq): Likewise.
236         * config/rs6000/rs6000.c (rs6000_aix_emit_builtin_unwind_init):
237         Likewise.
238         * optabs.c (expand_doubleword_shift, expand_abs): Likewise.
239         * expr.c (expand_expr_real_1): Adjust do_jump, jumpifnot and
240         jumpifnot_1 callers.
241         (expand_expr_real_2): Adjust jumpifnot_1 and do_compare_rtx_and_jump
242         callers.
243         (store_expr): Adjust jumpifnot caller.
244         (store_constructor): Adjust jumpif caller.
246         PR middle-end/42233
247         * gimplify.c (gimple_boolify): For __builtin_expect call
248         gimple_boolify also on its first argument.
250 2010-02-18  Uros Bizjak  <ubizjak@gmail.com>
252         * configure.ac (gnu-unique-object): Wrap regexps using [] in
253         changequote block.
254         (__stack_chk_fail): Ditto.  Remove quadrigraphs.
255         * configure: Regenerated.
257 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
259         * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call
260         lang_hooks.types_compatible_p instead of comptypes.
262 2010-02-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
264         * config/arm/lib1funcs.asm (__prefer_thumb__): New define.
265         (udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Use Thumb-1 variant
266         if __prefer_thumb__ is defined.
268 2010-02-18  Martin Jambor  <mjambor@suse.cz>
270         PR tree-optimization/43066
271         * tree-sra.c (build_ref_for_offset_1): Return false on encountering an
272         array with zero-sized element type.
274 2010-02-18  Jakub Jelinek  <jakub@redhat.com>
276         * dwarf2out.c (add_var_loc_to_decl): Change last argument to
277         rtx, allocate struct var_loc_node here and return it to the
278         caller, and only if it is actually needed.
279         (dwarf2out_var_location): Adjust add_var_loc_to_decl caller,
280         move it earlier and return immediately if it returns NULL.
282 2010-02-17  Mikael Pettersson  <mikpe@it.uu.se>
284         * config/sparc/gas.h: New file.  Restore
285         TARGET_ASM_NAMED_SECTION to its ELF default.
286         * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not
287         check !HAVE_GNU_AS.
288         * config/sparc/sparc.c (sparc_elf_asm_named_section):
289         Likewise.  Add ATTRIBUTE_UNUSED to prototype.
290         * config.gcc (sparc*-*-linux*): Include sparc/gas.h
291         after sparc/sysv4.h.
293 2010-02-17  Dave Korn  <dave.korn.cygwin@gmail.com>
295         * config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name.
297 2010-02-17  Steven Bosscher  <steven@gcc.gnu.org>
299         * gensupport.c (process_one_cond_exec): Derive name for COND_EXEC
300         patterns from predicated pattern.
302 2010-02-17  Uros Bizjak  <ubizjak@gmail.com>
304         PR target/43103
305         * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c
306         for insn mnemonic suffix.
308 2010-02-17  Richard Guenther  <rguenther@suse.de>
310         * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis
311         to loop PHI nodes.
313 2010-02-17  Jakub Jelinek  <jakub@redhat.com>
315         PR debug/42918
316         * caller-save.c (save_call_clobbered_regs): If BB ends with
317         a DEBUG_INSN, move any notes in between last real insn and the last
318         DEBUG_INSN after the last DEBUG_INSN.
320 2010-02-16  Joern Rennecke  <joern.rennecke@embecosm.com>
322         * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC):
323         Fix return type.  Fix argument type.  Explain meaning of return value.
325 2010-02-16  Richard Guenther  <rguenther@suse.de>
327         PR tree-optimization/41043
328         * tree-vrp.c  (vrp_var_may_overflow): Only ask SCEV for real loops.
329         (vrp_visit_assignment_or_call): Do not ask SCEV for regular
330         statements ...
331         (vrp_visit_phi_node): ... but only for loop PHI nodes.
333 2010-02-16  Ira Rosen <irar@il.ibm.com>
335         PR tree-optimization/43074
336         * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New.
337         * tree-vect-loop.c (vect_analyze_loop_operations): Add
338         vectorizable cycles in hybrid SLP check.
339         * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise.
341 2010-02-16  Richard Guenther  <rguenther@suse.de>
343         * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know.
344         (true_dependence): If memrefs_conflict_p computes must-alias
345         trust it.  Move TBAA check after offset-based disambiguation.
346         (canon_true_dependence): Likewise.
348 2010-02-16  Alexandre Oliva  <aoliva@redhat.com>
350         * params.def (PARAM_MAX_VARTRACK_SIZE): New.
351         * doc/invoke.texi: Document it.
352         * var-tracking.c: Include toplev.h and params.h.
353         (vt_find_locations): Return bool indicating success.  Compute
354         hash sizes unconditionally.  Check new parameter, report.
355         (variable_tracking_main_1): Check vt_find_locations results and
356         retry.  Renamed from...
357         (variable_tracking_main): ... this.  New wrapper to preserve
358         flag_var_tracking_assignments.
359         * Makefile.in (var-tracking.o): Adjust dependencies.
361 2010-02-16  Jack Howarth <howarth@bromo.med.uc.edu>
362             Jakub Jelinek <jakub@redhat.com>
364         PR target/42854
365         * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute
366         if weak_import attribute is present.
367         * config/darwin.c (machopic_select_section): Likewise.
369 2010-02-15  Joern Rennecke  <joern.rennecke@embecosm.com>
371         * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Document.
372         (TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Likewise.
373         (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Likewise.
374         (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): Likewise.
376         * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Fix argument types.
378         * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION):
379         Fix argument types.
381         * doc/tm.texi (TARGET_SCHED_DFA_NEW_CYCLE): Add argument names.
382         Rewrite text to refer to the names.
384 2010-02-15  Sebastian Pop  <sebastian.pop@amd.com>
386         * config/i386/i386-builtin-types.def
387         (V2DF_FTYPE_V2DF_V2DF_V2DI_INT): Declared.
388         (V4DF_FTYPE_V4DF_V4DF_V4DI_INT): Declared.
389         (V4SF_FTYPE_V4SF_V4SF_V4SI_INT): Declared.
390         (V8SF_FTYPE_V8SF_V8SF_V8SI_INT): Declared.
391         * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_VPERMIL2PD,
392         IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, and
393         IX86_BUILTIN_VPERMIL2PS256.
394         (MULTI_ARG_4_DF2_DI_I): Defined.
395         (MULTI_ARG_4_DF2_DI_I1): Defined.
396         (MULTI_ARG_4_SF2_SI_I): Defined.
397         (MULTI_ARG_4_SF2_SI_I1): Defined.
398         (bdesc_multi_arg): Add __builtin_ia32_vpermil2pd,
399         __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256, and
400         __builtin_ia32_vpermil2ps256.
401         (ix86_expand_multi_arg_builtin): Handle MULTI_ARG_4_DF2_DI_I,
402         MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and
403         MULTI_ARG_4_SF2_SI_I1.  Handle builtins with 4 arguments.
404         (ix86_expand_args_builtin): Handle MULTI_ARG_4_DF2_DI_I,
405         MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and
406         MULTI_ARG_4_SF2_SI_I1.  Handle CODE_FOR_xop_vpermil2v2df3,
407         CODE_FOR_xop_vpermil2v4sf3, CODE_FOR_xop_vpermil2v4df3, and
408         CODE_FOR_xop_vpermil2v8sf3.
409         * config/i386/i386.md (UNSPEC_VPERMIL2): Declared.
410         * config/i386/sse.md (xop_vpermil2<mode>3): New insn pattern.
411         * config/i386/xopintrin.h (_mm_permute2_pd): New.
412         (_mm256_permute2_pd): New.
413         (_mm_permute2_ps): New.
414         (_mm256_permute2_ps): New.
416 2010-02-15  Nick Clifton  <nickc@redhat.com>
418         * config/h8300/h8300.c: (h8300_push_pop): Use bool type for
419         boolean parameters.  Use emit_jump_insn when emitting a pop
420         instruction containing a return insn.
421         (push): Use 'true' rather than '1' as second parameter to F.
422         (h8300_expand_prologue): Likewise.
423         Use 'true' and 'false' for boolean parameters to h8300_push_pop.
424         (h8300_expand_epilogue): Likewise.
426 2010-02-15  Richard Guenther  <rguenther@suse.de>
428         PR middle-end/43068
429         * cgraphunit.c (thunk_adjust): Skip adjusting by fixed_offset
430         if that is zero.
432 2010-02-15  Nick Clifton  <nickc@redhat.com>
434         * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous
435         delta.
437 2010-02-14  Marco Poletti  <poletti.marco@gmail.com>
439         * intl.c (fake_ngettext): New function.
440         * intl.h (fake_ngettext): Declare.
441         (ngettext): Define macro.
442         * collect2.c (notice_translated): New function.
443         (main): Use notice_translated and ngettext.
444         * collect2.h (notice_translated): Declare.
446 2010-02-14  Steven Bosscher  <steven@gcc.gnu.org>
448         * reorg.c (delete_computation): Comment fixes.
449         * caller-save.c (setup_save_areas): Idem.
450         * sel-sched-dump.c (dump_lv_set): Idem.
451         * rtl.def: Idem.
453 2010-02-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
455         * config/s390/s390.c (s390_sched_init): New function.
456         (TARGET_SCHED_INIT): Target hook defined.
458 2010-02-12  Dave Korn  <dave.korn.cygwin@gmail.com>
459             Jack Howarth  <howarth@bromo.med.uc.edu>
460             Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
462         PR target/42982
463         Partial revert of unintended change in fix for PR41605.
464         * config/darwin.h: Fix typo.
465         * config/darwin9.h: Same.
467 2010-02-11  Jakub Jelinek  <jakub@redhat.com>
469         * c-pch.c (pch_init): Clear v.
471 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
473         PR middle-end/42930
474         * graphite-scop-detection.c (graphite_can_represent_scev): Call
475         graphite_can_represent_init for MULT_EXPR.
477 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
479         PR middle-end/42914
480         PR middle-end/42530
481         * graphite-sese-to-poly.c (remove_phi): New.
482         (translate_scalar_reduction_to_array): Call remove_phi.
484 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
486         PR middle-end/42771
487         * graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters.
488         * graphite-clast-to-gimple.h (gloog): Update declaration.
489         * graphite-poly.c (new_scop): Clear POLY_SCOP_P.
490         * graphite-poly.h (struct poly_bb): Add missing comments.
491         (struct scop): Add poly_scop_p field.
492         (POLY_SCOP_P): New.
493         * graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P.
494         * graphite.c (graphite_transform_loops): Build the polyhedral
495         representation for each scop before code generation.
496         * sese.c (rename_variables_in_operand): Removed.
497         (rename_variables_in_expr): Return the renamed expression.
498         (rename_sese_parameters): New.
499         * sese.h (rename_sese_parameters): Declared.
501 2010-02-11  Richard Guenther  <rguenther@suse.de>
503         PR tree-optimization/42998
504         * tree-ssa-pre.c (create_expression_by_pieces): Treat
505         POINTER_PLUS_EXPR properly.
507 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
508             Changpeng Fang  <changpeng.fang@amd.com>
510         PR middle-end/40886
511         * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Decrement
512         the cost of an IV candidate when the IV is used in a test against zero.
514         * gcc.dg/tree-ssa/ivopts-3.c: New.
516 2010-02-11  Richard Guenther  <rguenther@suse.de>
518         PR lto/41664
519         * tree-ssa-alias.c (refs_may_alias_p_1): Canonicalize
520         pointer-vs-decl case by swapping refs.  Handle some cases
521         of pointer-vs-decl disambiguations more conservatively.
522         * cfgexpand.c (gimple_expand_cfg): Set gimple_df->in_ssa_p
523         to false after expanding.
525 2010-02-11  Richard Guenther  <rguenther@suse.de>
527         PR driver/43021
528         * gcc.c (process_command): Handle LTO file@offset case more
529         appropriately.
531 2010-02-11  Jakub Jelinek  <jakub@redhat.com>
533         * reload1.c (eliminate_regs_1): If insn is DEBUG_INSN, avoid any
534         modifications outside of the DEBUG_INSN.  Accept CLOBBERs inside
535         of DEBUG_INSNs.
536         (eliminate_regs_in_insn): Eliminate regs even in DEBUG_INSNs.
538         * dwarf2out.c (mem_loc_descriptor) <case MEM>: Use DW_OP_deref_size
539         if MEM's mode size isn't DWARF2_ADDR_SIZE.
540         (mem_loc_descriptor) <do_scompare>: Allow also VOIDmode arguments.
541         Optimize eq/ne comparisons when both arguments are known to be
542         zero-extended.
543         (mem_loc_descriptor) <do_ucompare>: Allow also VOIDmode arguments.
544         Don't mask operands unnecessarily if they are known to be already
545         zero-extended.
547 2010-02-10  Vladimir Makarov  <vmakarov@redhat.com>
549         * ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note
550         instead of loop.
552 2010-02-10  Richard Guenther  <rguenther@suse.de>
554         PR tree-optimization/43017
555         * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop
556         for wrapping signed arithmetic.
558 2010-02-10  Jakub Jelinek  <jakub@redhat.com>
560         PR debug/43010
561         * dwarf2out.c (retry_incomplete_types): Don't call gen_type_die
562         if no debug info should be emitted for it.
564 2010-02-10  Kaz Kojima  <kkojima@gcc.gnu.org>
566         * config/sh/sh.c (find_barrier): Skip call insn with a REG_EH_REGION
567         note when flag_exceptions is set.
569 2010-02-10  Duncan Sands  <baldrick@free.fr>
571         * Makefile.in (PLUGIN_HEADERS): Add debug.h.
573 2010-02-10  Richard Guenther  <rguenther@suse.de>
575         PR c/43007
576         * tree.c (get_unwidened): Handle constants.
577         * convert.c (convert_to_integer): Handle TRUNC_DIV_EXPR.
579 2010-02-10  Martin Jambor  <mjambor@suse.cz>
581         PR lto/42985
582         * ipa-prop.c (ipa_update_after_lto_read): Count parameters and
583         check for variable argument counts independently.
585 2010-02-10  Christian Bruel  <christian.bruel@st.com>
587         PR target/42841
588         * config/sh/sh.c (find_barrier): Increase length for non delayed
589         conditional branches.
591 2010-02-10  Christian Bruel  <christian.bruel@st.com>
593         * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting.
595 2010-02-10  Jakub Jelinek  <jakub@redhat.com>
597         * builtins.c (set_builtin_user_assembler_name): Also handle
598         ffs if int is smaller than word.
600 2010-02-09  Vladimir Makarov  <vmakarov@redhat.com>
602         PR middle-end/42973
603         * ira-conflicts.c (get_dup): Remove.
604         (process_reg_shuffles): Add new parameter.  Use it as an
605         additional guard for copy generation.
606         (add_insn_allocno_copies): Rewrite.
608 2010-02-09  Alexander Monakov  <amonakov@ispras.ru>
610         * common.opt (fsched2-use-traces): Preserved for backward
611         compatibility.
612         * doc/invoke.texi: Remove the documentation about option
613         -fsched2-use-traces.
614         * sched-rgn.c (rest_of_handle_sched2): Remove usage of
615         flag_sched2_use_traces.
616         * opts.c (common_handle_option): Add OPT_fsched2_use_traces to
617         the backward compatibility flag section.
619 2010-02-09  Richard Guenther  <rguenther@suse.de>
621         PR tree-optimization/43008
622         * tree-ssa-structalias.c (handle_lhs_call): Pass in the fndecl,
623         make HEAP variables initialized from global memory if they
624         are not known builtin functions.
625         (find_func_aliases): Adjust.
627 2010-02-09  Richard Guenther  <rguenther@suse.de>
629         PR tree-optimization/43000
630         * tree-vrp.c (vrp_int_const_binop): Only handle unsigned
631         arithmetic manually.
633 2010-02-08  Jakub Jelinek  <jakub@redhat.com>
635         PR tree-optimization/42931
636         * tree-loop-linear.c (try_interchange_loops): Don't call
637         double_int_mul if estimated_loop_iterations failed.
639 2010-02-08  Martin Jambor  <mjambor@suse.cz>
641         PR middle-end/42898
642         * tree-sra.c (build_accesses_from_assign): Do not mark in
643         should_scalarize_away_bitmap if stmt has volatile ops.
644         (sra_modify_assign): Do not process assigns piecemeal if if stmt
645         has volatile ops.
647 2010-02-08  Joern Rennecke  <joern.rennecke@embecosm.com>
649         * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document.
651 2010-02-07  Adam Nemet  <adambnmet@gmail.com>
653         * config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment
654         before the pattern.
656 2010-02-07  Andrew Pinski  <pinskia@gmail.com>
658         PR middle-end/42946
659         * df-core.c (df_finish_pass): Change type of saved_flags to int.
661 2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>
663         PR middle-end/42988
664         * graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND
665         to unknown_dependence.
666         (graphite_legal_transform_dr): Handle the unknown_dependence.
667         (graphite_carried_dependence_level_k): Same.
669 2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>
671         * ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/.
673 2010-02-07  Richard Guenther  <rguenther@suse.de>
675         PR middle-end/42991
676         * expr.c (get_inner_reference): Always initialize *pbitsize.
678 2010-02-07  Richard Guenther  <rguenther@suse.de>
680         PR middle-end/42956
681         * gimplify.c (gimple_fold_indirect_ref): Avoid generating
682         new ARRAY_REFs on variable size element or minimal index arrays.
683         Complete.
684         * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use
685         gimple_fold_indirect_ref.
687 2010-02-06  Richard Earnshaw  <rearnsha@arm.com>
689         PR target/42957
690         * arm.c (arm_override_options): Just return if the user has specified
691         an invalid fpu name.
693 2010-02-03  Jason Merrill  <jason@redhat.com>
695         PR c++/42870
696         * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call
697         i386_pe_maybe_record_exported_symbol.
699 2010-02-05  Steve Ellcey  <sje@cup.hp.com>
701         PR target/42924
702         * config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
703         (pa_delegitimize_address): New function.
705 2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>
707         * config/i386/msformat-c.c (ms_printf_length_specs): Set the
708         scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
710 2010-02-05  Richard Guenther  <rguenther@suse.de>
712         PR lto/42762
713         * lto-streamer-in.c (get_resolution): Deal with references
714         to undefined functions.
716 2010-02-05  Richard Guenther  <rguenther@suse.de>
718         * tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions.
719         (fold_const_aggregate_ref): Likewise.
720         (ccp_fold_stmt): Substitute loads.
721         (maybe_fold_reference): Verify types before substituting.
722         Unshare properly.
723         (fold_gimple_assign): Unshare properly.
724         (fold_stmt_1): Insert conversion if necessary before replacing the RHS.
726 2010-02-05  Nathan Froyd  <froydnj@codesourcery.com>
728         * config/rs6000/rs6000.c (rs6000_override_options): Invert check
729         for rs6000_gen_cell_microcode.
731 2010-02-04  Richard Guenther  <rguenther@suse.de>
733         PR rtl-optimization/42952
734         * dse.c (const_or_frame_p): Remove MEM handling.
736 2010-02-04  Nick Clifton  <nickc@redhat.com>
738         * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
739         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
740         (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM.
741         (mn10300_asm_output_mi_thunk): New function.
742         (mn10300_can_output_mu_thunk): New function.
743         * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define.
744         (FUNCTION_ARG_REGNO_P): Fix comment.  Accept d0 and d1.
745         (FUNCTION_ARG): Delete incorrect comment.
747 2010-02-03  Jason Merrill  <jason@redhat.com>
749         PR c++/40138
750         * fold-const.c (operand_equal_p): Handle erroneous types.
752 2010-02-03  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
754         * config/h8300/h8300.md (can_delay): Fix attibute condition.
756 2010-02-03  Vladimir Makarov  <vmakarov@redhat.com>
758         PR rtl-optimization/42941
759         * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead
760         of xmalloc.
762 2010-02-03  Jason Merrill  <jason@redhat.com>
764         PR c++/35652
765         * builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics.
767 2010-02-03  Alexandre Oliva  <aoliva@redhat.com>
769         PR debug/42896
770         * cselib.h (struct cselib_val_struct): Add uid.  Rename value to
771         hash.
772         (cselib_reset_table): Renamed from...
773         (cselib_reset_table_with_next_value): ... this.
774         (cselib_get_next_uid): Renamed from...
775         (cselib_get_next_unknown_value): ... this.
776         * cselib.c (next_uid): Renamed from...
777         (next_unknown_value): ... this.
778         (cselib_clear_table): Adjust.
779         (cselib_reset_table): Adjust.  Renamed from...
780         (cselib_reset_table_with_next_value): ... this.
781         (cselib_get_next_uid): Adjust.  Renamed from...
782         (cselib_get_next_unknown_value): ... this.
783         (get_value_hash): Use hash.
784         (cselib_hash_rtx): Likewise.
785         (new_cselib_val): Adjust.  Set and dump uid.
786         (cselib_lookup_mem): Pass next_uid as hash.
787         (cselib_subst_to_values): Likewise.
788         (cselib_log_lookup): Dump uid.
789         (cselib_lookup): Pass next_uid as hash.  Adjust.
790         (cselib_process_insn): Adjust.
791         (cselib_init): Initialize next_uid.
792         (cselib_finish): Adjust.
793         (dump_cselib_table): Likewise.
794         * dse.c (canon_address): Dump value uid.
795         * print-rtl.c (print_rtx): Print value uid.
796         * var-tracking.c (VARIABLE_HASH_VAL): Dropped.
797         (dvuid): New type.
798         (dv_uid): New function, sort of renamed from...
799         (dv_htab_hash): ... this, reimplemented in terms of it and...
800         (dv_uid2hash): ... this.  New.
801         (variable_htab_eq): Drop excess assertions.
802         (tie_break_pointers): Removed.
803         (canon_value_cmp): Compare uids.
804         (variable_post_merge_New_vals): Print uids.
805         (vt_add_function_parameters): Adjust.
806         (vt_initialize): Reset table.  Adjust.
808 2010-02-03  Richard Guenther  <rguenther@suse.de>
810         PR tree-optimization/42944
811         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc.
812         (call_may_clobber_ref_p_1): Likewise.  Properly handle
813         malloc and calloc clobbering errno.
815 2010-02-03  Steven Bosscher  <steven@gcc.gnu.org>
817         * doc/invoke.texi: Fix name of sched1 dump.
819         * opts.c (decode_options): Set flag_tree_switch_conversion
820         only conditionally on optimize >= 2.
822         * gcse.c: Assorted comment fixes in pass description.
824 2010-02-03  Anthony Green  <green@moxielogic.com>
826         * config/moxie/moxie.c (moxie_asm_trampoline_template): Introduce
827         nop padding in order to maintain alignment of storage location of
828         target function address.
829         (moxie_trampoline_init): Store target function address at newly
830         aligned location.
831         * config/moxie/moxie.h (TRAMPOLINE_ALIGNMENT): Increase alignment
832         to 32.
833         (TRAMPOLINE_SIZE): Increase size by 2 bytes for alignment padding.
835 2010-02-03  Richard Guenther  <rguenther@suse.de>
837         PR middle-end/42927
838         * tree-cfg.c (verify_gimple_assign_binary): Fix shift verification.
840 2010-02-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
842         * config.gcc: Reenable check for obsolete targets.
843         Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
844         mips-sgi-irix6.[0-4]*.
846 2010-02-02  Nick Clifton  <nickc@redhat.com>
848         * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
849         constant size of 4 as being the same as 0.
850         * doc/invoke.texi (RX Options): Document that -mmax-constant-size
851         can take values in the range 0..4.
853 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
855         PR java/41991
856         * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
857         as _darwin10_Unwind_FindEnclosingFunction().
858         * libgcc-libsystem.ver: New.
860 2010-02-01  Vladimir Makarov  <vmakarov@redhat.com>
862         PR target/41399
863         * sched-deps.c (sched_analyze_insn): Ignore fixed registers for
864         implicitly set registers.
866 2010-02-01  Richard Earnshaw  <rearnsha@arm.com>
868         * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
869         (arm_override_options): Allow automatic selection of the thread
870         pointer register if thumb2.
871         (legitimize_pic_address): Improve code sequences for Thumb2.
872         (arm_call_tls_get_addr): Likewise.
873         (legitimize_tls_address): Likewise.
874         * arm.md (pic_load_addr_arm): Delete.  Replace with ...
875         (pic_load_addr_32bit): ... this.  New named pattern.
876         * thumb2.md (pic_load_addr_thumb2): Delete.
877         (pic_load_dot_plus_four): Delete.
878         (tls_load_dot_plus_four): New named pattern.
880 2010-02-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
882         PR libgomp/29986
883         * doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry.
884         Document fix for TLS bug.
886 2010-01-31  Richard Guenther  <rguenther@suse.de>
888         * tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be
889         conservatively correct.
891 2010-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
893         PR target/42850
894         Revert:
895         2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
897         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
899 2010-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
901         * doc/install.texi: Update recommended GMP/MPFR/MPC versions.
903 2010-01-31  Kai Tietz  <kai.tietz@onevision.com>
905         * config.gcc: Adjust order of makefile fragments for mingw targets.
907 2010-01-31  Richard Guenther  <rguenther@suse.de>
909         PR middle-end/42898
910         * gimplify.c (gimplify_init_constructor): For volatile LHS
911         initialize a temporary.
913 2010-01-31  Matthias Klose  <doko@ubuntu.com>
915         * configure.ac: Fix __stack_chk_fail check for cross builds configured
916         --with-headers
917         * configure: Regenerate.
919 2010-01-29  Eric Botcazou  <ebotcazou@adacore.com>
921         * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have
922         the same alias set and their sizes different constantness.
923         (aliasing_component_refs_p): Revert 2009-10-24 change.
925 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
927         * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl
928         unused.
930 2010-01-29  Richard Guenther  <rguenther@suse.de>
932         * tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute.
933         Assert we successfully updated the call.
935 2010-01-29  Jakub Jelinek  <jakub@redhat.com>
937         PR rtl-optimization/42889
938         * df.h (df_set_bb_dirty_nonlr): New prototype.
939         * df-core.c (df_set_bb_dirty_nonlr): New function.
940         * df-scan.c (df_insn_rescan): Call it instead of
941         df_set_bb_dirty for DEBUG_INSNs.
943 2010-01-29  Richard Guenther  <rguenther@suse.de>
945         PR middle-end/37448
946         * ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid
947         quadratic behavior in most cases.
949 2010-01-28  Uros Bizjak  <ubizjak@gmail.com>
951         PR target/42891
952         * config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode
953         in the call to gen_x86_movsicc_0_m1.
955 2010-01-28  Richard Guenther  <rguenther@suse.de>
957         PR tree-optimization/42871
958         * tree-ssa-pre.c (phi_translate_set): Make sure to retain leaders.
960 2010-01-28  Richard Guenther  <rguenther@suse.de>
962         * tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate
963         into call arguments.
965 2010-01-28  Richard Guenther  <rguenther@suse.de>
967         PR middle-end/42883
968         * tree-cfgcleanup.c (remove_forwarder_block): Do not remove
969         the forwarder if the destination is an EH landing pad.
971 2010-01-28  Razya Ladelsky  <razya@il.ibm.com>
973         * tree-parloops.c (transform_to_exit_first_loop): Update the basic
974         block list passed to gimple_duplicate_sese_tail.
975         (parallelize_loops): Avoid parallelization when the function
976         has_nonlocal_label.
977         Avoid parallelization when the preheader is IRREDUCIBLE.
978         Try to optimize when estimated_loop_iterations_int is unresolved.
979         Add the loop's location to the dump file.
980         * tree-cfg.c (add_phi_args_after_redirect): Remove.
981         (gimple_duplicate_sese_tail): Remove the check for the latch.
982         Redirect nexits to the exit block.
983         Remove handling of the incoming edges to the latch.
984         Redirect the backedge from the copied latch to the exit bb.
986 2010-01-28  Michael Matz  <matz@suse.de>
988         PR target/42881
989         * config/i386/i386.c (ix86_expand_vector_init_duplicate):
990         Wrap force_reg into a sequence, emit it before user.
992 2010-01-28  Stephen Thomas  <stephen.thomas@arm.com>
994         * config/arm/arm.md (bswapsi2): Add support for bswapsi2.
995         (arm_rev): New.
996         (arm_legacy_rev): Likewise.
997         (thumb_legacy_rev): Likewise.
999 2010-01-27  Jakub Jelinek  <jakub@redhat.com>
1001         * dwarf2out.c (mem_loc_descriptor): Remove special casing of
1002         CONSTANT_POOL_ADDRESS_P SYMBOL_REFs.  If for MEM recursive call
1003         on MEM's address failed, try avoid_constant_pool_reference and
1004         recurse if it returned something different.
1005         (loc_descriptor): If for MEM mem_loc_descriptor failed on the
1006         address, try avoid_constant_pool_reference and recurse if it
1007         returned something different.
1008         (dw_loc_list_1): If for MEM mem_loc_descriptor failed on the
1009         address and avoid_constant_pool_reference returned something
1010         different, don't set have_address.
1012 2010-01-27  Alexandre Oliva  <aoliva@redhat.com>
1014         PR debug/42861
1015         * var-tracking.c (val_store): Add modified argument, obey it.
1016         Adjust callers.
1017         (count_uses): Move down logging of main.
1018         (compute_bb_dataflow): Use val_store for MO_VAL_USEs that
1019         don't need resolution.
1020         (emit_notes_in_bb): Likewise.
1022 2010-01-27  Richard Guenther  <rguenther@suse.de>
1024         PR middle-end/42878
1025         * tree-inline.c (remap_decl): Delay remapping of SSA name
1026         default definitions until we need them.
1028 2010-01-27  Jakub Jelinek  <jakub@redhat.com>
1030         * config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
1031         (rs6000_delegitimize_address): New function.
1033         * config/s390/s390.c (s390_delegitimize_address): Call
1034         delegitimize_mem_from_attrs.
1036         PR middle-end/42874
1037         * tree-inline.c (cannot_copy_type_1): Removed.
1038         (copy_forbidden): Don't forbid copying of functions containing
1039         records/unions with variable length fields.
1041 2010-01-27  Christian Bruel  <christian.bruel@st.com>
1043         Revert:
1044         PR target/42841
1045         * config/sh/sh.c (find_barrier): Increase length for non delayed
1046         conditional branches.
1048 2010-01-27  Matthias Klose  <doko@ubuntu.com>
1050         * configure.ac (gnu-unique-object): Fix ldd version check.
1051         * configure: Regenerate.
1053 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1055         * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
1056         HAVE_GNU_AS value.
1057         * config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
1058         Test for HAVE_GNU_AS value.
1060 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1062         * config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint.
1063         * config/mips/iris.h (INT8_TYPE, INT16_TYPE, INT32_TYPE,
1064         INT64_TYPE): Define.
1065         (UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define.
1066         (INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE,
1067         INT_LEAST64_TYPE): Define.
1068         (UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE,
1069         UINT_LEAST64_TYPE): Define.
1070         (INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE)
1071         INT_FAST64_TYPE): Define.
1072         (UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE,
1073         UINT_FAST64_TYPE): Define.
1074         (INTMAX_TYPE, UINTMAX_TYPE): Define.
1075         (INTPTR_TYPE, UINTPTR_TYPE): Define.
1076         (SIG_ATOMIC_TYPE): Define.
1078 2010-01-26  Richard Guenther  <rguenther@suse.de>
1080         * df-scan.c (df_scan_set_bb_info): Remove assert.
1081         (df_insn_rescan_debug_internal): Merge asserts.
1082         (df_install_ref): Likewise.
1083         (df_mark_reg): Use bitmap_set_range.
1084         (df_hard_reg_used_p): Remove assert.
1085         (df_hard_reg_used_count): Likewise.
1087 2010-01-26  Richard Guenther  <rguenther@suse.de>
1089         PR rtl-optimization/42685
1090         * web.c (web_main): Ignore DEBUG_INSNs.
1092 2010-01-26  Joern Rennecke  <amylaar@spamcop.net>
1094         * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments.
1096         (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter.
1097         Fix types of fndecl and arglist parameters.
1099 2010-01-26  Richard Guenther  <rguenther@suse.de>
1101         PR middle-end/42806
1102         * tree-eh.c (unsplit_eh): Skip debug insns.
1104 2010-01-26  Richard Guenther  <rguenther@suse.de>
1106         PR tree-optimization/42250
1107         * ipa-type-escape.c (type_escape_execute): Do not analyze clones.
1109 2010-01-26  Jakub Jelinek  <jakub@redhat.com>
1111         PR fortran/42866
1112         * omp-low.c (expand_omp_sections): Only use single_pred if
1113         l2_bb is single_pred_p.
1115 2010-01-25  Christian Bruel  <christian.bruel@st.com>
1117         PR target/42841
1118         * config/sh/sh.c (find_barrier): Increase length for non delayed
1119         conditional branches.
1120         (sh_insn_length_adjustment): Use JUMP_TABLE_DATA_P.
1122 2010-01-24  David S. Miller  <davem@davemloft.net>
1124         * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
1125         define if not using GAS.
1126         * config/sparc/sparc.c (sparc_elf_asm_named_section):
1127         Likewise.  Delete SECTION_MERGE code, which is only applicable
1128         when using GAS.
1130 2010-01-24  Mark Mitchell  <mark@codesourcery.com>
1132         PR c++/42748
1133         * config/arm/arm.c (arm_mangle_type): Do not warn about changes to
1134         mangling of va_list in system headers.
1136 2010-01-23  Toon Moene  <toon@moene.org>
1138         * tree-predcom.c (combine_chains): Return NULL, not false.
1140 2010-01-23  Joern Rennecke  <amylaar@spamcop.net>
1142         * tree-loop-distribution.c (distribute_loop): Fix declaration and
1143         initialization of variable res to agree with return type.
1145 2010-01-22  Steve Ellcey  <sje@cup.hp.com>
1147         * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency.
1148         * tree-sra.c: Add include of expr.h.
1150 2010-01-22  Jakub Jelinek  <jakub@redhat.com>
1152         * tree-into-ssa.c (maybe_register_def): If stmt ends the bb,
1153         insert the debug stmt on the single non-EH edge from the stmt.
1155 2010-01-22  Richard Henderson  <rth@redhat.com>
1157         PR tree-opt/42833
1158         * tree-sra.c (sra_modify_assign): Delay re-gimplification of
1159         the RHS until after generate_subtree_copies has insertted its
1160         code before the current statement.
1162 2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
1164         * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
1166         * gcc-plugin.h (plugin_init): Use "C" likage for c++.
1168 2010-01-21  Martin Jambor  <mjambor@suse.cz>
1170         PR tree-optimization/42585
1171         * tree-sra.c (struct access): New field grp_total_scalarization.
1172         (dump_access): Dump the new field.
1173         (should_scalarize_away_bitmap): New variable.
1174         (cannot_scalarize_away_bitmap): Likewise.
1175         (sra_initialize): Allocate new bitmaps.
1176         (sra_deinitialize): Free new bitmaps.
1177         (create_access_1): New function.
1178         (create_access): Parts moved to create_access_1.
1179         (type_consists_of_records_p): New function.
1180         (completely_scalarize_record): Likewise.
1181         (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap.
1182         (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap.
1183         (sort_and_splice_var_accesses): Hint groups with a total_scalarization
1184         access.
1185         (analyze_all_variable_accesses): Completely scalarize small eligible
1186         records.
1188 2010-01-21  Martin Jambor  <mjambor@suse.cz>
1190         * tree-sra.c (build_ref_for_offset_1): Allow for zero size fields.
1192 2010-01-21  Andrew Haley  <aph@redhat.com>
1194         * gcc.c (process_command): Move lang_specific_driver before
1195         setting cc_libexec_prefix.
1197 2010-01-21  Richard Guenther  <rguenther@suse.de>
1199         PR middle-end/19988
1200         * fold-const.c (negate_expr_p): Pretend only negative
1201         real constants are easily negatable.
1203 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
1204             Jason Merrill  <jason@redhat.com>
1206         * tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
1207         (TYPE_TRANSPARENT_AGGR): this, for union and record.
1208         * calls.c (initialize argument_information): Handle it.
1209         * c-common.c (handle_transparent_union_attribute): Use new name.
1210         * c-decl.c (finish_struct): Ditto.
1211         * c-typeck.c (type_lists_compatible_p): Ditto.
1212         (convert_for_assignment): Use new name and also handle record.
1213         * function.c (aggregate_value_p): Handle it.
1214         (pass_by_reference): Ditto.
1215         (assign_parm_data_types): Ditto.
1216         * print-tree.c (print_node): Ditto.
1217         * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto.
1218         * lto-streamer-out.c (pack_ts_type_value_fields): Ditto.
1219         * tree.c (first_field): New fn.
1221 2010-01-21  Dave Korn  <dave.korn.cygwin@gmail.com>
1223         PR target/42818
1224         * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers,
1225         even when linking statically, for now.
1227 2010-01-20  Alexandre Oliva  <aoliva@redhat.com>
1229         PR debug/42715
1230         * var-tracking.c (use_type): Choose MO_VAL_SET for REGs set
1231         without a cselib val.
1232         (count_uses): Accept MO_VAL_SET with no val on stores.
1233         (add_stores): Likewise.
1235 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
1237         * var-tracking.c (check_value_val): Add a compile time assertion.
1238         (dv_is_decl_p): Simplify.
1239         (dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use
1240         gcc_assert if ENABLE_CHECKING.
1242 2010-01-20  Alexandre Oliva  <aoliva@redhat.com>
1244         PR debug/42782
1245         * var-tracking.c: Include tree-flow.h.
1246         (mem_dies_at_call): New.
1247         (dataflow_set_preserve_mem_locs): Use it.
1248         (dataflow_set_remove_mem_locs): Likewise.
1249         (dump_var): Renamed from dump_variable.  Adjust all callers.
1250         (dump_var_slot): Renamed from dump_variable_slot.  Likewise.
1251         * Makefile.in (var-tracking.o): Adjust deps.
1253 2010-01-20  Joern Rennecke  <amylaar@spamcop.net>
1255         * doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list.
1257 2010-01-20  Richard Guenther  <rguenther@suse.de>
1259         PR tree-optimization/42717
1260         * tree-ssa-dce.c (get_live_post_dom): Remove.
1261         (forward_edge_to_pdom): Take an arbitrary edge to copy
1262         degenerate PHI args from.
1263         (remove_dead_stmt): Use the first post-dominator even if it
1264         does not contain live statements as redirection destination.
1266 2010-01-20  Richard Guenther  <rguenther@suse.de>
1268         * tree-inline.c (estimate_num_insns): Handle EH builtins.
1270 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
1272         * sel-sched.c (create_speculation_check): Remove set but not used
1273         variable twin.
1274         (try_transformation_cache): Remove set but not used variable ds.
1275         (calculate_privileged_insns): Remove set but not used variables
1276         cur_insn and min_spec_insn.
1277         (find_best_expr): Remove set but not used variable avail_n.
1278         * tree-predcom.c (base_names_in_chain_on): Remove set but not used
1279         variable e.
1280         * cgraphunit.c (assemble_thunk): Remove set but not used variable
1281         false_label.
1282         * haifa-sched.c (remove_notes): Remove set but not used variable prev.
1283         * graphite-clast-to-gimple.c (gloog): Remove set but not used variable
1284         new_scop_exit_edge.
1286 2010-01-20  Felyza Wishbringer  <fwishbringer@gmail.com>
1288         PR bootstrap/42786
1289         * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
1290         cpu types.  Add support for *-sse3 cpu types.
1291         (x86_64-*-*): Ditto.
1293 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
1295         PR middle-end/42803
1296         * varasm.c (narrowing_initializer_constant_valid_p): Add CACHE
1297         argument, call initializer_constant_valid_p_1 instead of
1298         initializer_constant_valid_p, pass CACHE to it, return NULL
1299         immediately if first call returns NULL.
1300         (initializer_constant_valid_p_1): New function.
1301         (initializer_constant_valid_p): Use it.
1303 2010-01-20  Thomas Quinot  <quinot@adacore.com>
1305         * tree.def (PLACEHOLDER_EXPR): Fix comment.
1307 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
1309         * dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead
1310         of MOD, handle MOD using DW_OP_{over,over,div,mul,minus}.
1311         (loc_list_from_tree): Don't handle unsigned division.  Handle
1312         signed modulo using DW_OP_{over,over,div,mul,minus}.
1313         * unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned
1314         modulo instead of signed.
1316 2010-01-20  DJ Delorie  <dj@redhat.com>
1318         * config/h8300/h8300.c (F): Add "in_epilogue" flag.
1319         (Fpa): Pass it
1320         (h8300_emit_stack_adjustment): Propogate it.
1321         (push): Pass it.
1322         (h8300_expand_prologue): Likewise.
1323         (h8300_expand_epilogue): Likewise.
1325 2010-01-19  Michael Matz  <matz@suse.de>
1327         PR tree-optimization/41783
1328         * tree-data-ref.c (toplevel): Include flags.h.
1329         (dump_data_dependence_relation):  Also dump the inputs if the
1330         result will be unknown.
1331         (split_constant_offset_1): Look through some conversions.
1332         * tree-predcom.c (determine_roots_comp): Restart a new chain if
1333         the offset from last element is too large.
1334         (ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF.
1335         (reassociate_to_the_same_stmt): Handle vector registers.
1336         * tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations
1337         (e.g. conversions).
1338         * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add
1339         wide_prolog_niters argument, emit widening instructions.
1340         (vect_do_peeling_for_alignment): Adjust caller, use widened
1341         variant of the iteration cound.
1342         * Makefile.in (tree-data-ref.o): Add $(FLAGS_H).
1344 2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1346         PR target/38697
1347         * config/arm/neon-testgen.m (emit_automatics): New parameter
1348         features. Adjust for Fixed_return_reg feature.
1349         (test_intrinsic): Call emit_automatics with new feature.
1350         * config/arm/neon.ml: Update copyright years.
1351         (features): New Fixed_return_reg feature.
1352         (ops): Update feature for Vget_low.
1354 2010-01-19  Jakub Jelinek  <jakub@redhat.com>
1356         PR tree-optimization/42719
1357         * tree-outof-ssa.c (trivially_conflicts_p): Don't consider debug
1358         stmt uses.
1360         PR debug/42728
1361         * fwprop.c (all_uses_available_at): Return false if def_set dest
1362         is a REG that is used in def_insn.
1364 2010-01-19  Joern Rennecke  <amylaar@spamcop.net>
1366         * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names.
1368         (TARGET_CC_MODES_COMPATIBLE): Put return value in braces.
1369         Add argument names.
1371         (TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language.
1373         * target.h (struct gcc_target) <secondary_reload>: Change type
1374         of last argument to secondary_reload_info *.
1376 2010-01-18  Uros Bizjak  <ubizjak@gmail.com>
1378         PR target/42774
1379         * config/alpha/predicates.md (aligned_memory_operand): Return 0 for
1380         memory references with unaligned offsets.  Remove CQImode handling.
1381         (unaligned_memory_operand): Return 1 for memory references with
1382         unaligned offsets.  Remove CQImode handling.
1384 2010-01-18  Richard Guenther  <rguenther@suse.de>
1386         PR middle-end/39954
1387         * cfgexpand.c (expand_call_stmt): TER pointer arguments in
1388         builtin calls.
1390 2010-01-18  Richard Guenther  <rguenther@suse.de>
1392         PR tree-optimization/42781
1393         * tree-ssa-structalias.c (find_what_var_points_to): Skip
1394         restrict processing only if the original variable was artificial.
1396 2010-01-18  Joern Rennecke  <amylaar@spamcop.net>
1398         * doc/tm.texi (TARGET_ASM_FUNCTION_EPILOGUE): Update text on where to
1399         find number of popped argument bytes.
1401         (TARGET_INVALID_WITHIN_DOLOOP): Put return value in braces.
1402         Fix the text that describes the return value for invalid insns.
1404         (TARGET_SCHED_NEEDS_BLOCK_P): Fix return type.  Fix argument list.
1406         (TARGET_SCHED_IS_COSTLY_DEPENDENCE): Fix argument types.
1407         Clarify what 'cost of the -dependence' is.  Fix quoting.
1409         * toplev.c (default_get_pch_validity): Rename argument to "sz".
1410         * doc/tm.texi (TARGET_GET_PCH_VALIDITY): Likewise.
1412 2010-01-17  Jakub Jelinek  <jakub@redhat.com>
1414         * dwarf2out.c (mem_loc_descriptor): Don't ICE on
1415         {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.
1417 2010-01-17  Richard Guenther  <rguenther@suse.de>
1419         PR middle-end/42248
1420         * function.c (split_complex_args): Take a VEC to modify.
1421         (assign_parms_augmented_arg_list): Build a VEC instead of
1422         a chain of PARM_DECLs.
1423         (assign_parms_unsplit_complex): Take a VEC of arguments.
1424         Do not fixup unmodified parms.
1425         (assign_parms): Deal with the VEC.
1426         (gimplify_parameters): Likewise.
1428 2010-01-17  Richard Guenther  <rguenther@suse.de>
1430         * tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI
1431         node existence check.
1432         * tree-vect-loop.c (vect_analyze_loop_form): Likewise.
1433         * tree-cfgcleanup.c (merge_phi_nodes): Likewise.
1434         * tree-ssa-dce.c (forward_edge_to_pdom): Likewise.
1435         * tree-cfg.c (gimple_execute_on_growing_pred): Likewise.
1436         (gimple_execute_on_growing_pred): Likewise.
1438 2010-01-17  Richard Guenther  <rguenther@suse.de>
1440         PR tree-optimization/42773
1441         * tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence.
1442         (compute_antic_aux): Likewise.
1443         (compute_partial_antic_aux): Likewise.
1445 2010-01-17  Jie Zhang  <jie.zhang@analog.com>
1447         PR debug/42767
1448         * dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
1449         and US_TRUNCATE.
1451 2010-01-17  Joern Rennecke  <amylaar@spamcop.net>
1453         * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
1454         appearance.
1456         (TARGET_LEGITIMATE_ADDRESS_P): Add return type.
1457         Fix markup for strict argument.
1459         (TARGET_SCHED_REORDER2): Fix argument types.
1461         (TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
1462         (TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.
1464         (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
1465         (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.
1467         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
1468         Add argument name.
1470         (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
1471         (TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
1472         (TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
1473         (TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
1474         (TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.
1476         (TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.
1478         (TARGET_SCHED_GEN_SPEC_CHECK): Fix name.
1480         (TARGET_ASM_RELOC_RW_MASK): Add return type.
1481         (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.
1483         (TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.
1485         (TARGET_ASM_FILE_START): Put @findex before paragraph start.
1486         Use prototype.
1488         (TARGET_ASM_NAMED_SECTION): Fix argument list.
1490         (TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
1491         (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.
1493         (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.
1495         (TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.
1497         (TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
1498         referring to it.  Fix language.
1500         (TARGET_HAVE_CTORS_DTORS): Use @deftypevr.
1502         (TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.
1504         (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.
1506         (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.
1508         (TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
1509         '@var{stream}.  Remove stray 'and'.
1511         (TARGET_ARM_EABI_UNWINDER): Use @deftypevr.
1513         (TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.
1515         (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.
1517         (TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was
1518         misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.
1520         (TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
1521         Fix description of return value.
1522         Rename argument "sz" to "len."
1524         (TARGET_CXX_GUARD_MASK_BIT): Add missing article.
1525         Clarify meaning of 'true' return value.
1527         (TARGET_SHIFT_TRUNCATION_MASK): Fix return type.
1529         (TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
1530         rep_mode versus mode_rep.
1532         (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.
1534         (TARGET_BUILTIN_DECL): Fix name.
1536         (TARGET_COMMUTATIVE_P): Fix type of first argument.
1538         (TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL.
1540         (TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type.
1542         (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook.
1544         (TARGET_RELAXED_ORDERING): Use @deftypevr.
1546         (TARGET_GET_DRAP_RTX): Note that this is a hook.
1547         Clarify language.
1549         (TARGET_BUILTIN_RECIPROCAL): Fix argument types.
1550         Rename argument tm_fn to md_fn.
1552         (TARGET_OPTION_PRINT): Fix argument list.
1554 2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>
1556         PR target/42664
1557         * config/i386/i386.c (ix86_fixup_binary_operands):
1558         Revert FMA4 fixup of operands.
1560 2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1562         PR gcc/42525
1563         * Makefile.in (write_entries_to_file, install-plugin):
1564         Use \012 instead of \n with tr.
1566 2010-01-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
1568         * configure.ac (HAVE_AS_REF): New C macro.
1569         * configure: Regenerate.
1570         * config.in: Likewise.
1571         * collect2.c (main): Only postpone SCAN_DWEH to the second pass
1572         if HAVE_AS_REF.
1573         * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
1574         if HAVE_AS_REF.
1576 2010-01-16  Joern Rennecke  <amylaar@spamcop.net>
1578         * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
1580         (TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.
1582         (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.
1584         (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.
1586         (TARGET_IN_SMALL_DATA_P): Fix argument type.
1588         (TARGET_BINDS_LOCAL_P): Fix argument type.
1590         (TARGET_ASM_FILE_END): Use prototype.
1592         (TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.
1594         (TARGET_DWARF_CALLING_CONVENTION): Fix argument type.
1596         (TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.
1598         (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.
1600         (TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
1601         (TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.
1603         (TARGET_PCH_VALID_P): Put 'const char *' in braces.
1604         (TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.
1606         (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
1607         (TARGET_ADDR_SPACE_SUBSET_P): Likewise.
1608         (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
1609         (TARGET_ADDR_SPACE_CONVERT): Likewise.
1611         (TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.
1613         (TARGET_MACHINE_DEPENDENT_REORG: Use prototype.
1615         (TARGET_INIT_BUILTINS): Use prototype.
1617         (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
1618         Put 'const char *' in braces.  Fix parameter types.
1619         (TARGET_INVALID_CONVERSION): Fix parameter types.
1620         (TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
1621         (TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.
1623         (TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
1624         Fix argument type.
1626         (TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.
1628         (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.
1630 2010-01-15  Joern Rennecke  <amylaar@spamcop.net>
1632         * doc/tm.texi (TARGET_HELP): Fix return type.
1634         (TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
1635         in braces.  Fix argument types.
1637         (TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.
1639         (TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.
1641         (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.
1643         (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
1644         (TARGET_FIXED_POINT_SUPPORTED_P): Likewise.
1646         (TARGET_MANGLE_TYPE): Fix argument types.
1648         (TARGET_IRA_COVER_CLASSES): Use prototype.
1650         (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type.  Use prototype.
1652         (TARGET_CAN_ELIMINATE): Use identifiers for argument names.
1654         (TARGET_PROMOTE_PROTOTYPES): Fix argument type.
1656         (TARGET_MUST_PASS_IN_STACK): Fix argument type.
1658         (TARGET_CALLEE_COPIES): Fix argument types.
1660         (TARGET_SPLIT_COMPLEX_ARG): Fix argument type.
1662         (TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.
1664         (TARGET_FUNCTION_VALUE): Fix argument types.
1666         (TARGET_RETURN_IN_MSB): Fix argument type.
1668         (TARGET_RETURN_IN_MEMORY): Fix argument types.
1670         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.
1672         (TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.
1674         (TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
1675         agree with return type.
1677         (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.
1679 2010-01-15  Jing Yu  <jingyu@google.com>
1681         PR rtl-optimization/42691
1682         * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
1683         a pseudo to a constant and are merged, and adjust comments.
1685 2010-01-15  Eric Botcazou  <ebotcazou@adacore.com>
1687         * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.
1689 2010-01-15  Richard Guenther  <rguenther@suse.de>
1691         PR middle-end/42739
1692         * tree-cfgcleanup.c (remove_forwarder_block): Move destination
1693         labels of computed or non-local gotos to the destination.
1694         * tree-cfg.c (gimple_verify_flow_info): Verify that a EH
1695         landing pad label is the first label.
1697 2010-01-15  Richard Guenther  <rguenther@suse.de>
1699         * tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.
1701 2010-01-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
1703         PR target/42747
1704         * config/rs6000/rs6000.md (sqrtdf2): Split into expander and insn
1705         to allow generation of the xssqrtdp instruction on power7.
1706         (sqrtdf2_fpr): Ditto.
1708 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
1710         PR middle-end/42674
1711         * c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
1712         functions with noreturn attribute.
1714         PR c++/42608
1715         * varasm.c (declare_weak): Add weak attribute to decl if it
1716         doesn't have one already.
1717         (assemble_external): Only add decls to weak_decls if they also
1718         have weak attribute.
1720 2010-01-14  Alexandre Oliva  <aoliva@redhat.com>
1722         * var-tracking.c (var_reg_delete): Don't delete the association
1723         between REGs and values or one-part variables if the register
1724         isn't clobbered.
1726 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
1728         PR debug/42657
1729         * tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
1730         because its first operand is a non-localized variable.
1732 2010-01-14  Martin Jambor  <mjambor@suse.cz>
1734         PR tree-optimization/42706
1735         * tree-sra.c (encountered_recursive_call): New variable.
1736         (encountered_unchangable_recursive_call): Likewise.
1737         (sra_initialize): Initialize both new variables.
1738         (callsite_has_enough_arguments_p): New function.
1739         (scan_function): Call decl and flags check only for IPA-SRA, check
1740         whether there is a recursive call and whether it has enough arguments.
1741         (all_callers_have_enough_arguments_p): New function.
1742         (convert_callers): Look for recursive calls only when
1743         encountered_recursive_call is set.
1744         (ipa_early_sra): Bail out either if
1745         !all_callers_have_enough_arguments_p or
1746         encountered_unchangable_recursive_call.
1748 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1750         * sel-sched.c: Add 2010 to copyright years.
1751         * sel-sched-ir.c: Likewise.
1752         * sel-sched-ir.h: Likewise.
1754 2010-01-14  Martin Jambor  <mjambor@suse.cz>
1756         PR tree-optimization/42714
1757         * tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
1758         constructors specially.
1760 2010-01-14  Andi Kleen  <ak@linux.intel.com>
1762         * config/i386/drivers-i386.c (detect_caches_intel):
1763         Add l2sizekb parameter and fill in.
1764         (host_detect_local_cpu): Add l2sizekb, fill in.
1765         Add Atom small cache heuristic.
1767 2010-01-14  Andi Kleen  <ak@linux.intel.com>
1769         * config/i386/drivers-i386.c (detect_caches_cpuid4):
1770         Add level3 parameter and fill in.
1771         (detect_caches_intel): Handle level3 cache.
1773 2010-01-14  Andi Kleen  <ak@linux.intel.com>
1775         * config/i386/drivers-i386.c (host_detect_local_cpu):
1776         Fix core duo detection.
1778 2010-01-14  Andi Kleen  <ak@linux.intel.com>
1780         * config/i386/drivers-i386.c (host_detect_local_cpu):
1781         Fix Atom detection.
1783 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1785         * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
1786         (rs6000_variable_issue_1): this.  Use...
1787         (rs6000_variable_issue): here.  Reimplement.  Print debug info.
1789 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1791         * sel-sched-ir.c (sel_restore_other_notes): Rename to
1792         sel_restore_notes.  Update all callers.  Call reemit_notes
1793         for all insns.
1795 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
1797         PR rtl-optimization/42246
1798         * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
1799         loops.
1801 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
1803         * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
1804         all successors is the same as number of successors in current region.
1806 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1808         * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
1809         to rename is not separable.  Otherwise check that its LHS is not NULL.
1811 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1813         * sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.
1815 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1817         * sel-sched.c (mark_unavailable_hard_regs): Do not try to search
1818         available registers when failed to discover LHS register class.
1819         Fix indentation.  Update comment.
1821 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
1822             Alexander Monakov  <amonakov@ispras.ru>
1824         PR rtl-optimization/42389
1825         * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
1826         to can_issue_more.
1827         (advance_state_on_fence): Likewise.
1828         (sel_target_adjust_priority): Print debug output only when
1829         sched_verbose >= 4, not 2.
1830         (get_expr_cost): Do not issue all unique insns on the next cycle.
1831         (fill_insns): Initialize can_issue_more from the value saved
1832         with the fence.
1833         * sel-sched-ir.c (flist_add): New parameter issue_more.
1834         Init FENCE_ISSUE_MORE with it.
1835         (merge_fences): Likewise.
1836         (init_fences): Update call to flist_add.
1837         (add_to_fences, add_clean_fence_to_fences)
1838         (add_dirty_fence_to_fences): Likewise.
1839         (move_fence_to_fences): Update call to merge_fences.
1840         (invoke_reorder_hooks): Do not reset can_issue_more on insns from
1841         sched groups.
1842         * sel-sched-ir.h (struct _fence): New field issue_more.
1843         (FENCE_ISSUE_MORE): New accessor macro.
1845 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
1847         PR rtl-optimization/42388
1848         * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks
1849         that have no predecessors nor successors.  Do not call move_bb_info
1850         for empty blocks outside of current region.
1852 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1854         PR rtl-optimization/42294
1855         * sel-sched-ir.h (struct _sel_insn_data): Update comment.
1856         * sel-sched.c (move_exprs_to_boundary): Transitively add all
1857         originators' originators.
1859 2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
1861         PR rtl-optimization/39453
1862         PR rtl-optimization/42246
1863         * sel-sched-ir.c (considered_for_pipelining_p): Do not test
1864         for pipelining_p.
1865         (sel_add_loop_preheaders): Add preheader to last_added_blocks.
1867 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
1868             Alexander Monakov  <amonakov@ispras.ru>
1870         PR middle-end/42245
1871         * sel-sched-ir.c (sel_recompute_toporder): New.  Use it...
1872         (maybe_tidy_empty_bb): ... here.  Make static.  Add new
1873         argument.  Update all callers.
1874         (tidy_control_flow): ... and here.  Recompute topological order
1875         of basic blocks in region if necessary.
1876         (sel_redirect_edge_and_branch): Change return type.  Return true
1877         if topological order might have been invalidated.
1878         (purge_empty_blocks): Export and move from...
1879         * sel-sched.c (purge_empty_blocks): ... here.
1880         * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
1881         (maybe_tidy_empty_bb): Delete prototype.
1882         (purge_empty_blocks): Declare.
1884 2010-01-14  Andrey Belevantsev <abel@ispras.ru>
1886         PR rtl-optimization/42249
1887         * sel-sched.c (try_replace_dest_reg): When chosen register
1888         and original register is the same, do not bail out early, but
1889         still check all original insns for validity of replacing destination
1890         register.  Set EXPR_TARGET_AVAILABLE to 1 before leaving function
1891         in this case.
1893 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
1895         PR c/42721
1896         Port from no-undefined-overflow branch:
1897         2009-03-09  Richard Guenther  <rguenther@suse.de>
1899         * fold-const.c (add_double_with_sign): Fix unsigned overflow detection.
1901 2010-01-14  Richard Guenther  <rguenther@suse.de>
1903         PR lto/42665
1904         * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node.
1906 2010-01-14  Ira Rosen  <irar@il.ibm.com>
1908         PR tree-optimization/42709
1909         * tree-vect-slp.c (vect_get_constant_vectors): Use constant's type
1910         as scalar type in creation of constant vector operand.
1912 2010-01-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1914         PR testsuite/42414
1915         * Makefile.in ($(TESTSUITEDIR)/site.exp, check-%)
1916         (check-parallel-%): Match `testsuite' directory component only
1917         at the end.
1919 2010-01-14  Shujing Zhao  <pearly.zhao@oracle.com>
1921         PR translation/39521
1922         * gcc.c (do_spec_1): Wrapped the error and notice messages of specs
1923         strings with _().
1925 2010-01-13  Richard Guenther  <rguenther@suse.de>
1927         PR tree-optimization/42730
1928         * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for
1929         offset zero.
1931 2010-01-13  Steve Ellcey  <sje@cup.hp.com>
1933         PR target/pr42542
1934         * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
1935         for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
1936         them signed.
1938 2010-01-13  Bernd Schmidt  <bernd.schmidt@analog.com>
1940         * config/bfin/libgcc-bfin.ver: Regenerate based on current
1941         libgcc-std.ver.  Add entries for ___smulsi3_highpart and
1942         ___umulsi3_highpart.
1944         * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
1945         rather than schedule_insns if the pass is enabled.
1947 2010-01-13  Martin Jambor  <mjambor@suse.cz>
1949         PR tree-optimization/42704
1950         * tree-sra.c (sra_modify_assign): Do not delete assignments to
1951         SSA_NAMEs.
1953 2010-01-13  Martin Jambor  <mjambor@suse.cz>
1955         PR tree-optimization/42703
1956         * tree-sra.c (analyze_access_subtree): Check that we can build a
1957         reference to the original data within the aggregate.
1959 2010-01-13  Richard Guenther  <rguenther@suse.de>
1961         PR tree-optimization/42705
1962         * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels.
1964 2010-01-13  Richard Guenther  <rguenther@suse.de>
1966         PR middle-end/42716
1967         * fold-const.c (fold_unary_loc): Fold INDIRECT_REFs.
1969 2010-01-13  Jakub Jelinek  <jakub@redhat.com>
1971         PR debug/41371
1972         * var-tracking.c (values_to_unmark): New variable.
1973         (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in
1974         values_to_unmark vector.  Moved body to...
1975         (find_loc_in_1pdv_1): ... this.  Don't clear VALUE_RECURSED_INTO,
1976         instead queue it into values_to_unmark vector.
1977         (vt_find_locations): Free values_to_unmark vector.
1979 2010-01-13  Wolfgang Gellerich  <gellerich@de.ibm.com>
1981         * config/s390/s390.c (override_options): Set
1982         default of max-pending-list-length to 256
1984 2010-01-13  Richard Guenther  <rguenther@suse.de>
1986         PR lto/42678
1987         * tree-pass.h (PROP_gimple_lcx): New.
1988         * cfgexpand.c (pass_expand): Require PROP_gimple_lcx.
1989         * passes.c (init_optimization_passes): Move pass_lower_complex_O0
1990         before the final cleanup_eh.
1991         (dump_properties): Dump PROP_gimple_lcx.
1992         * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx.
1993         (tree_lower_complex_O0): Remove.
1994         (gate_no_optimization): Run if PROP_gimple_lcx is not set.
1995         (pass_lower_complex_O0): Provide PROP_gimple_lcx.  Run
1996         tree_lower_complex, schedule TODO_update_ssa.
1997         * lto-streamer-out.c (output_function): Stream the functions
1998         properties.
1999         * lto-streamer-in.c (input_function): Likewise.
2000         (lto_read_body): Do not override them here.
2002 2010-01-12  Joseph Myers  <joseph@codesourcery.com>
2004         PR c/42708
2005         * c-typeck.c (build_c_cast): Fold value cast to union type before
2006         wrapping it in a CONSTRUCTOR.
2008 2010-01-12  Jakub Jelinek  <jakub@redhat.com>
2010         PR rtl-optimization/42699
2011         * cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are
2012         involved.
2014 2010-01-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2016         * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
2017         SUBTARGET_WARN_UNUSED_SPEC): Move ...
2018         config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
2019         SUBTARGET_WARN_UNUSED_SPEC): ... here
2020         * config/mips/iris5.h (LIBGCC_SPEC): Define.
2022 2010-01-12  Julian Brown  <julian@codesourcery.com>
2024         * config/arm/neon-schedgen.ml (Utils): Don't try to
2025         open missing module.
2026         (find_with_result): New.
2028 2010-01-12  Jakub Jelinek  <jakub@redhat.com>
2030         PR debug/42662
2031         * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
2032         sharing when canonicalizing ({lt,ge}u (plus a b) b).
2034         PR tree-optimization/42645
2035         * tree-inline.c (processing_debug_stmt): Move earlier.  Make static.
2036         (remap_ssa_name): If processing_debug_stmt and name wasn't found in
2037         decl_map, set processing_debug_stmt to -1 and return name without
2038         any remapping.
2040 2010-01-11  Dave Korn  <dave.korn.cygwin@gmail.com>
2042         * doc/install.texi (Specific#x-x-cygwin): Document minimum required
2043         binutils version, and reword target configuration description.
2045 2010-01-11  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
2047         * config/avr/avr.h (LINKER_NAME): Remove.
2049 2010-01-11  Janis Johnson  <janis187@us.ibm.com>
2051         PR target/42416
2052         * config/rs6000/rs6000.c (rs6000_override_options): On targets
2053         that support VSX, warn for -mno-altivec if vsx is not disabled,
2054         and disable vsx.
2056 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
2057             Shujing Zhao  <pearly.zhao@oracle.com>
2059         PR translation/42469
2060         * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
2061         fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
2062         character between option name and help text.
2063         * c.opt (imultilib): Likewise.
2065 2010-01-10  Rafael Avila de Espindola  <espindola@google.com>
2067         * lto-streamer-out.c (output_unreferenced_globals): Output static
2068         variables.
2070 2010-01-10  Steven Bosscher  <steven@gcc.gnu.org>
2072         PR rtl-optimization/42621
2073         * bb-reorder.c (gate_duplicated_computed_gotos): Only run if not
2074         optimizing for size.
2075         (duplicate_computed_gotos): Remove now-redundant check.
2077 2010-01-10  Steve Ellcey  <sje@cup.hp.com>
2079         PR target/37454
2080         * configure.ac: Save and restore LDFLAGS and LIBS
2081         * configure: Regenerate.
2083 2010-01-10  Richard Guenther  <rguenther@suse.de>
2085         PR middle-end/42667
2086         * builtins.c (fold_builtin_strlen): Add type argument and
2087         convert the resulting length to it.
2088         (fold_builtin_1): Adjust.
2090 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
2092         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
2093         sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
2094         1 insn.
2095         (num_insns_constant_wide): Adjust for that change.
2097 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
2099         PR debug/42631
2100         * web.c (union_defs): Add used argument, to combine uses of
2101         uninitialized regs.
2102         (entry_register): Adjust type and tests of used argument.
2103         (web_main): Widen used for new use.  Pass it to union_defs.
2104         * df.h (union_defs): Adjust prototype.
2106 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
2108         PR debug/42630
2109         * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
2110         uses in new incoming argument.  Free body.
2111         (reset_debug_uses_in_loop): New.
2112         (analyze_insn_to_expand_var): Call the latter if the former found
2113         anything.  Fix whitespace.  Reject invalid dest overlaps before
2114         going through all insns in the loop.
2116 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
2118         PR debug/42629
2119         * haifa-sched.c (dying_use_p): Debug insns don't count.
2121 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
2123         PR middle-end/42363
2124         * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
2125         * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
2126         (verify_gimple_call): Reject LHS in noreturn calls.
2128 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
2130         PR debug/42604
2131         PR debug/42395
2132         * tree-vect-loop-manip.c (adjust_info): New type.
2133         (adjust_vec): New pointer to vector.
2134         (adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
2135         (adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
2136         (slpeel_update_phis_for_duplicate_loop): Use them.
2137         (slpeel_update_phi_nodes_for_guard1): Likewise.
2138         (slpeel_update_phi_nodes_for_guard2): Likewise.
2139         (slpeel_tree_peel_loop_to_edge): Likewise.
2140         (vect_update_ivs_after_vectorizer): Likewise.
2142 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
2144         * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
2145         (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
2147 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
2149         * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
2150         bogus uninitialized warning.
2152 2010-01-09  Richard Guenther  <rguenther@suse.de>
2154         PR middle-end/42512
2155         * tree-scalar-evolution.c (interpret_loop_phi): Make sure
2156         the evolution is compatible with the initial condition.
2158 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
2160         * gcc.c (process_command): Update copyright notice dates.
2161         * gcov.c (print_version): Likewise.
2162         * gcov-dump.c (print_version): Likewise.
2163         * mips-tfile.c (main): Likewise.
2164         * mips-tdump.c (main): Likewise.
2166 2010-01-08  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
2168         PR target/41885
2169         * config/avr/avr.md (rotlqi3): Add CONST_INT_P check.
2170         (rotlhi3): Delete.
2171         (rotlhi3_8): Delete.
2172         (rotlsi3): Delete.
2173         (rotlsi3_8): Delete.
2174         (rotlsi3_16): Delete.
2175         (rotlsi3_24): Delete.
2176         (rotl<mode>3): New.
2177         (*rotw<mode>3): New.
2178         (*rotb<mode>3): New.
2179         * config/avr/avr.c (avr_rotate_bytes): New function.
2180         * config/avr/avr-proto.h (avr_rotate_bytes): New function.
2182 2010-01-08  Steve Ellcey  <sje@cup.hp.com>
2184         PR target/37454
2185         * configure.ac: Modify -rdynamic check.
2186         * configure: Regenerate.
2188 2010-01-08  DJ Delorie  <dj@redhat.com>
2190         * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
2191         register popping order.
2193 2010-01-08  Richard Guenther  <rguenther@suse.de>
2195         PR lto/42528
2196         * c.opt (fsigned-char): Also let LTO handle this option.
2197         (funsigned-char): Likewise.
2199 2010-01-07  Richard Guenther  <rguenther@suse.de>
2201         * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING.
2202         (gimple_op): Likewise.
2203         (gimple_op_ptr): Likewise.
2204         (gimple_assign_set_lhs): Remove gcc_assert.
2205         (gimple_assign_set_rhs1): Likewise.
2206         (gimple_assign_set_rhs2): Likewise.
2207         (gimple_call_set_lhs): Likewise.
2208         (gimple_call_set_fn): Likewise.
2209         (gimple_call_set_fndecl): Likewise.
2210         (gimple_call_fndecl): Likewise.
2211         (gimple_call_return_type): Likewise.
2212         (gimple_call_set_chain): Likewise.
2213         (gimple_call_num_args): Likewise.
2214         (gimple_call_set_arg): Likewise.
2215         (gimple_cond_set_code): Likewise.
2216         (gimple_cond_set_lhs): Likewise.
2217         (gimple_cond_set_rhs): Likewise.
2218         (gimple_cond_set_true_label): Likewise.
2219         (gimple_cond_set_false_label): Likewise.
2220         (gimple_label_set_label): Likewise.
2221         (gimple_goto_set_dest): Likewise.
2222         (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING.
2223         (gimple_debug_bind_get_value): Likewise.
2224         (gimple_debug_bind_get_value_ptr): Likewise.
2225         (gimple_debug_bind_set_var): Likewise.
2226         (gimple_debug_bind_set_value): Likewise.
2227         (gimple_debug_bind_reset_value): Likewise.
2228         (gimple_debug_bind_has_value_p): Likewise.
2229         (gimple_return_retval_ptr): Remove gcc_assert.
2230         (gimple_return_retval): Likewise.
2231         (gimple_return_set_retval): Likewise.
2232         * tree-flow.h (struct gimple_df): Remove nonlocal_all member.
2233         (safe_referenced_var_iterator): Remove.
2234         (FOR_EACH_REFERENCED_VAR_SAFE): Likewise.
2235         * tree-flow-inline.h (gimple_nonlocal_all): Remove.
2236         (fill_referenced_var_vec): Remove.
2237         (first_readonly_imm_use): Remove redundant gcc_assert.
2238         (phi_arg_index_from_use): Combine gcc_asserts.
2239         (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING.
2240         (first_imm_use_stmt): Remove redundant gcc_assert.
2241         * tree-cfg.c (verify_gimple_call): Verify function and chain
2242         operands.  Verify arguments.
2243         (verify_types_in_gimple_stmt): Verify condition code and labels.
2245 2010-01-07  Richard Guenther  <rguenther@suse.de>
2247         PR tree-optimization/42641
2248         * sese.c (rename_map_elt_info): Use the SSA name version, do
2249         not hash pointers.
2251 2010-01-07  Jakub Jelinek  <jakub@redhat.com>
2253         PR tree-optimization/42625
2254         * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
2255         TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases.
2257 2010-01-07  Duncan Sands  <baldrick@free.fr>
2259         * Makefile.in (PLUGIN_HEADERS): Add version.h.
2261 2010-01-07  Uros Bizjak  <ubizjak@gmail.com>
2263         PR target/42511
2264         * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
2265         note itself is not function_invariant_p.
2267 2009-01-07  Steven Bosscher  <steven@gcc.gnu.org>
2269         * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
2270         Do not add the DF_NOTE problem.
2271         * store-motion.c (execute_rtl_store_motion): Likewise.
2273 2010-01-07  Martin Jambor  <mjambor@suse.cz>
2275         PR tree-optimization/42157
2276         * tree-sra.c (compare_access_positions): Stabilize sort if both
2277         accesses have integer types, return zero immediately if they are the
2278         same.
2280 2010-01-06  Richard Henderson  <rth@redhat.com>
2282         PR middle-end/41883
2283         * haifa-sched.c (add_to_note_list): Merge into ...
2284         (concat_note_lists): ... here, and ...
2285         (unlink_other_notes, rm_other_notes): Merge into...
2286         (remove_notes): ... here.  Create REG_SAVE_NOTEs for
2287         NOTE_INSN_EPILOGUE_BEG.
2289 2010-01-06  Richard Guenther  <rguenther@suse.de>
2291         * ipa-inline.c (cgraph_decide_inlining_incrementally): Do
2292         not inline regular functions into always-inline functions.
2294 2010-01-06  Nick Clifton  <nickc@redhat.com>
2296         * config/rx/rx.h (enum rx_cpu_type): Add RX200.
2297         (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
2298         used together.
2299         (OVERRIDE_OPTIONS): Delete.
2300         (OPTIMIZATION_OPTIONS): Define.
2301         (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
2302         * config/rx/rx.c (rx_handle_option): Issue an error message if
2303         -mcpu=rx200 and -fpu are used together.
2304         (rx_set_optimization_options): New function.  Issue an error
2305         message if an optimization attribute attempts to reset the FPU/
2306         math optimization pairing.
2307         * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
2308         * config/rx/rx.opt: Set the default to 32-bit doubles.
2309         * config/rx/t-rx: Add multilibs for -nofpu option.
2310         * doc/invoke.texi: Update documentation of RX options.
2312 2010-01-06  Richard Guenther  <rguenther@suse.de>
2314         * tree-ssa-pre.c (name_to_id): New global.
2315         (alloc_expression_id): Simplify SSA name handling.
2316         (lookup_expression_id): Likewise.
2317         (init_pre): Zero name_to_id.
2318         (fini_pre): Free it.
2320 2010-01-06  Uros Bizjak  <ubizjak@gmail.com>
2322         * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
2324 2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2326         PR target/42542
2327         * config/i386/sse.md (smaxv2di3): New.
2328         (umaxv2di3): Likewise.
2329         (sminv2di3): Likewise.
2330         (uminv2di3): Likewise.
2332 2010-01-05  Eric Botcazou  <ebotcazou@adacore.com>
2334         PR target/42564
2335         * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
2336         * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
2337         (legitimize_tls_address): Likewise.
2338         (sparc_tls_referenced_p): Likewise.
2339         * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
2340         and adjust calls to legitimize_pic_address.
2341         (legitimate_constant_p) Use sparc_tls_referenced_p.
2342         (legitimate_pic_operand_p): Likewise.
2343         (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
2344         (sparc_tls_symbol_ref_1): Delete.
2345         (sparc_tls_referenced_p): Make static, recognize specific patterns.
2346         (legitimize_tls_address): Make static, handle CONST patterns.
2347         (legitimize_pic_address): Make static, remove unused parameter and
2348         adjust recursive calls.
2349         (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
2350         and adjust call to legitimize_pic_address.
2351         (sparc_output_mi_thunk): Likewise.
2353 2010-01-05  Paolo Bonzini  <bonzini@gnu.rg>
2354             H.J. Lu  <hongjiu.lu@intel.com>
2356         PR target/42542
2357         * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
2358         for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
2359         operands to make them signed.
2361         Revert:
2362         2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2364         PR target/42542
2365         * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
2366         GTU to GT for V4SI and V2DI.
2368         * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
2369         (umin<mode>3): Removed.
2370         (uminv8hi3): New.
2371         (uminv4si3): Likewise.
2373 2010-01-05  Martin Jambor  <mjambor@suse.cz>
2375         PR tree-optimization/42462
2376         * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
2377         current_function_decl to helper functions and macros.
2379 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2381         PR bootstrap/41771
2382         * flags.h: Don't include real.h.
2383         (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
2384         HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
2385         * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
2386         HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
2387         * dominance.c: Update copyright.
2388         * gimple.c (walk_gimple_op): Remove inline.
2389         * tree-ssa-reassoc.c: Include real.h.
2390         * Makefile.in (FLAGS_H): Remove $(REAL_H).
2391         (tree-ssa-reassoc.o): Depend on $(REAL_H).
2393 2010-01-05  Nick Clifton  <nickc@redhat.com>
2395         * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
2396         register to push into the stack frame when the accumulator has to
2397         be saved during interrupts.
2399 2010-01-05  Eric Fisher  <joefoxreal@gmail.com>
2401         * doc/invoke.texi: Remove the documentation about option
2402         -Wunreachable-code.
2403         * common.opt (Wunreachable-code):  Preserved for backward
2404         compatibility.
2405         * tree-cfg.c: Remove the implementation of -Wunreachable-code.
2406         * opts.c (common_handle_option): Add OPT_Wunreachable_code to
2407         the backward compatibility flag section.
2409 2010-01-05  Richard Guenther  <rguenther@suse.de>
2411         * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
2413 2010-01-05  Jakub Jelinek  <jakub@redhat.com>
2415         PR other/42611
2416         * cfgexpand.c (expand_one_var): Diagnose too large variables.
2418         PR tree-optimization/42508
2419         * tree-sra.c (convert_callers): Check for recursive call
2420         by comparing cgraph nodes instead of decls.
2421         (modify_function): Call ipa_modify_formal_parameters also
2422         on all same_body aliases.
2424         * cgraphunit.c (cgraph_materialize_all_clones): Compare
2425         cgraph nodes when checking for same_body aliases.
2427 2010-01-05  Richard Guenther  <rguenther@suse.de>
2429         * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
2430         allocation and lookup.
2431         (get_or_alloc_expr_for_constant): Likewise.
2432         (phi_translate): Sink allocation.
2434 2010-01-04  Richard Guenther  <rguenther@suse.de>
2436         * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
2437         a new entry only if needed.
2438         * tree-ssa-dom.c (lookup_avail_expr): Likewise.
2439         * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
2440         hashtable lookup.
2441         * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
2442         the result array.
2443         (phi_translate): Handle CONSTANTs early.
2445 2010-01-04  Martin Jambor  <mjambor@suse.cz>
2447         PR tree-optimization/42398
2448         * tree-sra.c (struct access): Removed flag grp_different_types.
2449         (dump_access): Do not dump the removed flag.
2450         (sort_and_splice_var_accesses): Do not set the removed flag.
2451         (sra_modify_expr): Check for type compatibility directly.
2453 2010-01-04  Martin Jambor  <mjambor@suse.cz>
2455         PR tree-optimization/42366
2456         * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
2457         edges with variable number of parameters.
2458         * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
2459         flag instead of asserting it.
2460         (ipa_read_node_info): Read uses_analysis_done flag.
2462 2010-01-04  Richard Guenther  <rguenther@suse.de>
2464         * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
2465         iterative_hash_* as intended.
2466         (vn_reference_compute_hash): Likewise.  Simplify hashing
2467         SSA names.
2468         (vn_reference_lookup_2): Likewise.
2469         (vn_nary_op_compute_hash): Likewise.
2470         (vn_phi_compute_hash): Likewise.
2471         (expressions_equal_p): Remove strange code.
2472         * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
2473         (pre_expr_hash): Likewise.  Simplify hashing SSA names.
2474         (bitmap_insert_into_set_1): Take value-id as parameter.
2475         (add_to_value): Pass it.
2476         (bitmap_insert_into_set): Likewise.
2477         (bitmap_value_insert_into_set): Likewise.  Remove redundant check.
2479 2010-01-04  Jakub Jelinek  <jakub@redhat.com>
2481         PR driver/42442
2482         * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
2483         (do_self_spec): For switches with SWITCH_IGNORE set set also
2484         SWITCH_IGNORE_PERMANENTLY.
2485         (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
2486         of SWITCH_IGNORE.
2488 2010-01-04  Rafael Avila de Espindola  <espindola@google.com>
2490         * lto-streamer-out.c (output_unreferenced_globals): Output the full
2491         tree of an unreferenced global var.
2493 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2495         PR target/42542
2496         * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
2497         GTU to GT for V4SI and V2DI.
2499         * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
2500         (umin<mode>3): Removed.
2501         (uminv8hi3): New.
2502         (uminv4si3): Likewise.
2504 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2506         PR lto/42581
2507         * collect2.c (main): Turn on trace in collect2 if -v is passed
2508         to gcc with LTO.
2510 2010-01-03  Jerry Quinn  <jlquinn@optonline.net>
2512         * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
2513         description of expression operand.
2515 2010-01-03  Andrew Jenner  <andrew@codesourcery.com>
2517         * configure.ac: Add install-html to target_list for Make-hooks.
2518         * configure: Regenerate.
2519         * fortran/Make-lang.in (F95_HTMLFILES): New.
2520         (fortran.html): Use it.
2521         (fortran.install-html): New.
2522         * Makefile.in (install-html): Add lang.install-html.
2523         * java/Make-lang.in (JAVA_HTMLFILES): New.
2524         (java.html): Use it.
2525         (java.install-html): New.
2526         * objc/Make-lang.in (objc.install-html): New.
2527         * objcp/Make-lang.in (obj-c++.install-html): New.
2528         * cp/Make-lang.in (c++.install-html): New.
2529         * ada/gcc-interface/Make-lang.in (ada.install-html): New.
2530         * lto/Make-lang.in (lto.install-html): New.
2532 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2534         PR lto/42520
2535         * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
2537 2009-01-03  Steven Bosscher  <steven@gcc.gnu.org>
2539         PR rtl-optimization/41862
2540         * store-motion.c (store_killed_in_insn, compute_store_table,
2541         remove_reachable_equiv_notes, replace_store_insn,
2542         build_store_vectors): Ignore all DEBUG_INSNs.
2544 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2546         PR lto/41564
2547         * common.opt: Add dumpdir.
2549         * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
2550         isn't specified.
2551         (option_map): Add --dumpdir.
2553         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
2555         * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
2557         * opts.c (decode_options): Try dump_dir_name first if
2558         dump_base_name isn't an absolute path.
2559         (common_handle_option): Handle OPT_dumpdir.
2561         * toplev.c (dump_dir_name): New.
2562         (print_switch_values): Also ignore -dumpdir.
2564         * toplev.h (dump_dir_name): New.
2566 2010-01-03  Richard Guenther  <rguenther@suse.de>
2568         PR tree-optimization/42589
2569         * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
2570         double-word expansion of bswap32.
2572 2010-01-03  Steven Bosscher  <steven@gcc.gnu.org>
2574         * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
2575         with BLOCK_FOR_INSN.
2576         * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
2577         * ifcvt.c (noce_get_alt_condition, noce_try_abs,
2578         noce_process_if_block): Likewise.
2579         * gcse.c (compute_local_properties, insert_expr_in_table,
2580         insert_set_in_table, canon_list_insert, find_avail_set,
2581         pre_insert_copy_insn): Likewise.
2583         * basic-block.h (BLOCK_NUM): Move from here...
2584         * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
2586 2010-01-03  Richard Guenther  <rguenther@suse.de>
2588         PR tree-optimization/42438
2589         * tree-ssa-pre.c (struct bb_bitmap_sets): Add
2590         contains_may_not_return_call flag.
2591         (BB_MAY_NOTRETURN): New.
2592         (valid_in_sets): Trapping nary operations are not valid
2593         in blocks that may not return.
2594         (insert_into_preds_of_block): Remove check for trapping expressions.
2595         (compute_avail): Compute also BB_MAY_NOTRETURN.
2597 2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
2599         * doc/invoke.texi: Add 2010 to copyright years.
2601 2010-01-03  Eric Botcazou  <ebotcazou@adacore.com>
2603         * config/sparc/sparc.c: Fix formatting nits.
2605 2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
2606             Alexander Monakov  <amonakov@ispras.ru>
2608         * doc/invoke.texi (Optimize Options): Reword introduction a bit.
2610 2010-01-02  Richard Guenther  <rguenther@suse.de>
2612         PR middle-end/42577
2613         * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
2614         (simplify_switch_using_ranges): Mark to be removed edges
2615         as non-executable.
2617 2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2619         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
2621         * collect2.c (scan_libraries): Add missing argument in call to
2622         scan_prog_file.
2624 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
2626         PR target/42448
2627         * config/alpha/predicates.md (aligned_memory_operand): Return false
2628         for CQImode.
2629         (unaligned_memory_operand): Return true for CQImode.
2630         * config/alpha/alpha.c (get_aligned_mem): Assert that location
2631         doesn not cross aligned SImode word boundary.
2633 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
2635         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
2636         Remove.
2637         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
2638         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
2640 2010-01-02  Richard Guenther  <rguenther@suse.de>
2642         PR lto/41597
2643         * toplev.c (compile_file): Emit LTO marker properly.  Change
2644         it to __gnu_lto_v1.
2645         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
2647 2010-01-01  Richard Guenther  <rguenther@suse.de>
2649         PR debug/42455
2650         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
2652 2010-01-01  Richard Guenther  <rguenther@suse.de>
2654         PR c/42570
2655         * c-decl.c (grokdeclarator): For zero-size arrays force
2656         structural equality checks as layout_type does.
2658 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
2660         * builtins.c: Update copyright to 2010.
2662 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
2664         PR lto/42531
2665         * lto-streamer-out.c (produce_asm): Revert the last change.
2666         (copy_function): Likewise.
2668         * lto-streamer.c (lto_get_section_name): Skip any leading
2669         asterisk in name.
2671 2010-01-01  Richard Guenther  <rguenther@suse.de>
2673         PR middle-end/42559
2674         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
2675         for LABEL_DECLs.
2678 Copyright (C) 2010 Free Software Foundation, Inc.
2680 Copying and distribution of this file, with or without modification,
2681 are permitted in any medium without royalty provided the copyright
2682 notice and this notice are preserved.