OSDN Git Service

* tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2010-04-07  Jakub Jelinek  <jakub@redhat.com>
2
3         * tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not
4         used count variable.
5         * genemit.c (gen_expand, gen_split): Avoid set but not used warnings
6         when operandN variables aren't used in the body of the expander
7         or splitter.
8         * tree-outof-ssa.c (FOR_EACH_ELIM_GRAPH_SUCC,
9         FOR_EACH_ELIM_GRAPH_PRED): Avoid set but not used warnings.
10         * tree-ssa-operands.h (FOR_EACH_SSA_TREE_OPERAND): Likewise.
11         * tree-flow.h (FOR_EACH_IMM_USE_FAST, FOR_EACH_IMM_USE_STMT,
12         FOR_EACH_IMM_USE_ON_STMT): Likewise.
13         * tree.h (FOR_EACH_CONSTRUCTOR_ELT): Likewise.
14         * tree.c (PROCESS_ARG): Likewise.
15
16 2010-04-07  Simon Baldwin  <simonb@google.com>
17
18         * diagnostic.h (diagnostic_override_option_index): New macro to
19         set a diagnostic's option_index.
20         * c-tree.h (c_cpp_error): Add warning reason argument.
21         * opts.c (_warning_as_error_callback): New.
22         (register_warning_as_error_callback): Store callback for
23         warnings enabled via enable_warning_as_error.
24         (enable_warning_as_error): Call callback, minor code tidy.
25         * opts.h (register_warning_as_error_callback): Declare.
26         * c-opts.c (warning_as_error_callback): New, set cpp_opts flag in
27         response to -Werror=.
28         (c_common_init_options): Register warning_as_error_callback in opts.c.
29         * common.opt: Add -Wno-cpp option.
30         * c-common.c (struct reason_option_codes_t): Map cpp warning
31         reason codes to gcc option indexes.
32         * (c_option_controlling_cpp_error): New function, lookup the gcc
33         option index for a cpp warning reason code.
34         * (c_cpp_error): Add warning reason argument, call
35         c_option_controlling_cpp_error for diagnostic_override_option_index.
36         * doc/invoke.texi: Document -Wno-cpp.
37
38 2010-04-07  Richard Guenther  <rguenther@suse.de>
39
40         * ipa-reference.c (mark_load): Use get_base_address.
41         (mark_store): Likewise.
42
43         * tree-ssa-ccp.c (gimplify_and_update_call_from_tree): Avoid
44         inserting GIMPLE_NOPs into the IL.
45         * tree-ssa-structalias.c (get_constraint_for_component_ref):
46         Explicitly strip handled components and indirect references.
47   
48         * fold-const.c (fold_unary_loc): Do not strip qualifiers when
49         folding address expressions.
50         * gimple.c (gimple_ior_addresses_taken_1): Use get_base_address.
51         * tree-ssa-alias.c (decl_refs_may_alias_p): Do not use
52         operand_equal_p to compare decls.
53         (ptr_deref_may_alias_decl_p): Likewise.
54         * tree-ssa-operands.c (get_asm_expr_operands): Simplify
55         * tree-ssa-forwprop.c (forward_propagate_into_gimple_cond):
56         Handle reversed comparison ops.
57         * tree-sra.c (asm_visit_addr): Use get_base_address.
58         * ipa-prop.c (visit_store_addr_for_mod_analysis): Use
59         get_base_address.
60         * ipa-reference.c (mark_address): Use get_base_address.
61
62 2010-04-07  Richard Guenther  <rguenther@suse.de>
63
64         * tree-ssa-forwprop.c (forward_propagate_addr_expr):
65         Propagate constants everywhere.
66
67 2010-04-07  Jakub Jelinek  <jakub@redhat.com>
68
69         PR debug/43516
70         * tree.c (MAX_INT_CACHED_PREC): Define.
71         (nonstandard_integer_type_cache): New array.
72         (build_nonstandard_integer_type): Cache results for precision
73         <= MAX_INT_CACHED_PREC.
74
75 2010-04-07  Richard Guenther  <rguenther@suse.de>
76
77         * doc/invoke.texi (-fargument-alias, -fargument-noalias,
78         -fargument-noalias-global, -fargument-noalias-anything): Remove.
79         * common.opt: Likewise.
80         * tree-ssa-structalias.c (intra_create_variable_infos): Adjust
81         comment.
82         * alias.c (base_alias_check): Remove flag_argument_noalias
83         handling.
84         (nonoverlapping_memrefs_p): Likewise.
85         * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
86         * opts.c (common_handle_option): Handle OPT_fargument_alias,
87         OPT_fargument_noalias, OPT_fargument_noalias_anything and
88         OPT_fargument_noalias_global for backward compatibility.
89
90 2010-04-07  Richard Guenther  <rguenther@suse.de>
91
92         PR tree-optimization/43270
93         * tree-vrp.c (check_array_ref): Fix flexible array member
94         detection.
95         * tree-ssa-sccvn.h (fully_constant_vn_reference_p): Declare.
96         * tree-ssa-pre.c (phi_translate_1): Adjust.
97         (fully_constant_expression): Split out vn_reference handling to ...
98         * tree-ssa-sccvn.c (fully_constant_vn_reference_p): ... here.
99         Fold reads from constant strings.
100         (vn_reference_lookup): Handle fully constant references.
101         (vn_reference_lookup_pieces): Likewise.
102         * Makefile.in (expmed.o-warn): Add -Wno-error.
103
104 2010-04-07  Martin Jambor  <mjambor@suse.cz>
105
106         * tree-sra.c (find_param_candidates): Allow scalar va_list types.
107
108 2010-04-07  Iain Sandoe  <iains@gcc.gnu.org>
109
110         PR driver/41594
111         * gcc.c: Add -static-libstdc++ to list of recognized options.
112
113 2010-04-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
114
115         * config.gcc (i[34567]86-*-solaris2*): Default with_tune_32 to
116         generic.
117
118 2010-04-07  Richard Guenther  <rguenther@suse.de>
119
120         PR middle-end/42617
121         * expr.c (expand_expr_real_1): For TARGET_MEM_REFs with
122         pointer bases build simple mem attributes to retain
123         points-to information.
124
125 2010-04-07  Richard Guenther  <rguenther@suse.de>
126
127         PR middle-end/42617
128         * alias.c (ao_ref_from_mem): Without MEM_OFFSET or MEM_SIZE
129         preserve points-to related information.
130
131 2010-04-07  Richard Guenther  <rguenther@suse.de>
132
133         PR middle-end/42617
134         * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not
135         discard plain indirect references.
136         * fold-const.c (operand_equal_p): Guard against NULL_TREE
137         type.
138         * tree.c (tree_nop_conversion): Likewise.
139
140 2010-04-07  Dodji Seketeli  <dodji@redhat.com>
141
142         PR debug/43628
143         * dwarf2out.c (modified_type_die): Ignore artificial typedefs.
144
145 2010-04-06  Kai Tietz  <kai.tietz@onevision.com>
146
147         * config/i386/i386.c (ix86_handle_cconv_attribute): Ignore
148         calling convention attributes on METHOD_TYPEs for w64 ABI, too.
149
150 2010-04-07  Sebastian Pop  <sebastian.pop@amd.com>
151
152         * tree-if-conv.c: Fix indentation and comments.
153
154 2010-04-07  Sebastian Pop  <sebastian.pop@amd.com>
155
156         * tree-if-conv.c: Sort static functions in topological order.
157
158 2010-04-07  Sebastian Pop  <sebastian.pop@amd.com>
159
160         * tree-if-conv.c: Fix indentation and comments.
161
162 2010-04-06  Sebastian Pop  <sebastian.pop@amd.com>
163
164         PR middle-end/43519
165         * graphite-clast-to-gimple.c (max_signed_precision_type): Use
166         lang_hooks.types.type_for_size instead of build_nonstandard_integer_type.
167         When converting an unsigned type to signed, double its precision.
168         (gcc_type_for_interval): Use lang_hooks.types.type_for_size.
169         (gcc_type_for_iv_of_clast_loop): Call max_signed_precision_type.
170         (graphite_create_new_loop_guard): When ub + 1 wraps around, use lb <= ub.
171
172 2010-04-06  Sebastian Pop  <sebastian.pop@amd.com>
173
174         PR middle-end/43519
175         * graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Use
176         POINTER_PLUS_EXPR for pointer types.
177
178 2010-04-06  Sebastian Pop  <sebastian.pop@amd.com>
179
180         PR middle-end/43519
181         * Makefile.in (graphite-clast-to-gimple.o): Depends on langhooks.h.
182         * graphite-clast-to-gimple.c: Include langhooks.h.
183         (max_signed_precision_type): New.
184         (max_precision_type): Takes two types as arguments.
185         (precision_for_value): New.
186         (precision_for_interval): New.
187         (gcc_type_for_interval): New.
188         (gcc_type_for_value): New.
189         (gcc_type_for_clast_term): New.
190         (gcc_type_for_clast_red): New.
191         (gcc_type_for_clast_bin): New.
192         (gcc_type_for_clast_expr): Split up into several functions.
193         (gcc_type_for_clast_eq): Rewritten.
194         (compute_bounds_for_level): New.
195         (compute_type_for_level_1): New.
196         (compute_type_for_level): New.
197         (gcc_type_for_cloog_iv): Removed.
198         (gcc_type_for_iv_of_clast_loop): Rewritten.
199         (graphite_create_new_loop): Compute the lower and upper bound types
200         with gcc_type_for_clast_expr.
201         (graphite_create_new_loop_guard): Same.
202         (find_cloog_iv_in_expr): Removed.
203         (compute_cloog_iv_types_1): Removed.
204         (compute_cloog_iv_types): Removed.
205         (gloog): Do not call compute_cloog_iv_types.
206         * graphite-sese-to-poly.c (new_gimple_bb): Do not initialize
207         GBB_CLOOG_IV_TYPES.
208         (free_data_refs_aux): Do not free GBB_CLOOG_IV_TYPES.
209         * sese.h (struct gimple_bb): Removed field cloog_iv_types.
210         (GBB_CLOOG_IV_TYPES): Removed.
211
212 2010-04-06  Sebastian Pop  <sebastian.pop@amd.com>
213
214         * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Assert that
215         gimple_phi_num_args of the loop close SSA phi node is equal to 1.
216         (detect_commutative_reduction): Same.
217
218 2010-04-06  Sebastian Pop  <sebastian.pop@amd.com>
219
220         * graphite-clast-to-gimple.c (graphite_verify): Remove redundant
221         call to verify_ssa.  Invoke verify_loop_closed_ssa with an extra
222         argument.
223         * graphite-scop-detection.c (canonicalize_loop_closed_ssa_form): Same.
224         * graphite-sese-to-poly.c (rewrite_reductions_out_of_ssa): Same.
225         (rewrite_commutative_reductions_out_of_ssa): Same.
226         * passes.c (execute_function_todo): Call verify_ssa for every pass
227         in the LNO.  Invoke verify_loop_closed_ssa with an extra argument.
228         * tree-flow.h (verify_loop_closed_ssa): Update declaration.
229         * tree-parloops.c (parallelize_loops): Invoke verify_loop_closed_ssa
230         with an extra argument.
231         * tree-ssa-loop-manip.c (check_loop_closed_ssa_stmt): Same.  Call
232         verify_ssa only when the extra argument is true.
233         (gimple_duplicate_loop_to_header_edge): Invoke verify_loop_closed_ssa
234         with an extra argument.
235         (tree_transform_and_unroll_loop): Same.
236
237 2010-04-06  Sebastian Pop  <sebastian.pop@amd.com>
238
239         * passes.c (execute_function_todo): Call verify_loop_closed_ssa
240         for all the passes of the LNO having LOOP_CLOSED_SSA.
241         * tree-if-conv.c (pass_if_conversion): Remove TODO_verify_loops.
242         * tree-loop-distribution.c (pass_loop_distribution): Same.
243         * tree-pass.h (TODO_verify_loops): Removed.
244         * tree-ssa-loop.c (pass_tree_loop_init): Same.
245         (pass_lim): Same.
246         (pass_tree_unswitch): Same.
247         (pass_predcom): Same.
248         (pass_vectorize): Same.
249         (pass_linear_transform): Same.
250         (pass_graphite_transforms): Same.
251         (pass_iv_canon): Same.
252         (pass_complete_unroll): Same.
253         (pass_complete_unrolli): Same.
254         (pass_parallelize_loops): Same.
255         (pass_loop_prefetch): Same.
256         (pass_iv_optimize): Same.
257
258 2010-04-06  Changpeng Fang  <changpeng.fang@amd.com>
259
260         PR middle-end/32824
261         * passes.c (init_optimization_passes): Move pass_lim before
262         pass_copy_prop and pass_dce_loop.
263
264 2010-04-06  Jakub Jelinek  <jakub@redhat.com>
265
266         PR target/43667
267         * config/i386/i386.c (bdesc_multi_arg): Use OPTION_MASK_ISA_XOP
268         instead of OPTION_MASK_ISA_AVX for __builtin_ia32_vpermil2p*.
269         (ix86_expand_args_builtin): Use V*_FTYPE_* enum codes instead of
270         MULTI_* defines for 4 argument vpermil2p* builtins.
271
272 2010-04-06  Uros Bizjak  <ubizjak@gmail.com>
273
274         * config/i386/i386-protos.h (x86_maybe_negate_const_int): Declare.
275         * config/i386/i386.c (x86_maybe_negate_const_int): New.
276         (x86_output_mi_thunk): Use x86_maybe_negate_const_int.
277         * config/i386/i386.md (*add<mode>_1, *addsi_1_zext, *addhi_1,
278         *addhi_1_lea, *addqi_1, *addqi_1_lea, *addqi_1_slp, *add<mode>_2,
279         *addsi_2_zext, *addhi_2, *addqi_2, *add<mode>_3, *addsi_3_zext,
280         *addhi_3, *addqi_3,*add<mode>_5, *addhi_5, *addqi_5):
281         Use x86_maybe_negate_const_int to output insn mnemonic.
282         (*adddi_4, *addsi_4, *addhi_4, *addqi_4): Ditto.  Remove overflow
283         check from instruction predicate.  Update comments.
284         * config/i386/sync.md (sync_add<mode>): Use
285         x86_maybe_negate_const_int to output insn mnemonic.
286
287 2010-04-06  Jan Hubicka  <jh@suse.cz>
288
289         PR tree-optimization/42906
290         * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Add
291         IGNORE_SELF argument.  Set visited_control_parents for fully
292         processed BBs.
293         (find_obviously_necessary_stmts): Update call of
294         mark_control_dependent_edges_necessary.
295         (propagate_necessity): Likewise.  Handle PHI edges more curefully.
296
297 2010-04-06  Uros Bizjak  <ubizjak@gmail.com>
298
299         * config/i386/i386.md: Remove comment about 'e' and 'E'
300         operand modifier.
301
302 2010-04-06  Richard Guenther  <rguenther@suse.de>
303
304         PR tree-optimization/43627
305         * tree-vrp.c (extract_range_from_unary_expr): Widenings
306         of [1, +INF(OVF)] go to [1, +INF(OVF)] of the wider type,
307         not varying.
308
309 2010-04-06  Jakub Jelinek  <jakub@redhat.com>
310
311         * BASE-VER: Change to 4.6.0.
312
313         PR target/43638
314         * config/i386/i386.c (print_operand): Remove 'e' and 'E' code
315         handling.
316
317 2010-04-06  Richard Guenther  <rguenther@suse.de>
318
319         PR middle-end/43661
320         * fold-const.c (fold_comparison): Handle X * 0 CMP 0.
321
322 2010-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
323
324         * doc/invoke.texi (Optimize Options): Document that LTO
325         won't remove object access purely due to incompatible
326         declarations.
327
328 2010-04-04  Matthias Klose  <doko@ubuntu.com>
329
330         * graphite-sese-to-poly.c (translate_scalar_reduction_to_array):
331         Initialize variable.
332
333 2010-04-03  Richard Guenther  <rguenther@suse.de>
334
335         PR middle-end/42509
336         * alias.c (nonoverlapping_memrefs_p): For spill-slot accesses
337         require a non-NULL MEM_OFFSET.
338
339 2010-04-02  Steven Bosscher  <steven@gcc.gnu.org>
340
341         * ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c,
342         basic-block.h, bb-reorder.c, calls.c, c-common.c, cgraph.h,
343         collect2.h, config/alpha/alpha.c, config/alpha/alpha.md,
344         config/alpha/predicates.md, config/arm/arm.md,
345         config/arm/lib1funcs.asm, config/arm/neon-schedgen.ml,
346         config/avr/avr.c, config/avr/avr.md, config/bfin/bfin.c,
347         config/darwin9.h, config/darwin.c, config/darwin.h,
348         config/h8300/h8300.c, config/i386/cpuid.h, config/i386/cygming.h,
349         config/i386/cygwin.h, config/i386/mingw32.h, config/i386/msformat-c.c,
350         config/i386/sol2-10.h, config/i386/xopintrin.h, config/ia64/ia64.c,
351         config/ia64/ia64.md, config/ia64/sync.md, config/mep/mep.c,
352         config/mips/mips.md, config/mn10300/mn10300.c,
353         config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.md,
354         config/rs6000/aix.h, config/rs6000/dfp.md,
355         config/rs6000/rs6000-builtin.def, config/rs6000/rs6000-c.c,
356         config/rs6000/vector.md, config/rtems.h, config/rx/rx.md,
357         config/s390/s390.md, config/sol2-c.c, config/sparc/sol2-bi.h,
358         config/sparc/sol2-gas.h, config/sparc/sparc.h, config/sparc/sparc.md,
359         config/sparc/sparc-protos.h, config/spu/spu.c, config/spu/spu-c.c,
360         config/t-darwin, convert.c, c.opt, c-opts.c, cp/Make-lang.in,
361         c-pretty-print.c, c-typeck.c, df-core.c, df-scan.c, diagnostic.c,
362         diagnostic.h, doc/cppopts.texi, doc/cpp.texi, doc/extend.texi,
363         doc/gimple.texi, doc/languages.texi, doc/plugins.texi, doc/rtl.texi,
364         doc/standards.texi, doc/tree-ssa.texi, doc/trouble.texi, dominance.c,
365         fold-const.c, fortran/Make-lang.in, fwprop.c, gcc-plugin.h,
366         gensupport.c, gimple.h, gimple-iterator.c, graphite.c,
367         graphite-clast-to-gimple.c, graphite-clast-to-gimple.h,
368         graphite-dependences.c, graphite-poly.c, graphite-poly.h,
369         graphite-ppl.c, graphite-ppl.h, graphite-scop-detection.c,
370         graphite-sese-to-poly.c, graphite-sese-to-poly.h, ifcvt.c, intl.c,
371         intl.h, ipa.c, ipa-cp.c, ipa-inline.c, ipa-prop.c, ipa-prop.h,
372         ipa-pure-const.c, ipa-reference.c, ipa-type-escape.c, ira-color.c,
373         ira-conflicts.c, ira-lives.c, java/Make-lang.in, lambda-code.c,
374         loop-invariant.c, lto/Make-lang.in, lto-streamer.h, lto-streamer-in.c,
375         objc/Make-lang.in, objcp/Make-lang.in, omp-low.c, optc-gen.awk,
376         opt-functions.awk, opth-gen.awk, params.def, passes.c,
377         postreload-gcse.c, print-tree.c, recog.c, regrename.c, reload.h,
378         rtl.def, sched-int.h, sched-rgn.c, sel-sched-dump.c, sese.c, sese.h,
379         store-motion.c, stor-layout.c, tree-cfgcleanup.c, tree-chrec.c,
380         tree-complex.c, tree-data-ref.c, tree.def, tree-eh.c, tree-flow.h,
381         tree-flow-inline.h, tree.h, tree-loop-distribution.c, tree-outof-ssa.c,
382         tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
383         tree-scalar-evolution.c, tree-ssa-address.c, tree-ssa-alias.c,
384         tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c,
385         tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c,
386         tree-ssa-loop-manip.c, tree-ssa-math-opts.c, tree-ssa-operands.c,
387         tree-ssa-pre.c, tree-ssa-sccvn.c, tree-ssa-structalias.c,
388         tree-ssa-uncprop.c, tree-tailcall.c, tree-vect-data-refs.c,
389         tree-vect-loop.c, tree-vectorizer.h, tree-vect-slp.c, tree-vrp.c,
390         unwind-dw2-fde-darwin.c, varpool.c: Update copyright years.
391
392 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
393
394         PR other/43620
395         * doc/install.texi (Prerequisites): Bump Automake version to 1.11.1.
396         * aclocal.m4: Regenerate.
397
398 2010-04-02  Richard Guenther  <rguenther@suse.de>
399
400         PR tree-optimization/43629
401         * tree-ssa-ccp.c (likely_value): Reset all_undefined_operands
402         if we have seen a constant value.
403
404 2010-04-02  Joseph Myers  <joseph@codesourcery.com>
405
406         * read-rtl.c (read_rtx_1): Give an error for EOF while looking for
407         ']'.
408
409 2010-04-02  Richard Earnshaw  <rearnsha@arm.com>
410
411         PR target/43469
412         * arm.c (legitimize_tls_address): Adjust call to
413         gen_tls_load_dot_plus_four.
414         (arm_note_pic_base): New function.
415         (arm_cannot_copy_insn_p): Use it.
416         * thumb2.md (tls_load_dot_plus_four): Rework to avoid use of '+' in
417         constraint.
418
419 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
420
421         PR bootstrap/43531
422
423         Revert:
424         2009-09-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
425
426         * Makefile.in ($(out_object_file)): Depend on
427         gt-$(basename $(notdir $(out_file))).h.
428
429 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
430
431         * config.gcc (lm32-*-rtems*): Add t-lm32.
432
433 2010-04-01  Joel Sherrill <joel.sherrill@oarcorp.com>
434
435         * config.gcc: Add lm32-*-rtems*.
436         * config/lm32/rtems.h: New file.
437
438 2010-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
439
440         PR target/42609
441         * config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.
442
443 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
444
445         * dwarf2out.c (output_compilation_unit_header): For
446         -gdwarf-4 use version 4 instead of version 3.
447         (output_line_info): For version 4 and above emit additional
448         maximum ops per insn header field.
449         (DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define.
450
451         * dwarf2out.c (is_c_family, is_java): Remove.
452         (lower_bound_default): New function.
453         (add_bound_info, gen_descr_array_type_die): Use it.
454
455 2010-04-01  Dodji Seketeli  <dodji@redhat.com>
456
457         PR debug/43325
458         * dwarf2out.c (gen_variable_die): Allow debug info for variable
459         re-declaration when it happens in a function.
460
461 2010-04-01  Aldy Hernandez  <aldyh@redhat.com>
462
463         * cgraph.c (cgraph_add_function_insertion_hook): Update comment.
464         (cgraph_remove_function_insertion_hook): Same.
465         (cgraph_call_function_insertion_hooks): Same.
466
467 2010-04-01  Richard Guenther  <rguenther@suse.de>
468
469         PR middle-end/43614
470         * tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
471         and TREE_THIS_VOLATILE.
472         (copy_ref_info): Likewise.
473         * tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
474         * tree.c (build6_stat): Ignore side-effects of all but arg5
475         for TARGET_MEM_REF.  Set TREE_THIS_VOLATILE from arg5 of
476         TARGET_MEM_REF.
477
478 2010-04-01  Richard Guenther  <rguenther@suse.de>
479
480         PR tree-optimization/43607
481         * ipa-type-escape.c (check_call): Do not access non-existing
482         arguments.
483
484 2010-04-01  Richard Guenther  <rguenther@suse.de>
485
486         PR middle-end/43602
487         Revert
488         2010-03-30  Seongbae Park <seongbae.park@gmail.com>
489             Jack Howarth <howarth@bromo.med.uc.edu>
490
491         * tree-profile.c (tree_init_ic_make_global_vars): Make static
492         variables TLS.
493
494 2010-04-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
495
496         * doc/install.texi (Prerequisites): Document libelf usability on
497         IRIX 5/6 and Solaris 2.
498         (Specific, i?86-*-solaris2.10): No 64-bit default configuration.
499         Update GNU as, GNU ld requirements.
500         (Specific, *-*-solaris2*): Document Solaris 7 obsoletion, removal.
501         Document Sun Studio compiler download.
502         Update and simplify as, ld recommendations.
503         (Specific, *-*-solaris2.7): Note obsoletion, removal.
504
505 2010-04-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
506
507         * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32,
508         with_tune_32 to pentium4.
509
510 2010-04-01  Uros Bizjak  <ubizjak@gmail.com>
511
512         * config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment.
513
514 2010-04-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
515
516         * doc/install.texi (Specific, mips-sgi-irix5): Document IRIX 5
517         obsoletion, removal.
518         Update IDO URL.
519         Document GNU as requirement.
520         Update configure requirements.
521         (Specific, mips-sgi-irix6): Document IRIX 6 < 6.5 obsoletion,
522         removal.
523         Recomment IRIX 6.5.18+.
524         Document IDF/IDL requirement.
525         Document GNU as requirement.
526         Document GNU ld bootstrap failure.
527         Remove freeware.sgi.com reference.
528
529 2010-04-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
530
531         * doc/install.texi (Specific, alpha*-dec-osf*): Document Tru64
532         UNIX V4.0, V5.0 obsoletion, removal.
533         Remove --with-gc=simple reference.
534         Update VM requirements during bootstrap.
535         Remove -oldas bootstrap description.
536         Update binutils reference.
537         Remove comparison failure note.
538
539 2010-03-31  Richard Guenther  <rguenther@suse.de>
540             Zdenek Dvorak  <ook@ucw.cz>
541             Sebastian Pop  <sebastian.pop@amd.com>
542
543         PR middle-end/43464
544         * tree-ssa-copy.c (init_copy_prop): Handle loop close phi nodes
545         with multiple arguments.
546         (execute_copy_prop): Remove call to rewrite_into_loop_closed_ssa.
547
548 2010-03-31  Sebastian Pop  <sebastian.pop@amd.com>
549
550         * graphite-dependences.c (print_pddr): Call print_pdr with an
551         extra argument.
552         * graphite-poly.c (debug_pdr): Add an extra argument for the
553         verbosity level.
554         (print_pdr): Same.
555         (print_pbb_domain): Same.
556         (print_pbb): Same.
557         (print_scop_context): Same.
558         (print_scop): Same.
559         (print_cloog): Same.
560         (debug_pbb_domain): Same.
561         (debug_pbb): Same.
562         (print_pdrs): Same.
563         (debug_pdrs): Same.
564         (debug_scop_context): Same.
565         (debug_scop): Same.
566         (debug_cloog): Same.
567         (print_scop_params): Same.
568         (debug_scop_params): Same.
569         (print_iteration_domain): Same.
570         (print_iteration_domains): Same.
571         (debug_iteration_domain): Same.
572         (debug_iteration_domains): Same.
573         (print_scattering_function): Same.
574         (print_scattering_functions): Same.
575         (debug_scattering_function): Same.
576         (debug_scattering_functions): Same.
577         * graphite-poly.h (debug_pdr): Update declaration.
578         (print_pdr): Same.
579         (print_pbb_domain): Same.
580         (print_pbb): Same.
581         (print_scop_context): Same.
582         (print_scop): Same.
583         (print_cloog): Same.
584         (debug_pbb_domain): Same.
585         (debug_pbb): Same.
586         (print_pdrs): Same.
587         (debug_pdrs): Same.
588         (debug_scop_context): Same.
589         (debug_scop): Same.
590         (debug_cloog): Same.
591         (print_scop_params): Same.
592         (debug_scop_params): Same.
593         (print_iteration_domain): Same.
594         (print_iteration_domains): Same.
595         (debug_iteration_domain): Same.
596         (debug_iteration_domains): Same.
597         (print_scattering_function): Same.
598         (print_scattering_functions): Same.
599         (debug_scattering_function): Same.
600         (debug_scattering_functions): Same.
601
602 2010-03-31  Sebastian Pop  <sebastian.pop@amd.com>
603
604         * graphite-poly.c (print_scattering_function_1): New.
605         (print_scattering_function): Call it.
606         (print_scop_params): Remove spaces at the end of lines.
607         (print_cloog): New.
608         (debug_cloog): New.
609         * graphite-poly.h (print_cloog): Declared.
610         (debug_cloog): Declared.
611
612 2010-03-31  Sebastian Pop  <sebastian.pop@amd.com>
613
614         * graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump
615         in loop->header.
616         * tree-flow.h (canonicalize_loop_ivs): Updated declaration.
617         * tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch.
618         * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter
619         to switch between adding the IV bump in loop->latch or in loop->header.
620
621 2010-03-31  Sebastian Pop  <sebastian.pop@amd.com>
622
623         * graphite-poly.c (print_scattering_function): Pretty print following
624         the scoplib format.
625         (print_pdr): Same.
626         (print_pbb_domain): Same.
627         (dump_gbb_cases): Same.
628         (dump_gbb_conditions): Same.
629         (print_pdrs): Same.
630         (print_pbb): Same.
631         (print_scop_params): Same.
632         (print_scop_context): Same.
633         (print_scop): Same.
634         (print_pbb_body): New.
635         (lst_indent_to): New.
636         (print_lst): Start new lines with a #.
637         * graphite-poly.h (pbb_bb): New.
638         (pbb_index): Use pbb_bb.
639         * graphite-ppl.c (ppl_print_powerset_matrix): Print the number of
640         disjuncts.
641         * tree-data-ref.c (dump_data_reference): Start new lines with a #.
642
643 2010-03-31  Jakub Jelinek  <jakub@redhat.com>
644
645         * dwarf2out.c (size_of_die): For -gdwarf-4 use
646         uleb128 size instead of fixed 1 or 2 for dw_val_class_loc
647         and 0 instead of 1 for dw_val_class_flag.
648         (value_format): For -gdwarf-4 use DW_FORM_sec_offset for
649         dw_val_class_range_list, dw_val_class_loc_list,
650         dw_val_class_lineptr and dw_val_class_macptr, use
651         DW_FORM_flag_present for dw_val_class_flag and
652         DW_FORM_exprloc for dw_val_class_loc.
653         (output_die): For -gdwarf-4 print dw_val_class_loc
654         size as uleb128 instead of 1 or 2 bytes and don't print
655         anything for dw_val_class_flag.
656
657         * var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn
658         instead of cselib_lookup following by tweaking locs->setting_insn.
659
660         PR bootstrap/43596
661         * cselib.c (cselib_process_insn): Clear cselib_current_insn
662         even before returning from label, setjmp call or volatile asm
663         handling.
664
665 2010-03-31  Richard Guenther  <rguenther@suse.de>
666
667         PR middle-end/43600
668         * cgraphunit.c (cgraph_output_in_order): Do not allocate
669         temporary data on stack.
670
671 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
672
673         * config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef.
674         (PUSHSECTION_ASM_OP): Remove.
675         (POPSECTION_ASM_OP): Remove.
676         (PUSHSECTION_FORMAT): Remove.
677         * config/sol2.h (PUSHSECTION_FORMAT): Define.
678         * config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine.
679         * config/sol2.c (solaris_output_init_fini): Use it.
680
681 2010-03-31  Jie Zhang  <jie@codesourcery.com>
682
683         PR 43574
684         * opt-functions.awk (var_type_struct): Use signed char type
685         for simple variables.
686
687 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
688
689         * config/sol2.c: Include output.h.
690         (solaris_assemble_visibility): New function.
691         * config/t-sol2 (sol2.o): Add output.h dependency.
692         * config/sol2-protos.h (solaris_assemble_visibility): Declare.
693         * config/sol2.h [!USE_GAS] (TARGET_ASM_ASSEMBLE_VISIBILITY):
694         Redefine.
695
696 2010-03-31  Jakub Jelinek  <jakub@redhat.com>
697
698         PR target/43580
699         * config/arm/arm.c (arm_save_coproc_regs): Use Pmode instead of
700         V2SImode or XFmode on PRE_DEC.
701
702         PR debug/43557
703         * cfgexpand.c (expand_debug_expr): Handle VOIDmode mode like
704         BLKmode.
705
706 2010-03-31  Jie Zhang  <jie@codesourcery.com>
707
708         PR 43562
709         * reload.h (caller_save_initialized_p): Declare.
710         * toplev.c (backend_init_target): Don't call
711         init_caller_save but set caller_save_initialized_p to false.
712         * caller-save.c (caller_save_initialized_p): Define.
713         (init_caller_save): Check caller_save_initialized_p.
714         * ira.c (ira): Call init_caller_save if flag_caller_saves.
715
716 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
717
718         PR target/39048
719         * config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp
720         and soft-fp/t-softfp to tmake_file.
721         * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine.
722         (LIBGCC2_TF_CEXT): Define.
723         (TF_SIZE): Define.
724
725 2010-03-30  Alexandre Oliva  <aoliva@redhat.com>
726
727         PR debug/42977
728         * cselib.c (n_useless_values): Document handling of debug locs.
729         (n_useless_debug_values, n_debug_values): New variables.
730         (new_elt_loc_list): Don't add to debug values, keep count.
731         (promote_debug_loc): New.
732         (cselib_reset_table): Zero new variables.
733         (entry_and_rtx_equal_p): Promote debug locs.
734         (discard_useless_locs): Increment n_useless_debug_values for
735         debug values.
736         (remove_useless_values): Adjust n_useless_values and n_debug_values
737         with n_useless_debug_values.
738         (add_mem_for_addr): Promote debug locs.
739         (cselib_lookup_mem): Likewise.
740         (cselib_lookup_addr): Renamed to...
741         (cselib_lookup_addr_1): ... this.  Promote debug locs.  Don't call...
742         (cselib_log_lookup): ... this.  Turn into...
743         (cselib_lookup_addr): ... new wrapper.
744         (cselib_lookup_from_insn): New.
745         (cselib_invalidate_regno): Increment n_useless_debug_values for
746         debug values.
747         (cselib_invalidate_mem): Likewise.
748         (cselib_process_insn): Take n_deleted and n_debug_values into
749         account to guard remove_useless_value call.
750         (cselib_finish): Zero n_useless_debug_values.
751         * cselib.h (cselib_lookup_from_insn): Declare.
752         * sched-deps.c (sched_analyze_1): Use cselib_lookup_from_insn.
753         (sched_analyze_2): Likewise.
754
755 2010-03-30  Jakub Jelinek  <jakub@redhat.com>
756
757         * var-tracking.c (use_narrower_mode_test, use_narrower_mode): New
758         functions.
759         (adjust_mems): Replace narrowing SUBREG of expression containing
760         just PLUS, MINUS, MULT and ASHIFT of registers and constants
761         with operations in the narrower mode.
762
763         PR debug/43593
764         * var-tracking.c (dataflow_set_clear_at_call): Invalidate just
765         regs_invalidated_by_call instead all call_used_reg_set registers.
766
767 2010-03-30  Sebastian Pop  <sebastian.pop@amd.com>
768
769         PR middle-end/43430
770         * tree-vect-slp.c (vect_get_and_check_slp_defs): Replace type
771         pointer comparisons with types_compatible_p.
772         * tree-vect-stmts.c (vectorizable_call): Same.
773         (vectorizable_condition): Same.
774
775 2010-03-30  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
776
777         * config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic
778         stack check if the mask would be zero.
779
780 2010-03-30  Seongbae Park <seongbae.park@gmail.com>
781             Jack Howarth <howarth@bromo.med.uc.edu>
782
783         * tree-profile.c (tree_init_ic_make_global_vars): Make static
784         variables TLS.
785
786 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
787
788         PR other/25232
789         * libgcc-std.ver (GCC_4.5.0): Define version.  Include __unordxf2
790         and __unordtf2.
791         * config/bfin/libgcc-bfin.ver (GCC_4.5.0): Define version.
792         Include ___unordxf2 and ___unordtf2.
793         * config/i386/libgcc-glibc.ver: Do not define inheritance from
794         GCC_4.4.0 here.
795
796 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
797
798         * config/lm32/t-lm32: New file.
799         * config.gcc: Use the above file when targetting lm32.
800
801 2010-03-28  Duncan Sands  <baldrick@free.fr>
802
803         * Makefile.in (PLUGIN_HEADERS): Add except.h.
804
805 2010-03-29  Sebastian Pop  <sebastian.pop@amd.com>
806
807         PR middle-end/43431
808         * tree-vect-loop.c (vect_estimate_min_profitable_iters):
809         Improve vectorization cost model diagnostic.
810
811 2010-03-29  Sebastian Pop  <sebastian.pop@amd.com>
812
813         PR middle-end/43436
814         * tree-vect-data-refs.c (vect_analyze_data_refs): When
815         compute_data_dependences_for_loop returns false, early exit
816         and output an extra diagnostic for the failed data reference
817         analysis.
818
819 2010-03-29  Richard Guenther  <rguenther@suse.de>
820
821         PR tree-optimization/43560
822         * tree-ssa-loop-im.c (ref_always_accessed_p): Add store_p parameter.
823         (can_sm_ref_p): Treat stores to readonly locations as trapping.
824
825 2010-03-29  Jie Zhang  <jie@codesourcery.com>
826
827         PR 43564
828         * toplev.c (process_options): Set optimization_default_node
829         and optimization_current_node.
830         * opts.c (decode_options): Don't set optimization_default_node
831         and optimization_current_node.
832
833 2010-03-29  Ralf Corsépius  <ralf.corsepius@rtems.org>
834
835         * config/rtems.h: Abandon -qrtems_debug.
836
837 2010-03-28  Jan Hubicka  <jh@suse.cz>
838
839         PR tree-optimization/43505
840         * cgraph.c (cgraph_clone_node): When clonning a clone, replacement
841         map should not be copied.
842
843 2010-03-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
844
845         PR middle-end/41674
846         * cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have
847         cdtors, set DECL_PRESERVE_P.
848         * ipa.c (cgraph_externally_visible_p): Return true if declaration
849         should be preseved.
850
851 2010-03-27  Uros Bizjak  <ubizjak@gmail.com>
852
853         PR tree-optimization/43528
854         * stor-layout.c (place_field): Check that constant fits into
855         unsigned HWI when skipping calculation of MS bitfield layout.
856
857 2010-03-27  Jan Hubicka  <jh@suse.cz>
858
859         PR middle-end/43391
860         * varasm.c (make_decl_rtl): Deal with COMMON flag to make
861         notice_global_symbol work.
862
863 2010-03-27  Jakub Jelinek  <jakub@redhat.com>
864
865         * dwarf2out.c (dwarf2_debug_hooks): Use dwarf2out_function_decl
866         instead of dwarf2out_decl.
867         (struct var_loc_node): Remove section_label field.
868         (dwarf2out_function_decl): New function.
869         (dwarf2out_var_location): Don't set section_label field.
870         (dwarf2out_begin_function): Don't empty decl_loc_table here.
871
872 2010-03-26  Michael Meissner  <meissner@linux.vnet.ibm.com>
873
874         PR tree-optimization/43544
875         * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION):
876         First argument for builtin vectorized function hook is now a
877         tree to be able to distinguish between machine specific and
878         standard builtins.
879         * targhooks.c (default_builtin_vectorized_function): Ditto.
880         * targhooks.h (default_builtin_vectorized_function): Ditto.
881         * target.h (struct gcc_target): Ditto.
882         * tree-vect-stmts.c (vectorizable_function): Ditto.
883         * config/i386/i386.c (ix86_builtin_vectorized_function): Ditto.
884         * config/rs6000/rs6000.c (rs6000_builtin_vectorized_function):
885         Ditto.
886
887 2010-03-26  Joseph Myers  <joseph@codesourcery.com>
888
889         PR c/43381
890         * c-decl.c (get_parm_info): Assert that decl going in OTHERS has a
891         nested binding iff it is a FUNCTION_DECL.
892         (store_parm_decls_newstyle): Pass nested=true to bind for
893         FUNCTION_DECLs amongst parameters.
894
895 2010-03-26  Jakub Jelinek  <jakub@redhat.com>
896
897         * var-tracking.c (vt_expand_loc_callback): Don't run
898         cselib_expand_value_rtx_cb in dummy mode if
899         cselib_dummy_expand_value_rtx_cb returned false.
900
901         * var-tracking.c (emit_note_insn_var_location): For one part
902         notes with offset 0, don't add EXPR_LIST around the location.
903         * dwarf2out.c (loc_descriptor, dw_loc_list_1,
904         add_location_or_const_value_attribute): Adjust for that change.
905
906         PR debug/43540
907         * dwarf2out.c (reg_save): For DW_CFA_expression put regnum
908         into first operand and location into second.
909         (dw_cfi_oprnd1_desc): Return dw_cfi_oprnd_reg_num instead of
910         dw_cfi_oprnd_loc for DW_CFA_expression.
911         (dw_cfi_oprnd2_desc): Return dw_cfi_oprnd_loc for DW_CFA_expression.
912         (output_cfa_loc, output_cfa_loc_raw): For DW_CFA_expression
913         assume first argument is regnum and second argument is location.
914
915 2010-03-26  Uros Bizjak  <ubizjak@gmail.com>
916
917         PR target/42113
918         * config/alpha/alpha.md (*cmp_sadd_si): Change mode
919         of scratch register to DImode.  Split to DImode comparison operator.
920         Use SImode subreg of scratch register in the multiplication.
921         (*cmp_sadd_sidi): Ditto.
922         (*cmp_ssub_si): Ditto.
923         (*cmp_ssub_sidi): Ditto.
924
925 2010-03-26  Uros Bizjak  <ubizjak@gmail.com>
926
927         PR target/43524
928         * config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]:
929         Remove invalid assert and wrong comment.
930
931 2010-03-26  Jakub Jelinek  <jakub@redhat.com>
932
933         PR debug/43516
934         * flags.h (final_insns_dump_p): New extern.
935         * final.c (final_insns_dump_p): New variable.
936         (rest_of_clean_state): Set it before -fdump-final-insns=
937         dumping, clear afterwards.
938         * print-rtl.c (print_rtx): If final_insns_dump_p don't dump
939         MEM_ALIAS_SET on MEMs.
940
941 2010-03-26  David S. Miller  <davem@davemloft.net>
942
943         * configure.ac: Fix sparc GOTDATA_OP bug check.
944         * configure: Rebuild.
945
946 2010-03-26  Alan Modra  <amodra@gmail.com>
947
948         * config/rs6000/rs6000.md (cmptf_internal2): Correct comparison.
949
950 2010-03-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
951
952         * doc/tm.texi (Sections): Document TLS_COMMON_ASM_OP,
953         TLS_SECTION_ASM_FLAG.
954
955 2010-03-25  Jakub Jelinek  <jakub@redhat.com>
956
957         PR bootstrap/43511
958         * config/i386/i386.c (ix86_code_end): Set DECL_WEAK if TARGET_MACHO.
959         Clear first_function_block_is_cold.
960
961         PR c/43385
962         * gimplify.c (gimple_boolify): Only recurse on __builtin_expect
963         argument if the argument is truth_value_p.
964
965 2010-03-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
966
967         * config/rs6000/constraints.md: Update copyright year for my changes.
968
969         PR target/43484
970         * config/rs6000/rs6000.c (rs6000_split_multireg_move): If r0 is
971         used in reg+reg addressing, swap registers.
972
973 2010-03-24  Jakub Jelinek  <jakub@redhat.com>
974
975         PR debug/43293
976         * target.h (struct gcc_target): Add code_end hook.
977         * target-def.h (TARGET_ASM_CODE_END): Define to hook_void_void
978         if not yet defined.
979         (TARGET_ASM_OUT): Add TARGET_ASM_CODE_END.
980         * toplev.c (compile_file): Call targetm.asm_out.code_end
981         hook before unwind info/debug info output.
982         * config/i386/winnt.c (i386_pe_file_end): Don't call ix86_file_end.
983         * config/i386/linux.h (NEED_INDICATE_EXEC_STACK): Don't define.
984         (TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack.
985         * config/i386/linux64.h (NEED_INDICATE_EXEC_STACK): Don't define.
986         (TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack.
987         * config/i386/i386.c (ix86_file_end): Renamed to...
988         (ix86_code_end): ... this.  Make static.  Don't call
989         file_end_indicate_exec_stack.  Emit unwind info using
990         final_start_function/final_end_function.
991         (darwin_x86_file_end): Remove.
992         (TARGET_ASM_CODE_END): Define.
993         * config/i386/i386.h (TARGET_ASM_FILE_END,
994         NEED_INDICATE_EXEC_STACK): Don't define.
995         * config/i386/darwin.h (darwin_x86_file_end): Remove prototype.
996         (TARGET_ASM_FILE_END): Define to darwin_file_end.
997         * config/i386/i386-protos.h (ix86_file_end): Remove prototype.
998         * doc/tm.texi (TARGET_ASM_CODE_END): Document.
999
1000         PR target/43498
1001         * config/i386/i386.c (x86_output_mi_thunk): Call final_start_function
1002         at the beginning and final_end_function at the end.
1003         * config/s390/s390.c (s390_output_mi_thunk): Likewise.
1004
1005 2010-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1006
1007         * configure.ac (i[34567]86-*-*): Handle Solaris 2/x86 TLS support
1008         and Sun as TLS syntax.
1009         (TLS_SECTION_ASM_FLAG) [on_solaris && !gas_flag]: Define.
1010         * configure: Regenerate.
1011         * config.in: Regenerate.
1012         * varasm.c (TLS_SECTION_ASM_FLAG): Define default.
1013         (default_elf_asm_named_section): Use it.
1014         * config/i386/i386.c (output_pic_addr_const): Lowercase @DTPOFF.
1015         (i386_output_dwarf_dtprel): Likewise.
1016         (output_addr_const_extra): Likewise.
1017         (output_pic_addr_const): Lowercase @GOTTPOFF.
1018         (output_addr_const_extra): Likewise.
1019         (output_pic_addr_const): Lowercase @GOTNTPOFF.
1020         (output_addr_const_extra): Likewise.
1021         (output_pic_addr_const): Lowercase @INDNTPOFF.
1022         (output_addr_const_extra): Likewise.
1023         (output_pic_addr_const): Lowercase @NTPOFF.
1024         (output_addr_const_extra): Likewise.
1025         (output_pic_addr_const): Lowercase @TPOFF.
1026         (output_addr_const_extra): Likewise.
1027         * config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase @TLSGD.
1028         (*tls_global_dynamic_64): Likewise.
1029         (*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM.
1030         (*tls_local_dynamic_base_64): Lowercase @TLSLD.
1031
1032         * defaults.h (TLS_COMMON_ASM_OP): Provide default.
1033         (ASM_OUTPUT_TLS_COMMON): Use it.
1034         * config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef.
1035
1036         PR target/38118
1037         * config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to tm_file.
1038         * config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ...
1039         * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here.
1040         * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine.
1041         * config/i386/sol2.h (TARGET_SUN_TLS): Redefine.
1042         (ASM_DECLARE_OBJECT_NAME) [!USE_GAS]: Redefine.
1043
1044 2010-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1045
1046         * config/i386/i386.c (override_options): Don't accept
1047         -mtls-dialect=sun any longer.
1048         * config/i386/i386.h (TARGET_SUN_TLS): Define as 0.
1049         * config/i386/i386.md (*tls_global_dynamic_32_sun): Remove.
1050         (*tls_local_dynamic_base_32_sun): Likewise.
1051         * config/i386/sol2.h (TARGET_SUN_TLS): Redefine.
1052
1053 2010-03-24  Jakub Jelinek  <jakub@redhat.com>
1054
1055         PR debug/43508
1056         * dwarf2out.c (mem_loc_descriptor): Don't ICE on
1057         VEC_{MERGE,SELECT,CONCAT,DUPLICATE}.
1058
1059         PR debug/43479
1060         * ira.c (adjust_cleared_regs): New function.
1061         (update_equiv_regs): Adjust cleared_regs in DEBUG_INSNs.
1062
1063         PR debug/19192
1064         PR debug/43479
1065         * cfgexpand.c (gimple_assign_rhs_to_tree): Also set TREE_BLOCK
1066         from gimple_block.
1067         * expr.c (expand_expr_real): Restore previous
1068         curr_insn_source_location and curr_insn_block after
1069         expand_expr_real_1 call.
1070         (expand_expr_real_1) <case SSA_NAME>: Call expand_expr_real
1071         instead of expand_expr_real_1.
1072
1073 2010-03-23  Vladimir Makarov  <vmakarov@redhat.com>
1074
1075         PR rtl-optimization/43413
1076         * ira-color.c (setup_allocno_available_regs_num): Count prohibited
1077         hard regs too.
1078
1079 2010-03-22  James E. Wilson  <wilson@codesourcery.com>
1080
1081         PR target/43348
1082         * ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp,
1083         call_value_gp, sibcall_gp): Use 's' constraint not 'i'.
1084
1085 2010-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1086
1087         * config/i386/i386.c (ix86_target_string): Add -mfma.
1088         Fix a typo in comment.
1089
1090 2010-03-22  Mike Stump  <mikestump@comcast.net>
1091
1092         PR target/23071
1093         * config/rs6000/rs6000.c (darwin_rs6000_special_round_type_align):
1094         Don't overly align based upon packed packed fields.
1095
1096 2010-03-22  Jason Merrill  <jason@redhat.com>
1097
1098         * c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
1099         Use () rather than [], and move before the element type.
1100
1101 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1102
1103         * doc/configfiles.texi (Configuration Files): Removed
1104         fixinc/Makefile*, intl/Makefile.*.
1105         * doc/makefile.texi: Fixed markup. Abstract from version
1106         control system used.
1107         (Makefile): Removed obsolete gcc/java/parse.y example.
1108         * doc/sourcebuild.texi: Likewise.
1109         (Top Level): Added config, gnattools, libdecnumber, libgcc,
1110         libgomp, libssp.  Removed fastjar.
1111         (Miscellaneous Docs): Clarify location.
1112         Added COPYING3, COPYING3.LIB.
1113         (Front End Directory): Moved Make-lang.in entry to new subsubsection.
1114
1115 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1116
1117         PR target/38085
1118         * config/i386/i386.c (x86_function_profiler)
1119         [!NO_PROFILE_COUNTERS]: Fix typo.
1120         * config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call
1121         instead of callq.
1122
1123 2010-03-22  Janis Johnson  <janis187@us.ibm.com>
1124             Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1125
1126         * doc/sourcebuild.texi (Test Directives): Split into six
1127         subsections, with most of the current text in new subsections
1128         Directives, Selectors, and Final Actions.
1129         (Directives): Split list of test directives into multiple
1130         subsubsections.
1131         (Selectors): Describe use and syntax of selectors.
1132         (Effective-Target Keywords): Describe all existing keywords.
1133         (Add Options): Describe features for dg-add-options.
1134         (Require Support): Describe variants of dg-require-support.
1135         (Final Actions): Describe commands to use in dg-final.
1136
1137 2010-03-22  Michael Matz  <matz@suse.de>
1138
1139         PR middle-end/43475
1140         * recog.c (validate_replace_rtx_group): Replace also in
1141         REG_EQUAL and REG_EQUIV notes.
1142
1143 2010-03-22  Richard Guenther  <rguenther@suse.de>
1144
1145         PR tree-optimization/43390
1146         * tree-vect-stmts.c (get_vectype_for_scalar_type): Make
1147         sure vector extracts are type correct.
1148
1149 2010-03-22  Richard Guenther  <rguenther@suse.de>
1150
1151         PR middle-end/40106
1152         * builtins.c (expand_builtin_pow): Expand pow (x, 1.5) as
1153         x * sqrt (x) even when optimizing for size if the target
1154         has native support for sqrt.
1155
1156 2010-03-22  Jakub Jelinek  <jakub@redhat.com>
1157
1158         * varasm.c (make_decl_rtl_for_debug): Also clear
1159         flag_mudflap for the duration of make_decl_rtl call.
1160
1161         PR debug/43443
1162         * var-tracking.c (add_cselib_value_chains): Remove ASM_OPERANDS
1163         locs from preserved VALUEs.
1164
1165 2010-03-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1166
1167         PR middle-end/42718
1168         * pa.md (movmemsi): Set align to one if zero.
1169         (movmemdi): Likewise.
1170
1171 2010-03-21  Richard Earnshaw  <rearnsha@arm.com>
1172
1173         PR target/42321
1174         * arm.c (arm_output_epilogue): Correctly match VFP pop instructions
1175         with their corresponding prologue pushes.
1176
1177 2010-03-20  Andrew Pinski  <pinskia@gmail.com>
1178
1179         PR target/43156
1180         * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED
1181         at the begining or end.
1182         (spu_expand_epilogue): Likewise.
1183
1184 2010-03-20  Richard Guenther  <rguenther@suse.de>
1185
1186         PR rtl-optimization/43438
1187         * combine.c (make_extraction): Properly zero-/sign-extend an
1188         extraction of the low part of a CONST_INT.  Also handle
1189         CONST_DOUBLE.
1190
1191 2010-03-19  Mike Stump  <mikestump@comcast.net>
1192
1193         * config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add.
1194         * config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add.
1195         (override_options): Use SUBTARGET32_DEFAULT_CPU.
1196
1197 2010-03-19  Andrew Pinski  <andrew_pinski@caviumnetworks.com>
1198
1199         PR c/43211
1200         * c-decl.c (grokparms): Set arg_types to NULL_TREE if there was
1201         an error.
1202
1203 2010-03-19  Bernd Schmidt  <bernd.schmidt@codesourcery.com>
1204
1205         PR rtl-optimization/42258
1206         * ira-lives.c (check_and_make_def_conflict): Ignore conflict for a
1207         use that may match DEF.
1208
1209         PR target/40697
1210         * optabs.c (avoid_expensive_constant): Use rtx_cost to find out
1211         the cost of loading the constant rather than assuming
1212         COSTS_N_INSNS (1).
1213         * config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the
1214         outer code is AND, do the same tests as the andsi3 expander and
1215         return COSTS_N_INSNS (1) if and is cheap.
1216
1217         * optabs.c (avoid_expensive_constant): Fix formatting.
1218
1219 2010-03-19  Michael Matz  <matz@suse.de>
1220
1221         PR c++/43116
1222         * attribs.c (decl_attributes): When rebuilding a function pointer
1223         type use the same qualifiers as the original pointer type.
1224
1225 2010-03-19  Martin Jambor  <mjambor@suse.cz>
1226
1227         * doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant
1228         and is_gimple_ip_invariant_address.
1229
1230 2010-03-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1231
1232         Revert
1233         2009-10-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1234
1235         * config/arm/arm.c (arm_override_options): Turn off
1236         flag_dwarf2_cfi_asm for AAPCS variants.
1237
1238 2010-03-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1239
1240         PR target/43399
1241         * config/arm/arm.c (emit_multi_reg_push): Update comments.
1242         Use PRE_MODIFY instead of PRE_DEC.
1243         (emit_sfm): Use PRE_MODIFY instead of PRE_DEC.
1244         (vfp_emit_fstmd): Likewise.
1245
1246 2010-03-19  Michael Matz  <matz@suse.de>
1247
1248         PR target/43305
1249         * builtins.c (expand_builtin_interclass_mathfn,
1250         expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls
1251         if that fails.
1252
1253 2010-03-19  Richard Guenther  <rguenther@suse.de>
1254
1255         PR tree-optimization/43415
1256         * tree-ssa-pre.c (phi_translate): Split out worker to ...
1257         (phi_translate_1): ... this.
1258         (phi_translate): Move all caching here.  Cache all NARY
1259         and REFERENCE translations.
1260
1261 2010-03-19  David S. Miller  <davem@davemloft.net>
1262
1263         With help from Eric Botcazou.
1264         * config/sparc/sparc.c: Include dwarf2out.h.
1265         (emit_pic_helper): Delete.
1266         (pic_helper_symbol_name): Delete.
1267         (pic_helper_emitted_p): Delete.
1268         (pic_helper_needed): New.
1269         (USE_HIDDEN_LINKONCE): Define to '1' if HAVE_GAS_HIDDEN else '0'.
1270         (get_pc_thunk_name): New.
1271         (load_pic_register): Remove 'delay_pic_helper' arg.  Use
1272         get_thunk_pc_name and ggc_strdup to generate PIC thunk symbol.
1273         Set pic_helper_needed to true.  Don't call emit_pic_helper.
1274         (sparc_expand_prologue): Update load_pic_register call.
1275         (sparc_output_mi_thunk): Likewise.
1276         (sparc_file_end): Emit a hidden comdat symbol for the PIC
1277         thunk if possible.  Output CFI information as needed.
1278
1279 2010-03-18  Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1280             Jack Howarth <howarth@bromo.med.uc.edu>
1281
1282         PR target/36399
1283         * config/i386/i386.h: Fix ABI on darwin x86-32.
1284
1285 2010-03-18  Aldy Hernandez  <aldyh@redhat.com>
1286
1287         * tree.h: Declare make_decl_rtl_for_debug.
1288         * varasm.c (make_decl_rtl_for_debug): New.
1289         * dwarf2out.c (rtl_for_decl_location): Call it.
1290         * cfgexpand.c (expand_debug_expr): Call it.
1291
1292 2010-03-18  Jakub Jelinek  <jakub@redhat.com>
1293
1294         PR bootstrap/43399
1295         * var-tracking.c (adjust_mems) <case POST_MODIFY>: Allow BLKmode
1296         mem_mode.
1297
1298         PR bootstrap/43403
1299         * var-tracking.c (vt_init_cfa_base): Do nothing if
1300         cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed register.
1301
1302 2010-03-18  Alexandre Oliva  <aoliva@redhat.com>
1303
1304         PR debug/42873
1305         * var-tracking.c (canonicalize_vars_star): New.
1306         (dataflow_post_merge_adjust): Use it.
1307
1308 2010-03-18  Jakub Jelinek  <jakub@redhat.com>
1309
1310         PR debug/43058
1311         * var-tracking.c (non_suitable_const): New function.
1312         (add_uses): For DEBUG_INSNs with constants, don't record any
1313         value, instead just the constant value itself.
1314         (compute_bb_dataflow) <case MO_VAL_LOC>: If PAT_VAR_LOCATION_LOC
1315         is not VAR_LOC_UNKNOWN_P, set var to the constant.
1316         (emit_notes_in_bb): Likewise.
1317         (emit_note_insn_var_location): For onepart variables if
1318         cur_loc is a VOIDmode constant, use DECL_MODE.
1319
1320 2010-03-18  Martin Jambor  <mjambor@suse.cz>
1321
1322         PR middle-end/42450
1323         * cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare.
1324         * cgraphunit.c (cgraph_materialize_all_clones): Update calls in
1325         all non-clones.  Moved call redirection...
1326         (cgraph_redirect_edge_call_stmt_to_callee): ...to this new function.
1327         (cgraph_materialize_all_clones): Dispose of all
1328         combined_args_to_skip bitmaps.
1329         (verify_cgraph_node): Do not check for edges pointing to wrong
1330         nodes in inline clones.
1331         * tree-inline.c (copy_bb): Call
1332         cgraph_redirect_edge_call_stmt_to_callee.
1333         * ipa.c (cgraph_remove_unreachable_nodes): Call
1334         cgraph_node_remove_callees even when there are used clones.
1335
1336 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
1337
1338         * config/i386/libgcc-glibc.ver: Make GCC_4.5.0 inherit GCC_4.4.0.
1339
1340 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
1341
1342         PR target/43383
1343         * config/i386/libgcc-glibc.ver: Add __extendxftf2 to GCC_4.5.0
1344         for 32bit.
1345
1346 2010-03-18  Michael Matz  <matz@suse.de>
1347
1348         PR middle-end/43419
1349         * builtins.c (expand_builtin_pow): Don't transform pow(x, 0.5)
1350         into sqrt(x) if we need to preserve signed zeros.
1351
1352 2010-03-18  Steven Bosscher  <steven@gcc.gnu.org>
1353             Eric Botcazou  <ebotcazou@adacore.com>
1354
1355         PR rtl-optimization/43360
1356         * loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL
1357         note if we don't know its invariant status.
1358
1359 2010-03-18  Michael Matz  <matz@suse.de>
1360
1361         PR tree-optimization/43402
1362         * tree-cfgcleanup.c (cleanup_control_expr_graph): Don't follow
1363         PHI chains of ssa names registered for update.
1364
1365 2010-03-17  Peter Bergner  <bergner@vnet.ibm.com>
1366
1367         PR target/42427
1368         * config/rs6000/rs6000.c (rs6000_split_multireg_move): Add support for
1369         non-offsettable and pre_modify update addressing.
1370         * config/rs6000/dfp.md (*movdd_hardfloat32): Make the "0", "1"
1371         and "2" alternatives "#".
1372         (*movdd_softfloat32): Make all alternatives "#";
1373         * config/rs6000/rs6000.md (DIFD): New define_mode_iterator.
1374         (*movdf_hardfloat32): Make the "0", "1" and "2" alternatives "#".
1375         (*movdf_softfloat32): Make all alternatives "#";
1376         (movdi): Use the new DIFD mode iterator to create a common splitter
1377         for movdi, movdf and movdd patterns.
1378
1379 2010-03-18  Shujing Zhao  <pearly.zhao@oracle.com>
1380
1381         * common.opt (dumpdir): Remove redundant tab.
1382
1383 2010-03-17  Martin Jambor  <mjambor@suse.cz>
1384
1385         PR tree-optimization/43347
1386         * tree-sra.c (create_access_replacement): Set TREE_NO_WARNING when the
1387         original base is DECL_ARTIFICIAL or DECL_IGNORED_P.
1388
1389 2010-03-17  Bernd Schmidt  <bernd.schmidt@analog.com>
1390
1391         PR rtl-optimization/42216
1392         * regrename.c (create_new_chain): New function, broken out from...
1393         (scan_rtx_reg): ... here.  Call it.  Handle the case where we are
1394         appending a use to an empty chain.
1395         (build_def_use): Remove previous changes that convert OP_INOUT to
1396         OP_OUT operands; instead detect the case where an OP_INOUT operand
1397         uses a previously untracked register and create an empty chain for it.
1398
1399 2010-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1400
1401         * doc/extend.texi (Function Attributes): Rewrite unfinished
1402         sentence in ms_abi documentation.
1403
1404 2010-03-17  Alan Modra  <amodra@gmail.com>
1405
1406         * config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var.
1407         * config/rs6000/linux64.h (TARGET_PROFILE_KERNEL): Define.
1408         (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't use SET_PROFILE_KERNEL.
1409         * config/rs6000/rs6000.c (SET_PROFILE_KERNEL): Don't define.
1410
1411 2010-03-16  Richard Henderson  <rth@redhat.com>
1412
1413         PR middle-end/43365
1414         * tree-eh.c (replace_goto_queue): Also replace in the eh_seq.
1415         (lower_try_finally): Save and restore eh_seq around the expansion
1416         of the try-finally.
1417
1418 2010-03-16  Aldy Hernandez  <aldyh@redhat.com>
1419
1420         * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
1421         statements before splitting block.
1422
1423 2010-03-16  Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1424
1425         * doc/sourcebuild.texi (Testsuites): Fix markup.
1426         Use pathnames relative to gcc/testsuite.
1427         (Test Directives): Move description of how timeout is determined.
1428         (Ada Tests): Favor gnat.exp over ada/acats/tests/gcc.
1429         (C Tests): Correct gcc.misc-tests directory.
1430         Framework tests now live in gcc.test-framework.
1431
1432 2010-03-16  Richard Guenther  <rguenther@suse.de>
1433
1434         PR middle-end/43379
1435         * tree-cfg.c (gimple_merge_blocks): When propagating virtual PHI
1436         operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI properly.
1437
1438 2010-03-16  Aldy Hernandez  <aldyh@redhat.com>
1439             Alexandre Oliva  <aoliva@redhat.com>
1440
1441         PR tree-optimization/42917
1442         * lambda-code.c (remove_iv): Skip debug statements.
1443         (lambda_loopnest_to_gcc_loopnest): Likewise.
1444         (not_interesting_stmt): Debug statements are not interesting.
1445
1446 2010-03-16  Jakub Jelinek  <jakub@redhat.com>
1447
1448         PR debug/43051
1449         PR debug/43092
1450         * cselib.c (cselib_preserve_constants,
1451         cfa_base_preserved_val): New static variables.
1452         (preserve_only_constants): New function.
1453         (cselib_reset_table): If cfa_base_preserved_val is non-NULL, don't
1454         clear its REG_VALUES.  If cselib_preserve_constants, don't
1455         empty the whole hash table, but preserve there VALUEs with constants,
1456         cfa_base_preserved_val and cfa_base_preserved_val plus constant.
1457         (cselib_preserve_cfa_base_value): New function.
1458         (cselib_invalidate_regno): Don't invalidate cfa_base_preserved_val.
1459         (cselib_init): Change argument to int bitfield.  Set
1460         cselib_preserve_constants to whether CSELIB_PRESERVE_CONSTANTS
1461         is in it.
1462         (cselib_finish): Clear cselib_preserve_constants and
1463         cfa_base_preserved_val.
1464         * cselib.h (enum cselib_record_what): New enum.
1465         (cselib_init): Change argument to int.
1466         (cselib_preserve_cfa_base_value): New prototype.
1467         * postreload.c (reload_cse_regs_1): Adjust cselib_init caller.
1468         * dse.c (dse_step1): Likewise.
1469         * cfgcleanup.c (thread_jump): Likewise.
1470         * sched-deps.c (sched_analyze): Likewise.
1471         * gcse.c (local_cprop_pass): Likewise.
1472         * simplify-rtx.c (simplify_replace_fn_rtx): Add argument to callback.
1473         If FN is non-NULL, call the callback always and whenever it returns
1474         non-NULL just return that.  Only do rtx_equal_p if FN is NULL.
1475         * rtl.h (simplify_replace_fn_rtx): Add argument to callback.
1476         * combine.c (propagate_for_debug_subst): Add old_rtx argument,
1477         compare from with old_rtx and if it isn't rtx_equal_p, return NULL.
1478         * Makefile.in (var-tracking.o): Depend on $(RECOG_H).
1479         * var-tracking.c: Include recog.h.
1480         (bb_stack_adjust_offset): Remove.
1481         (vt_stack_adjustments): Don't call it, instead just gather the
1482         adjustments using insn_stack_adjust_offset_pre_post on each bb insn.
1483         (adjust_stack_reference): Remove.
1484         (compute_cfa_pointer): New function.
1485         (hard_frame_pointer_adjustment, cfa_base_rtx): New static variables.
1486         (struct adjust_mem_data): New type.
1487         (adjust_mems, adjust_mem_uses, adjust_mem_stores, adjust_insn): New
1488         functions.
1489         (get_address_mode): New function.
1490         (replace_expr_with_values): Use it.
1491         (use_type): Don't do cselib_lookup for VAR_LOC_UNKNOWN_P.
1492         Use get_address_mode.  For cfa_base_rtx return MO_CLOBBER.
1493         (adjust_sets): Remove.
1494         (add_uses): Don't add extra MO_VAL_USE for cfa_base_rtx plus constant.
1495         Use get_address_mode.
1496         (get_adjusted_src): Remove.
1497         (add_stores): Don't call it.  Never reuse expr SET.  Don't add extra
1498         MO_VAL_USE for cfa_base_rtx plus constant.  Use get_address_mode.
1499         (add_with_sets): Don't call adjust_sets.
1500         (fp_setter, vt_init_cfa_base): New functions.
1501         (vt_initialize): Change return type to bool.  Move most of pool etc.
1502         initialization to the beginning of the function from end.  Pass
1503         CSELIB_RECORD_MEMORY | CSELIB_PRESERVE_CONSTANTS to cselib_init.
1504         If !frame_pointer_needed, call vt_stack_adjustment before mos
1505         vector is filled, call vt_init_cfa_base if argp/framep has been
1506         eliminated to sp.  If frame_pointer_needed and argp/framep has
1507         been eliminated to hard frame pointer, set
1508         hard_frame_pointer_adjustment and call vt_init_cfa_base after
1509         encountering fp setter in the prologue.  For MO_ADJUST, call
1510         log_op_type before pusing the op into mos vector, not afterwards.
1511         Call adjust_insn before cselib_process_insn/add_with_sets,
1512         call cancel_changes (0) afterwards.
1513         (variable_tracking_main_1): Adjust for vt_initialize calling
1514         vt_stack_adjustments and returning whether it succeeded or not.
1515
1516 2010-03-15  Aldy Hernandez  <aldyh@redhat.com>
1517
1518         * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip
1519         debug statements.
1520
1521 2010-03-15  Jakub Jelinek  <jakub@redhat.com>
1522
1523         * dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg
1524         has been set.
1525         (based_loc_descr): Use DW_OP_fbreg for vdrap_reg even when
1526         drap_reg has not been set.
1527
1528 2010-03-15  Michael Matz  <matz@suse.de>
1529
1530         PR middle-end/43300
1531         * tree-outof-ssa.c (emit_partition_copy): New argument sizeexp,
1532         use it to expand block copies.
1533         (insert_partition_copy_on_edge, insert_rtx_to_part_on_edge,
1534         insert_part_to_rtx_on_edge): Adjust callers of emit_partition_copy.
1535         (insert_value_copy_on_edge): Use store_expr for BLKmode values.
1536
1537 2010-03-15  Richard Guenther  <rguenther@suse.de>
1538
1539         PR tree-optimization/43367
1540         * tree-cfg.c (gimple_can_merge_blocks_p): Simplify PHI
1541         elimination check.
1542
1543 2010-03-15  Richard Guenther  <rguenther@suse.de>
1544
1545         PR tree-optimization/43317
1546         * ipa-struct-reorg.c (create_new_general_access): Update stmt.
1547
1548 2010-03-15  Martin Jambor  <mjambor@suse.cz>
1549
1550         PR tree-optimization/43141
1551         * tree-sra.c (create_abstract_origin): New function.
1552         (modify_function): Call create_abstract_origin.
1553
1554 2010-03-15  Chris Demetriou  <cgd@google.com>
1555
1556         * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it
1557         wasn't copied.
1558
1559 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1560
1561         PR middle-end/43354
1562         * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Do not
1563         call insert_out_of_ssa_copy for default definitions.
1564
1565 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1566
1567         * graphite-clast-to-gimple.c (my_long_long): Defined.
1568         (gcc_type_for_cloog_iv): Use it instead of long_long_integer_type_node.
1569         * graphite-sese-to-poly.c (my_long_long): Defined.
1570         (scop_ivs_can_be_represented): Use it.
1571
1572 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1573
1574         * doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params,
1575         graphite-max-bbs-per-function, and loop-block-tile-size.
1576         * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal"
1577         with "maximum".
1578         (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same.
1579
1580 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1581
1582         * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove
1583         forward declaration.
1584         * graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment.
1585         (add_upper_bounds_from_estimated_nit): New.
1586         (build_loop_iteration_domains): Use it.
1587
1588 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1589
1590         * doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document.
1591
1592 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1593
1594         PR middle-end/43306
1595         * tree-chrec.c (evolution_function_right_is_integer_cst): CHREC_RIGHT
1596         should be an INTEGER_CST.  Also handle CASE_CONVERT.
1597
1598 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1599
1600         * graphite.c (graphite_initialize): To bound the number of bbs per
1601         function, use PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.
1602         * params.def (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Declared.
1603         * doc/invoke.texi: Document it.
1604
1605 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1606
1607         * graphite-sese-to-poly.c (build_poly_scop): Do not return bool.
1608         * graphite-sese-to-poly.h (build_poly_scop): Same.
1609
1610 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
1611
1612         * graphite-sese-to-poly.c (build_poly_scop): Limit scops following
1613         the number of parameters in the scop.  Use as an upper bound
1614         PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS.
1615         * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Declared.
1616         * doc/invoke.texi: Document it.
1617
1618 2010-03-13  Jerry Quinn  <jlquinn@optonline.net>
1619
1620         * Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi.
1621         * doc/c-tree.texi: Remove.
1622         * doc/generic.texi: Merge c-tree.texi here.
1623         * doc/gccint.texi (Trees): Remove menu entry.
1624         (c-tree.texi): Remove @include.
1625         * doc/rtl.texi (Reading RTL): Update pxref from Trees to GENERIC.
1626         * doc/languages.texi (Reading RTL): Ditto.
1627
1628 2010-03-12  Steve Ellcey  <sje@cup.hp.com>
1629
1630         PR target/42869
1631         * config/ia64/sync.md (sync_compare_and_swap): Move memory fence.
1632
1633 2010-03-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
1634
1635         PR middle-end/42431
1636         * gcc/config/rs6000/rs6000.c (rs6000_emit_move): Delete band-aid
1637         code added to work around reload clobbering CONST insns.
1638
1639 2010-03-12  Jakub Jelinek  <jakub@redhat.com>
1640
1641         * cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove.
1642         (cselib_preserve_definitely, cselib_clear_preserve): Remove.
1643         (cselib_preserve_only_values): Remove retain argument, don't
1644         traverse hash table with cselib_{preserve_definitely,clear_preserve}.
1645         * cselib.h (cselib_preserve_only_values): Remove retain argument.
1646         * var-tracking.c (micro_operation): Move insn field before union.
1647         Add DEF_VEC_O and DEF_VEC_ALLOC_O for this type.
1648         (struct variable_tracking_info_def): Remove n_mos field, change
1649         mos into a vector of micro_operations.
1650         (count_uses, count_uses_1, count_stores, count_with_sets): Remove.
1651         (bb_stack_adjust_offset, log_op_type, add_uses, add_stores,
1652         compute_bb_dataflow, emit_notes_in_bb): Adjust for VTI (bb)->mos
1653         changing into a vector.
1654         (add_with_sets): Likewise.  Ensure MO_VAL_USE uops from add_stores
1655         come before all other uops generated by add_stores.
1656         (vt_add_function_parameters): Adjust for cselib_preserve_only_values
1657         argument removal.
1658         (vt_initialize): Likewise.  Adjust for VTI (bb)->mos changing into
1659         a vector.  Run just one pass over the bbs instead of separate counting
1660         and computation phase.
1661         (vt_finalize): Free VTI (bb)->mos vector instead of array.
1662
1663         PR debug/43329
1664         * tree-inline.c (remap_decls): Put old_var rather than origin_var
1665         into *nonlocalized_list vector.
1666         * dwarf2out.c (gen_formal_parameter_die): Call decl_ultimate_origin
1667         even if origin is non-NULL.
1668         (gen_variable_die): Likewise.
1669         (process_scope_var): Don't change origin.
1670         (gen_decl_die): Likewise.
1671         * tree-cfgcleanup.c (remove_forwarder_block): Check single_pred_p
1672         before adding new edges instead of after it, fix moving over
1673         debug stmts.
1674
1675 2010-03-11  David S. Miller  <davem@davemloft.net>
1676
1677         * configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple
1678         of four.
1679         * configure: Rebuild.
1680
1681 2010-03-11  Martin Jambor  <mjambor@suse.cz>
1682
1683         PR tree-optimization/43257
1684         * tree.c (assign_assembler_name_if_neeeded): New function.
1685         (free_lang_data_in_cgraph): Assembler name assignment moved to the
1686         above new function.
1687         * tree.h (assign_assembler_name_if_neeeded): Declare.
1688         * cgraphunit.c (cgraph_analyze_function): Create an assembler name for
1689         the function if needed.
1690
1691 2010-03-11  Chris Demetriou  <cgd@google.com>
1692
1693         * Makefile.in (stmp-int-hdrs): Make include/unwind.h,
1694         include/stdint-gcc.h, and include/stdint.h world-readable.
1695
1696 2010-03-11  Richard Guenther  <rguenther@suse.de>
1697
1698         PR tree-optimization/43255
1699         * tree-vrp.c (process_assert_insertions_for): Do not insert
1700         asserts for trivial conditions.
1701
1702 2010-03-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1703
1704         PR tree-optimization/43280
1705         * tree-ssa-math-opts.c (find_bswap_1): Modify symbolic number
1706         generation.  Move calculation of size out of the if branch.
1707         (find_bswap): Modify compare number generation.
1708
1709 2010-03-11  Richard Guenther  <rguenther@suse.de>
1710
1711         PR lto/43200
1712         * lto-streamer-in.c (maybe_fixup_decls): Simplify.
1713         (input_gimple_stmt): Fixup handled component types during
1714         operand read.  Also fix up decls in ADDR_EXPRs.
1715
1716 2010-03-10  Eric Botcazou  <ebotcazou@adacore.com>
1717
1718         * config/sparc/sol2-bi.h (CC1_SPEC): Default to -mcpu=v9 for -m32.
1719         * config/sparc/t-sol2-64 (MULTILIB_DIRNAMES): Use sparcv8plus.
1720
1721 2010-03-10  Jan Hubicka  <jh@suse.cz>
1722
1723         PR c/43288
1724         * ipa.c (function_and_variable_visibility) Normalize COMMON bits.
1725         * varasm.c (get_variable_section): Don't do that here...
1726         (make_decl_rtl): ... and here.
1727         (do_assemble_alias): Produce decl RTL.
1728         (assemble_alias): Likewise.
1729
1730 2010-03-10  Jakub Jelinek  <jakub@redhat.com>
1731
1732         PR debug/43290
1733         * reg-notes.def (REG_CFA_SET_VDRAP): New note.
1734         * dwarf2out.c (dwarf2out_frame_debug_expr): Remove rule 20 - setting
1735         of fde->vdrap_reg.
1736         (dwarf2out_frame_debug): Handle REG_CFA_SET_VDRAP note.
1737         (based_loc_descr): Only express drap or vdrap regno based expressions
1738         using DW_OP_fbreg when not optimizing.
1739         * config/i386/i386.c (ix86_get_drap_rtx): When not optimizing,
1740         make the vDRAP = DRAP assignment RTX_FRAME_RELATED_P and add
1741         REG_CFA_SET_VDRAP note.
1742
1743 2010-03-10  Alexander Monakov  <amonakov@ispras.ru>
1744
1745         PR tree-optimization/43236
1746         * tree-loop-distribution.c (generate_memset_zero): Fix off-by-one
1747         error in calculation of base address in reverse iteration case.
1748         (generate_builtin): Take number of latch executions if the statement
1749         is in the latch.
1750
1751 2010-03-10  Andrey Belevantsev  <abel@ispras.ru>
1752
1753         PR middle-end/42859
1754         * tree-eh.c: Include pointer-set.h.
1755         (lower_eh_dispatch): Filter out duplicate case labels and
1756         remove the unneeded edge when the label is unused.  Return
1757         true when some edges are removed.
1758         (execute_lower_eh_dispatch): When any lowering resulted in
1759         removing an edge, also delete unreachable blocks.
1760
1761 2010-03-10  Jakub Jelinek  <jakub@redhat.com>
1762
1763         PR bootstrap/43287
1764         * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle
1765         UNSPEC_MACHOPIC_OFFSET.
1766
1767 2010-03-09  Andreas Schwab  <schwab@linux-m68k.org>
1768
1769         PR target/43294
1770         * config/m68k/m68k.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
1771         (m68k_delegitimize_address): New function.
1772
1773 2010-03-09  Jakub Jelinek  <jakub@redhat.com>
1774
1775         PR debug/43299
1776         * dwarf2out.c (const_ok_for_output_1): Return 1 for UNSPECs.
1777
1778         PR debug/43299
1779         * var-tracking.c (adjust_sets): New function.
1780         (count_with_sets, add_with_sets): Use it.
1781         (get_adjusted_src): New inline function.
1782         (add_stores): Use it.
1783
1784         PR debug/43304
1785         * var-tracking.c (vt_expand_loc_callback) <case SUBREG>: If dummy,
1786         call cselib_dummy_expand_value_rtx_cb instead of
1787         cselib_expand_value_rtx_cb.
1788
1789         PR debug/43293
1790         * config/i386/t-i386 (i386.o): Depend on debug.h and dwarf2out.h.
1791         * config/i386/i386.c: Include debug.h and dwarf2out.h.
1792         (ix86_file_end): If dwarf2out_do_cfi_asm (), emit .cfi_startproc
1793         and .cfi_endproc around the pic thunks.
1794         (output_set_got): For TARGET_DEEP_BRANCH_PREDICTION pic, ensure
1795         all queued unwind info register saves are saved before the call.
1796         For !TARGET_DEEP_BRANCH_PREDICTION pic, ensure the call is
1797         considered as sp-=4 for unwind info and the pop as sp+=4 which
1798         also clobbers dest, but doesn't actually restore it.
1799
1800         PR debug/43290
1801         * config/i386/i386.c (ix86_get_drap_rtx): Don't set
1802         RTX_FRAME_RELATED_P.
1803
1804 2010-03-09  Jie Zhang  <jie@codesourcery.com>
1805
1806         * config/arm/arm.md (thumb_mulsi3_v6): Remove trailing
1807         whitespaces in output template.
1808
1809 2010-03-09  Jie Zhang  <jie@codesourcery.com>
1810
1811         * ira-lives.c (check_and_make_def_use_conflict): Don't fall
1812         out array boundary.
1813
1814 2010-03-08  Jakub Jelinek  <jakub@redhat.com>
1815
1816         * Makefile.in (check_gcc_parallelize): Run dg-torture.exp and
1817         builtins.exp in a separate job.
1818
1819 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1820
1821         * graphite-sese-to-poly.c (add_param_constraints): Use
1822         lower_bound_in_type and upper_bound_in_type.
1823
1824 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1825
1826         * graphite-sese-to-poly.c (add_param_constraints): Use sizetype
1827         instead of unsigned_type_node.
1828
1829 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1830             Reza Yazdani  <reza.yazdani@amd.com>
1831
1832         PR middle-end/43065
1833         * graphite-sese-to-poly.c (add_param_constraints): Insert bounds
1834         on pointer type parameters.
1835
1836 2010-03-08  Tobias Grosser  <grosser@fim.uni-passau.de>
1837
1838         PR middle-end/42644
1839         PR middle-end/42130
1840         * graphite-clast-to-gimple.c (clast_to_gcc_expression): Also
1841         handle conversions from pointer to integers.
1842         (gcc_type_for_cloog_iv): Choose the smalles signed integer as an
1843         induction variable, to be able to work with code generated by CLooG.
1844         * graphite-sese-to-poly.c (scop_ivs_can_be_represented): New.
1845         (build_poly_scop): Bail out if we cannot codegen a loop.
1846
1847 2010-03-08  Tobias Grosser  <grosser@fim.uni-passau.de>
1848
1849         * graphite-clast-to-gimple.c (translate_clast): Do not short-cut
1850         code generation with gloog_error.
1851
1852 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1853
1854         * sese.c (expand_scalar_variables_ssa_name): Add new argument for type.
1855         Call fold_convert on all the returned values.
1856         (expand_scalar_variables_expr): Pass to
1857         expand_scalar_variables_ssa_name the type of the resulting expression.
1858
1859 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1860
1861         * graphite-ppl.c (ppl_min_for_le_polyhedron): Renamed
1862         ppl_min_for_le_pointset.
1863         Use ppl_Pointset_Powerset_C_Polyhedron_minimize.
1864         * graphite-ppl.h (ppl_min_for_le_polyhedron): Update declaration.
1865
1866 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1867
1868         * graphite-dependences.c (map_into_dep_poly): Removed.
1869         (dependence_polyhedron_1): Use combine_context_id_scat.
1870
1871 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1872
1873         * graphite-poly.h (struct poly_scattering): Add layout documentation.
1874         (struct poly_bb): Same.
1875         (combine_context_id_scat): New.
1876
1877 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1878
1879         PR middle-end/42326
1880         * sese.c (name_defined_in_loop_p): Return false for default
1881         definitions.
1882
1883 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1884
1885         * graphite-clast-to-gimple.c (find_cloog_iv_in_expr): Simplify
1886         and clean up the logic.
1887
1888 2010-03-08  Sebastian Pop  <sebastian.pop@amd.com>
1889
1890         * graphite-sese-to-poly.c (add_param_constraints): Enabled: remove
1891         early return.
1892
1893 2010-03-08  Jakub Jelinek  <jakub@redhat.com>
1894
1895         * var-tracking.c (remove_cselib_value_chains): Define only for
1896         ENABLE_CHECKING.
1897         (dataflow_set_preserve_mem_locs, dataflow_set_remove_mem_locs,
1898         delete_slot_part, emit_notes_for_differences_1): Don't call
1899         remove_cselib_value_chains here.
1900         (set_slot_part, emit_notes_for_differences_2): Don't call
1901         add_cselib_value_chains here.
1902         (preserved_values): New vector.
1903         (preserve_value): New function.
1904         (add_uses, add_stores, vt_add_function_parameters): Use it
1905         instead of cselib_preserve_value.
1906         (changed_values_stack): New vector.
1907         (check_changed_vars_0): New function.
1908         (check_changed_vars_1, check_changed_vars_2): Use it.
1909         (emit_notes_for_changes): Call set_dv_changed (*, false) on all
1910         changed_values_stack VALUEs.
1911         (vt_emit_notes): For all preserved_values call
1912         add_cselib_value_chains.  If ENABLE_CHECKING call
1913         remove_cselib_value_chains before verifying value_chains is empty.
1914         Initialize and free changed_values_stack.
1915         (vt_initialize): Initialize preserved_values.
1916         (vt_finalize): Free preserved_values.
1917
1918 2010-03-08  Richard Guenther  <rguenther@suse.de>
1919
1920         PR tree-optimization/43269
1921         * tree-ssa-dse.c (dse_possible_dead_store_p): Fix post-dom
1922         region detection.
1923
1924 2010-03-08  Martin Jambor  <mjambor@suse.cz>
1925
1926         * ipa-prop.h (struct ipa_param_descriptor): Removed the called field.
1927         (ipa_is_param_called): Removed.
1928         * ipa-prop.c (ipa_note_param_call): Do not set the called flag.
1929         (ipa_print_node_params): Do not print the called flag.
1930         (ipa_write_node_info): Do not stream the called flag.
1931         (ipa_read_node_info): Likewise.
1932
1933 2010-03-07  Jakub Jelinek  <jakub@redhat.com>
1934
1935         PR debug/43176
1936         * Makefile.in (var-tracking.o): Depend on pointer-set.h.
1937         * cselib.c (struct expand_value_data): Add dummy field.
1938         (cselib_expand_value_rtx, cselib_expand_value_rtx_cb): Initialize
1939         dummy to false.
1940         (cselib_dummy_expand_value_rtx_cb): New function.
1941         (cselib_expand_value_rtx_1): If evd->dummy is true, don't allocate
1942         any rtl.
1943         * cselib.h (cselib_dummy_expand_value_rtx_cb): New prototype.
1944         * var-tracking.c: Include pointer-set.h.
1945         (variable): Change n_var_parts to char from int.  Add
1946         cur_loc_changed and in_changed_variables fields.
1947         (variable_canonicalize): Remove.
1948         (shared_var_p): New inline function.
1949         (unshare_variable): Maintain cur_loc_changed and
1950         in_changed_variables fields.  If var was in changed_variables,
1951         replace it there with new_var.  Just copy cur_loc instead of
1952         resetting it to something else.
1953         (variable_union): Don't recompute cur_loc.  Use shared_var_p.
1954         (dataflow_set_union): Don't call variable_canonicalize.
1955         (loc_cmp): If both x and y are DEBUG_EXPRs, compare uids
1956         of their DEBUG_EXPR_TREE_DECLs.
1957         (canonicalize_loc_order_check): Verify that cur_loc is NULL
1958         and in_changed_variables and cur_loc_changed is false.
1959         (variable_merge_over_cur): Clear cur_loc, in_changed_variables
1960         and cur_loc_changed.  Don't update cur_loc here.
1961         (variable_merge_over_src): Don't call variable_canonicalize.
1962         (dataflow_set_preserve_mem_locs): Use shared_var_p.  When
1963         removing loc that is equal to cur_loc, clear cur_loc,
1964         set cur_loc_changed and ensure variable_was_changed is called.
1965         (dataflow_set_remove_mem_locs): Use shared_var_p.  Only
1966         compare pointers in cur_loc check, if it is equal to loc,
1967         clear cur_loc and set cur_loc_changed.  Don't recompute cur_loc here.
1968         (variable_different_p): Remove compare_current_location argument,
1969         don't compare cur_loc.
1970         (dataflow_set_different_1): Adjust variable_different_p caller.
1971         (variable_was_changed): If dv had some var in changed_variables
1972         already, reset in_changed_variables flag for it and propagate
1973         cur_loc_changed over to the new variable.  On empty var
1974         always set cur_loc_changed.  Set in_changed_variables on whatever
1975         var is added to changed_variables.
1976         (set_slot_part): Clear cur_loc_changed and in_changed_variables.
1977         Use shared_var_p.  When removing loc that is equal to cur_loc,
1978         clear cur_loc and set cur_loc_changed.  If cur_loc is NULL at the
1979         end, don't set it to something else, just call variable_was_changed.
1980         (delete_slot_part): Use shared_var_p.  When cur_loc equals to
1981         loc being removed, clear cur_loc and set cur_loc_changed.
1982         Set cur_loc_changed if all locations have been removed.
1983         (struct expand_loc_callback_data): New type.
1984         (vt_expand_loc_callback): Add dummy mode in which no rtxes are
1985         allocated.  Always create SUBREGs if simplify_subreg failed.
1986         Prefer to use cur_loc, when that fails and still in
1987         changed_variables (and seen first time) recompute it.  Set
1988         cur_loc_changed of variables which had to change cur_loc and
1989         compute elcd->cur_loc_changed if any of the subexpressions used
1990         had to change cur_loc.
1991         (vt_expand_loc): Adjust to pass arguments in
1992         expand_loc_callback_data structure.
1993         (vt_expand_loc_dummy): New function.
1994         (emitted_notes): New variable.
1995         (emit_note_insn_var_location): For VALUEs and DEBUG_EXPR_DECLs
1996         that weren't used for any other decl in current
1997         emit_notes_for_changes call call vt_expand_loc_dummy to update
1998         cur_loc.  For -fno-var-tracking-assignments, set cur_loc to
1999         first loc_chain location if NULL before.  Always use just
2000         cur_loc instead of first loc_chain location.  When cur_loc_changed
2001         is false, when not --enable-checking=rtl just don't emit any note.
2002         When rtl checking, compute the note and assert it is the same
2003         as previous note.  Clear cur_loc_changed and in_changed_variables
2004         at the end before removing from changed_variables.
2005         (check_changed_vars_3): New function.
2006         (emit_notes_for_changes): Traverse changed_vars to call
2007         check_changed_vars_3 on each changed var.
2008         (emit_notes_for_differences_1): Clear cur_loc_changed and
2009         in_changed_variables.  Recompute cur_loc of new_var.
2010         (emit_notes_for_differences_2): Clear cur_loc if new variable appears.
2011         (vt_emit_notes): Initialize and destroy emitted_notes.
2012
2013 2010-03-07  Bernd Schmidt  <bernd.schmidt@analog.com>
2014
2015         PR rtl-optimization/42220
2016         * regrename.c (scan_rtx) <case STRICT_LOW_PART, ZERO_EXTRACT>:
2017         Use verify_reg_tracked to determine if we should use OP_OUT rather
2018         than OP_INOUT.
2019         (build_def_use): If we see an in-out operand for a register that we
2020         know nothing about, treat is an output if possible, fail the block if
2021         not.
2022
2023 2010-03-06  Alexandre Oliva  <aoliva@redhat.com>
2024
2025         PR debug/42897
2026         * gimple-iterator.c (gsi_remove): Propagate only PHI DEFs removed
2027         permanently.
2028
2029 2010-03-06  Alexandre Oliva  <aoliva@redhat.com>
2030
2031         PR debug/42897
2032         * tree-vect-loop.c (vect_transform_loop): Kill out-of-loop debug
2033         uses of relevant DEFs that are dead outside the loop too.
2034
2035 2010-03-06  Alexandre Oliva <aoliva@redhat.com>
2036
2037         * var-tracking.c (dataflow_set_merge): Swap src and src2.
2038         Reverted:
2039         2010-01-13  Jakub Jelinek  <jakub@redhat.com>
2040         PR debug/41371
2041         * var-tracking.c (values_to_unmark): New variable.
2042         (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in
2043         values_to_unmark vector.  Moved body to...
2044         (find_loc_in_1pdv_1): ... this.  Don't clear VALUE_RECURSED_INTO,
2045         instead queue it into values_to_unmark vector.
2046         (vt_find_locations): Free values_to_unmark vector.
2047
2048 2010-03-05  Eric Botcazou  <ebotcazou@adacore.com>
2049
2050         * Makefile.in (PLUGINCC, PLUGINCFLAGS): New variables.
2051         (site.exp): Export them when plugins are enabled.
2052
2053 2010-03-05  Sebastian Pop  <sebastian.pop@amd.com>
2054
2055         PR middle-end/42326
2056         * tree-chrec.c (chrec_fold_plus_1): Do not handle convert expressions
2057         that contain scevs.
2058         (chrec_fold_multiply): Same.
2059
2060 2010-03-04  Andrew Pinski  <andrew_pinski@caviumnetworks.com>
2061
2062         PR c/43248
2063         * c-decl.c (build_compound_literal): Return early if init is
2064         an error_mark_node.
2065
2066 2010-03-04  Martin Jambor  <mjambor@suse.cz>
2067
2068         PR tree-optimization/43164
2069         PR tree-optimization/43191
2070         * tree-sra.c (type_consists_of_records_p): Reject records with
2071         zero-size bit-fields at the end.
2072
2073 2010-03-04  Mike Stump  <mikestump@comcast.net>
2074
2075         * Makefile.in (TAGS): Remove *.y.
2076
2077 2010-03-04  Richard Guenther  <rguenther@suse.de>
2078
2079         PR tree-optimization/40761
2080         * tree-ssa-pre.c (compute_antic): Walk reverse postorder
2081         in reverse order.
2082         (my_rev_post_order_compute): New function.
2083         (init_pre): Call it.
2084
2085 2010-03-04  Changpeng Fang  <changpeng.fang@amd.com>
2086
2087         PR middle-end/43209
2088         * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Do not
2089         decrease the cost of an IV candidate when the cost is infinite.
2090
2091 2010-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2092
2093         * doc/extend.texi (Vector Extensions, X86 Built-in Functions):
2094         Use '3DNow!' for the extension of that name, ensure normal space
2095         after the string.
2096         * doc/invoke.texi (i386 and x86-64 Options): Likewise.
2097
2098 2010-03-03  Jeff Law  <law@redhat.com>
2099
2100         * PR middle-end/32693
2101         * expmed.c (store_bit_field_1): Use gen_lowpart_SUBREG rather
2102         than gen_rtx_SUBREG.
2103         (extract_bit_field_1): Likewise.
2104
2105 2010-03-03  Janis Johnson  <janis187@us.ibm.com>
2106
2107         * doc/sourcebuild.texi (Test directives): Document that arguments
2108         include-opts and exclude-opts are now optional for dg-skip-if,
2109         dg-xfail-if, dg-xfail-run-if, and dg-shouldfail.
2110
2111 2010-03-03  Jason Merrill  <jason@redhat.com>
2112
2113         PR c++/12909
2114         * cgraph.h (varpool_node): Add extra_name field.
2115         * varpool.c (varpool_extra_name_alias): New.
2116         (varpool_assemble_decl): Emit extra name aliases.
2117         (varpool_mark_needed_node): Look past an extra name alias.
2118         * lto-streamer.h (LTO_tags): Add LTO_var_decl_alias.
2119         * lto-streamer-in.c (lto_input_tree): Read it.
2120         * lto-streamer-out.c (output_unreferenced_globals): Write it.
2121
2122 2010-03-03  Eric Botcazou  <ebotcazou@adacore.com>
2123
2124         * config.gcc (sparc64-*-solaris2*, sparc-*-solaris2*): Merge into...
2125         (sparc*-*-solaris2*): ...this.
2126
2127 2010-03-03  Jakub Jelinek  <jakub@redhat.com>
2128
2129         PR debug/43229
2130         * cfgexpand.c (expand_debug_expr): Handle DOT_PROD_EXPR,
2131         WIDEN_MULT_EXPR and WIDEN_SUM_EXPR.  Return NULL without
2132         ICE for vector expressions, ADDR_SPACE_CONVERT_EXPR,
2133         FIXED_CONVERT_EXPR, OBJ_TYPE_REF and WITH_SIZE_EXPR.
2134
2135         PR debug/43237
2136         * dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die,
2137         fallthrough to default handling, just with want_address 0 instead of 2.
2138         For single element lists, add_AT_loc directly, otherwise create an
2139         artificial variable DIE and stick location list to it.
2140
2141         PR debug/43177
2142         * var-tracking.c (loc_cmp): Don't assert VALUEs have the same mode.
2143         (VAL_EXPR_HAS_REVERSE): Define.
2144         (reverse_op): New function.
2145         (add_stores): For reversible operations add an extra MO_VAL_USE.
2146
2147 2010-03-02  Jason Merrill  <jason@redhat.com>
2148
2149         * c-pretty-print.c (pp_c_specifier_qualifier_list): Print vector size.
2150
2151 2010-03-02  Eric Botcazou  <ebotcazou@adacore.com>
2152
2153         * config.gcc (sparc-*-linux*): Do not include sparc/gas.h.
2154         (sparc64-*-linux*): Likewise.
2155         (sparc64-*-solaris2*): Include assembler files before linker ones.
2156         (sparc-*-solaris2*): Simplify and reorder to match previous case.
2157         * config/sparc/gas.h: Delete.
2158         * config/sparc/sol2-64.h: Add copyright notice.
2159         * config/sparc/sol2-gas-bi.h: Likewise.
2160         * config/sparc/sol2-gld.h: Likewise.
2161         * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Delete.
2162         * config/sparc/sol2.h (TARGET_ASM_NAMED_SECTION): Redefine.
2163         * config/sparc/sol2-gas.h (TARGET_ASM_NAMED_SECTION): Likewise.
2164         * config/sparc/sparc.c (TARGET_ASM_ALIGNED_SI_OP): Never redefine.
2165         (sparc_elf_asm_named_section): Rename into...
2166         (sparc_solaris_elf_asm_named_section): ...this.  Always define.
2167
2168 2010-03-02  Uros Bizjak  <ubizjak@gmail.com>
2169
2170         * config/alpha/alpha.c (override_options): Fix -mtune error message.
2171
2172 2010-03-02  Jeff Law  <law@redhat.com>
2173
2174         PR middle-end/42431
2175         * reload1.c (rtx_p, substitute_stack): Declare.
2176         (substitute): Record addresses of changed rtxs.
2177         (gen_reload_chain_without_interm_reg_p): Don't use copy_rtx anymore.
2178         Restore the original rtx when complete.
2179         (reload): Free subsitute_stack when complete.
2180
2181 2010-03-02  Janis Johnson  <janis187@us.ibm.com>
2182
2183         * doc/gccint.texi (menu): Add Testsuites as a chapter.
2184         * doc/sourcebuild.texi (Testsuites): Move up a level to be a
2185         new chapter.
2186         (Test Idioms, Test Directives, Ada Tests, C Tests, libgcj Tests,
2187         LTO Testing, gcov Testing, profopt Testing, compat Testing,
2188         Torture Tests): Change from subsection to section.
2189
2190 2010-03-02  Jakub Jelinek  <jakub@redhat.com>
2191             Steven Bosscher  <steven@gcc.gnu.org>
2192
2193         * var-tracking.c (vt_initialize): Scan insns in ebb chunks
2194         instead of bb.
2195
2196 2010-03-02  Reza Yazdani  <reza.yazdani@amd.com>
2197
2198         PR middle-end/42640
2199         * tree-loop-distribution.c (update_phis_for_loop_copy): Replaced
2200         the assignment from the new induction variable to the assignment
2201         of the value from the original loop PHI function.
2202
2203 2010-03-01  Janis Johnson  <janis187@us.ibm.com>
2204             Daniel Jacobowitz  <dan@codesourcery.com>
2205
2206         * doc/sourcebuild.texi (Test directives): Clarify options to
2207         dg-skip-if.
2208
2209 2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2210
2211         * configure.ac (gcc_cv_as_cfi_directive) [i?86-*-solaris*]:
2212         Disable cfi directives unless GCC and gas agree on using read-only
2213         .eh_frame sections for 64-bit.
2214         * configure: Regenerate.
2215
2216 2010-03-01  Richard Guenther  <rguenther@suse.de>
2217
2218         PR tree-optimization/43220
2219         * tree-ssa-ccp.c (optimize_stack_restore): Do not optimize
2220         BUILT_IN_STACK_{SAVE,RESTORE} around alloca.
2221
2222 2010-03-01  Richard Guenther  <rguenther@suse.de>
2223             Martin Jambor  <mjambor@suse.cz>
2224
2225         PR middle-end/41250
2226         * gimplify.c (gimplify_body): Unset DECL_HAS_VALUE_EXPR_P on
2227         gimplified parameters.
2228
2229 2010-03-01  Christian Bruel  <christian.bruel@st.com>
2230
2231         * except.c (dw2_build_landing_pads): set LABEL_PRESERVE_P.
2232
2233 2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2234
2235         * config/i386/linux64.h (ASM_SPEC): Use SPEC_32 and SPEC_64.
2236
2237 2010-03-01  Richard Guenther  <rguenther@suse.de>
2238
2239         PR middle-end/43213
2240         * expr.c (expand_assignment): Use the alias-oracle to tell
2241         if the rhs aliases the result decl.
2242
2243 2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2244
2245         PR pch/14940
2246         * config/host-solaris.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Redefine
2247         to sol_gt_pch_get_address.
2248         (TRY_EMPTY_VM_SPACE): Define for all combinations of 32 and
2249         64-bit, SPARC and x86.
2250         (sol_gt_pch_get_address): New function.
2251
2252 2010-03-01  Marco Poletti  <poletti.marco@gmail.com>
2253
2254         * toplev.h (inform_n, error_n): Declare.
2255         * diagnostic.c (inform_n, error_n): New function.
2256
2257 2010-03-01  Jakub Jelinek  <jakub@redhat.com>
2258
2259         * cfgexpand.c (expand_used_vars): If an artificial non-ignored var
2260         has no rtl yet when processing local_decls, queue it and recheck
2261         if deferred stack allocation hasn't assigned it rtl.
2262
2263 2010-02-28  Kaz Kojima  <kkojima@gcc.gnu.org>
2264
2265         * config/sh/sh.c (unspec_bbr_uid): New.
2266         (gen_block_redirect): Use it instead of INSN_UID.
2267         (gen_far_branch): Likewise.
2268
2269 2010-02-28  H.J. Lu  <hongjiu.lu@intel.com>
2270
2271         * config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Make
2272         it the same as TARGET_SUBTARGET64_ISA_DEFAULT.
2273
2274 2010-02-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2275
2276         * doc/invoke.texi (Warning Options, RX Options): Fix typos.
2277         (Warning Options): -Wno-conversion-null is valid for
2278         Objective-C++ as well.
2279         * doc/tm.texi (Named Address Spaces): Likewise.
2280         * doc/plugins.texi (Plugins): Replace TABs with spaces.
2281         * doc/tree-ssa.texi (Tree SSA): Likewise.
2282
2283 2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2284
2285         PR bootstrap/43202
2286         * config.gcc: Don't enable SSE math for i[34567]86-*-darwin*
2287         by default.  Don't set the default arch for
2288         i[34567]86-*-darwin*|x86_64-*-darwin*.
2289
2290 2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2291
2292         PR bootstrap/43202
2293         * config.gcc: Enable SSE math for i[34567]86-*-darwin* by
2294         default.  Set the default 32bit/64bit archs with $with_arch
2295         instead of $arch for i[34567]86-*-*|x86_64-*-* targets.
2296
2297 2010-02-27  Richard Guenther  <rguenther@suse.de>
2298
2299         PR tree-optimization/43186
2300         * params.def (PARAM_MAX_UNROLL_ITERATIONS): New param.
2301         * doc/invoke.texi (max-completely-peel-loop-nest-depth): Document.
2302         * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Limit
2303         unroller iterations.
2304
2305 2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>
2306
2307         * config.gcc: Set the default 32bit/64bit archs if 64bit ISA is
2308         required and i[34567]86-*-* targets don't support 64bit ISA.
2309
2310 2010-02-26  Eric Botcazou  <ebotcazou@adacore.com>
2311
2312         PR ada/43096
2313         * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have
2314         the same alias set.
2315
2316 2010-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2317
2318         * config.gcc: Set the default arch at least to Prescott for
2319         i[34567]86-*-darwin* and Pentium 4 for i[34567]86-*-* targets
2320         if SSE math is enabled.
2321
2322 2010-02-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2323
2324         * diagnostic.c (diagnostic_initialize): Update.
2325         (diagnostic_report_diagnostic): Test inhibit_notes_p for
2326         informative notes.
2327         * diagnostic.h (diagnostic_context): New bool inhibit_notes_p.
2328         (diagnostic_inhibit_notes): New.
2329         * toplev.c (process_options): inhibit notes with -fcompare-debug.
2330
2331 2010-02-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2332
2333         PR c/20631
2334         * doc/cpp.texi: Use c90 instead of c89 and gnu90 instead of gnu89.
2335         * doc/standards.texi: Likewise.
2336         * doc/extend.texi: Likewise.
2337         * doc/trouble.texi: Likewise.
2338         * doc/cppopts.texi: Likewise.
2339         * doc/install.texi: Likewise.
2340         * c.opt (std=c90,std=gnu90): New options.
2341         * c-opts.c (c_common_handle_option): Handle them.
2342
2343 2010-02-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2344
2345         PR c/24577
2346         * c-decl.c (undeclared_variable): Use an informative note.
2347
2348 2010-02-26  Richard Guenther  <rguenther@suse.de>
2349
2350         PR tree-optimization/43186
2351         * gimple.h (gimple_fold): Remove.
2352         * gimple.c (gimple_fold): Remove.  Inline into single user ...
2353         * tree-cfgcleanup.c (cleanup_control_expr_graph): ... here.
2354         Try harder for conditions.
2355
2356 2010-02-26  Jakub Jelinek  <jakub@redhat.com>
2357
2358         PR debug/43190
2359         * function.c (used_types_insert): Don't skip through named pointer
2360         types.  Don't use TYPE_MAIN_VARIANT if the original type has a name
2361         and it is different from the main variant's type.
2362
2363 2010-02-26  Nick Clifton  <nickc@redhat.com>
2364
2365         * config/rx/rx.md (sminsi3): Remove bogus alternative.
2366
2367 2010-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2368
2369         * config.gcc: Support --with-fpmath=sse for x86.
2370
2371         * config/i386/ssemath.h: New.
2372
2373         * doc/install.texi (--with-fpmath=sse): Documented.
2374
2375 2010-02-26  Richard Guenther  <rguenther@suse.de>
2376
2377         PR tree-optimization/43188
2378         * tree-vect-stmts.c (get_vectype_for_scalar_type): Do not build
2379         vector types of over-aligned element type.
2380
2381 2010-02-26  Uros Bizjak  <ubizjak@gmail.com>
2382
2383         PR target/43175
2384         * config/i386/i386.c (expand_vec_perm_blend): Use correct
2385         operands in V8HImode subregs.  Fix operand order in VEC_MERGE rtx.
2386
2387 2010-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
2388
2389         * doc/invoke.texi (-fvar-tracking-assignments): Fix typo.
2390
2391 2010-02-26  Jakub Jelinek  <jakub@redhat.com>
2392
2393         * Makefile.in (var-tracking.o): Depend on $(DIAGNOSTIC_H).
2394         * var-tracking.c: Include diagnostic.h.
2395         (debug_dv): New function.
2396         (dump_var): Print DEBUG_EXPR_DECLs as D#N instead of D.-N.
2397
2398         PR debug/43160
2399         * var-tracking.c (dv_onepart_p): Return true for DEBUG_EXPR_DECLs.
2400         (add_value_chain, add_value_chains, remove_value_chain,
2401         remove_value_chains): Handle DEBUG_EXPRs.
2402         (check_changed_vars_1, check_changed_vars_2): Handle DEBUG_EXPR_DECLs.
2403
2404         PR debug/43161
2405         * regcprop.c (struct queued_debug_insn_change): New type.
2406         (struct value_data_entry): Add debug_insn_changes field.
2407         (struct value_data): Add n_debug_insn_changes field.
2408         (debug_insn_changes_pool): New variable.
2409         (free_debug_insn_changes, apply_debug_insn_changes,
2410         cprop_find_used_regs_1, cprop_find_used_regs): New functions.
2411         (kill_value_one_regno): Call free_debug_insn_changes if needed.
2412         (init_value_data): Clear debug_insn_changes and n_debug_insn_changes
2413         fields.
2414         (replace_oldest_value_reg): Don't change DEBUG_INSNs, instead queue
2415         changes for them.
2416         (copyprop_hardreg_forward_1): Don't call apply_change_group for
2417         DEBUG_INSNs.  For a real insn, if there are queued DEBUG_INSN
2418         changes, call cprop_find_used_regs via note_stores.
2419         (copyprop_hardreg_forward): When copying vd from predecessor
2420         which has any queued DEBUG_INSN changes, make sure the pointers are
2421         cleared.  At the end call df_analyze and then if there are any
2422         DEBUG_INSN changes queued at the end of some basic block for still
2423         live registers, apply them.
2424         (pass_cprop_hardreg): Set TODO_df_finish in todo_flags_finish.
2425
2426 2010-02-25  Uros Bizjak  <ubizjak@gmail.com>
2427
2428         * config.gcc (i[34567]86-*-* | x86_64-*-*): Split long line.
2429         (arm*-*-*): Ditto.
2430
2431 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
2432
2433         * config.gcc: Set arch/cpu for i[34567]86-*-*|x86_64-*-*
2434         targets.  Set the default with_cpu/with_arch from arch/cpu.
2435         Allow x86-64 and native for with_cpu/with_arch.
2436
2437 2010-02-25  Nicolas Benoit  <nbenoit@tuxfamily.org>
2438
2439         * ebitmap.c: Change calls to verify_popcount with calls to
2440         sbitmap_verify_popcount.
2441         (ebitmap_clear_bit): Fixed map->cacheindex test and
2442         map>cache update when bit clearing results in an empty
2443         element.
2444
2445 2010-02-25  Michael Meissner  <meissner@linux.vnet.ibm.com>
2446
2447         PR target/43154
2448         * config/rs6000/vector.md (VEC_64): New iterator for V2DF, V2DI.
2449         (vec_interleave_high<mode>): Rename from vec_interleave_highv2df
2450         and support both V2DF and V2DI modes.
2451         (vec_interleave_low<mode>): Rename from vec_interleave_lowv2df and
2452         support both V2DF and V2DI modes.
2453         (general): Delete trailing whitespace from a few patterns.
2454
2455         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
2456         V2DF/V2DI interleave high/low builtins.
2457
2458         * config/rs6000/rs6000-builtin.def (VSX_BUILTIN_VEC_MERGE*): Add
2459         new VSX builtins.
2460
2461         * config/rs6000/rs6000.c (bdesc_2arg): Add support for V2DF/V2DI
2462         interleave high/low functions.
2463
2464 2010-02-25  Gerald Pfeifer  <gerald@pfeifer.com>
2465
2466         * doc/extend.texi (Symbol-Renaming Pragmas): Fix spelling of
2467         #pragma extern_prefix.
2468
2469 2010-02-25  Jakub Jelinek  <jakub@redhat.com>
2470
2471         PR debug/43166
2472         * cfgexpand.c (expand_debug_expr) <case VAR_DECL>: If mode is
2473         BLKmode, assert op0 is a MEM and just adjust its mode.
2474
2475         PR debug/43165
2476         * cfgexpand.c (expand_debug_expr): Don't call simplify_gen_subreg
2477         if bitpos isn't multiple of mode's bitsize.
2478
2479 2010-02-24  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2480
2481         * c.opt (-ftemplate-depth=): New.
2482         (-ftemplate-depth-): Deprecate.
2483         * optc-gen.awk: Handle -ftemplate-depth=.
2484         * opth-gen.awk: Likewise.
2485         * c-opts.c (c_common_handle_option): Likewise.
2486         * doc/invoke.texi (-ftemplate-depth-): Replace with -ftemplate-depth=.
2487
2488 2010-02-24  Jason Merrill  <jason@redhat.com>
2489
2490         * doc/invoke.texi: Improve -Wabi and -fabi-version docs.
2491
2492 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2493
2494         * cfg.c (alloc_aux_for_block): Remove inline.
2495         (alloc_aux_for_edge): Likewise.
2496
2497 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2498
2499         * config.gcc: Fix typo in mips-sgi-irix6.[0-4]* obsoletion.
2500
2501 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2502
2503         * config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define.
2504         * config/i386/sol2-gas.h: New file.
2505         * config.gcc (i[34567]86-*-solaris2*): Use it.
2506
2507 2010-02-24  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2508
2509         PR c/43128
2510         * c-typeck.c (ep_convert_and_check): New.
2511         (build_conditional_expr): Use it.
2512         (build_binary_op): Likewise.
2513
2514 2010-02-24  Jakub Jelinek  <jakub@redhat.com>
2515
2516         * regcprop.c (copyprop_hardreg_forward_1): Don't call df_insn_rescan.
2517
2518         PR debug/43150
2519         * gimplify.c (gimplify_type_sizes): Clear DECL_IGNORED_P for VLA
2520         bounds even for -O+.
2521         * var-tracking.c (track_expr_p): If !need_rtl, don't mandate
2522         expr needs to have DECL_NAME set.
2523
2524 2010-02-24  Nick Clifton  <nickc@redhat.com>
2525
2526         * config/mep/mep.c: Include gimple.h.
2527         (mep_function_uses_sp): Delete unused function.
2528         (mep_gimplify_va_arg_expr): Change types of pre_p and post_p
2529         parameters.  Use unsigned integers to count args.  Return a
2530         NULL_RTX instead of an error_mark_node.  Toidy up formatting.
2531
2532 2010-02-23  Jakub Jelinek  <jakub@redhat.com>
2533
2534         PR target/43107
2535         * config/i386/i386.c (avx_vpermilp_parallel): Reject indexes
2536         greater or equal to nelt instead of 2 * nelt.
2537         (expand_vec_perm_1): When op0 and op1 are equal, mask indexes
2538         with nelt - 1.
2539
2540 2010-02-23  Jason Merrill  <jason@redhat.com>
2541
2542         PR debug/42800
2543         * cfgexpand.c (expand_used_vars): Keep artificial non-ignored vars
2544         in cfun->local_decls even if they have register types.
2545
2546         PR c++/42837
2547         * stor-layout.c (place_field): Don't warn about unnecessary
2548         DECL_PACKED if the type is packed.
2549
2550 2010-02-23  Jakub Jelinek  <jakub@redhat.com>
2551
2552         PR target/43139
2553         * config/i386/i386.c (ix86_delegitimize_address): Delegitimize all
2554         GOTOFF relocs, even when the base reg isn't pic pointer.
2555
2556 2010-02-23  Michael Matz  <matz@suse.de>
2557
2558         PR debug/43077
2559         * cfgexpand (expand_debug_expr): Expand TERed ssa names in place.
2560         (expand_gimple_basic_block): Generate and use debug temps if there
2561         are debug uses left after the last real use of TERed ssa names.
2562         Unlink debug immediate uses when they are expanded.
2563
2564 2010-02-23  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2565
2566         PR 43123
2567         * config/i386/i386.c (override_options): Reorganise to provide
2568         better error messages.
2569
2570 2010-02-22  Sebastian Pop  <sebastian.pop@amd.com>
2571
2572         PR middle-end/43083
2573         * graphite-scop-detection.c (create_single_exit_edge): Move
2574         the call to find_single_exit_edge to....
2575         (create_sese_edges): ...here.  Don't handle multiple edges
2576         exiting the function.
2577         (build_graphite_scops): Don't handle multiple edges
2578         exiting the function.
2579
2580 2010-02-22  Sebastian Pop  <sebastian.pop@amd.com>
2581
2582         PR middle-end/43097
2583         * sese.c (get_rename): Assert that old_name is an SSA_NAME.
2584         (rename_variables_in_stmt): Continue when the use is not an SSA_NAME.
2585
2586 2010-02-22  Sebastian Pop  <sebastian.pop@amd.com>
2587
2588         PR middle-end/43026
2589         * sese.c (expand_scalar_variables_expr): Handle COMPONENT_REF.
2590
2591 2010-02-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2592
2593         PR c++/43126
2594         * c-typeck.c (convert_arguments): Print declaration location.
2595         * c-common.c (validate_nargs): Rename as
2596         builtin_function_validate_nargs.
2597         (check_builtin_function_arguments): Update.
2598
2599 2010-02-22  Richard Guenther  <rguenther@suse.de>
2600
2601         PR lto/43045
2602         * tree-inline.c (declare_return_variable): Use the type of
2603         the call stmt lhs if available.
2604
2605 2010-02-22  Duncan Sands  <baldrick@free.fr>
2606
2607         * passes.c (register_pass): Always consider all pass lists when
2608         ref_pass_instance_number is zero.
2609
2610 2010-02-22  Richard Guenther  <rguenther@suse.de>
2611
2612         PR tree-optimization/42749
2613         * tree-tailcall.c (adjust_return_value_with_ops): Drop update
2614         parameter.  Do arithmetic in the original type.
2615         (update_accumulator_with_ops): Likewise.
2616         (adjust_accumulator_values): Adjust.
2617
2618 2010-02-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2619
2620         * config/s390/s390.md ("movqi"): Re-add the mem->mem alternative.
2621         (QI to BLKmode splitter): New splitter.
2622
2623 2010-02-22  H.J. Lu  <hongjiu.lu@intel.com>
2624
2625         * config/i386/i386.c (initial_ix86_tune_features): Turn on
2626         X86_TUNE_INTER_UNIT_MOVES for m_ATOM.
2627
2628 2010-02-22  Richard Guenther  <rguenther@suse.de>
2629
2630         * tree-vect-slp.c (vect_slp_analyze_bb): Fix typo.
2631
2632 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
2633
2634         Migrate crti, crtn, crtbegin, crtend build rules to libgcc.
2635         * config/mmix/t-mmix (EXTRA_MULTILIB_PARTS): Don't set.
2636         ($(T)crti.o, $(T)crtn.o): Remove rules.
2637
2638 2010-02-21  Tobias Burnus  <burnus@net-b.de>
2639
2640         PR fortran/35259
2641         * doc/invoke.texi (-fassociative-math): Document that this
2642         option is automatically enabled for Fortran.
2643
2644 2010-02-20  David S. Miller  <davem@davemloft.net>
2645
2646         * configure.ac: Test if linker and assembler properly support
2647         GOTDATA_OP relocations.
2648         * configure: Rebuild.
2649         * config.in: Likewise.
2650         * config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New.
2651         (movsi_lo_sum_pic): Use %gdop_*() relocs if available.
2652         (movsi_high_pic): Likewise.
2653         (movdi_lo_sum_pic): Likewise.
2654         (movdi_high_pic): Likewise.
2655         (movsi_pic_gotdata_op): New pattern.
2656         (movdi_pic_gotdata_op): Likewise.
2657         * config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2,
2658         emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load.
2659
2660 2010-02-20  Uros Bizjak  <ubizjak@gmail.com>
2661
2662         PR target/43067
2663         * config/i386/sse.md (xop_mulv2div2di3_low): Change type
2664         attribute to ssemul.
2665         (xop_mulv2div2di3_high): Ditto.
2666
2667 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2668
2669         PR c++/35669
2670         * c.opt (Wconversion-null): New option.
2671         * doc/invoke.texi (Wconversion-null): Document.
2672
2673 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2674
2675         * common.opt (Wlarger-than-): Add Undocumented.
2676
2677 2010-02-19  Mike Stump  <mikestump@comcast.net>
2678
2679         * config/t-darwin (gt-darwin.h): Remove as Makefile now handles it.
2680
2681 2010-02-19  Jason Merrill  <jason@redhat.com>
2682
2683         PR target/40332
2684         * configure.ac (gcc_cv_as_cfi_advance_working): Check 32-bit advance.
2685         * configure: Likewise.
2686
2687 2010-02-20  Alan Modra  <amodra@gmail.com>
2688
2689         PR middle-end/42344
2690         * cgraph.h (cgraph_make_decl_local): Declare.
2691         * cgraph.c (cgraph_make_decl_local): New function.
2692         (cgraph_make_node_local): Use it.
2693         * cgraphunit.c (cgraph_function_versioning): Likewise.
2694         * ipa.c (function_and_variable_visibility): Likewise.
2695
2696 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
2697
2698         PR bootstrap/43121
2699         * except.c (sjlj_emit_function_enter): Don't call
2700         add_reg_br_prob_note, instead add REG_BR_PROB note to the last insn
2701         directly.
2702         * rtl.h (add_reg_br_prob_note): Remove prototype.
2703
2704 2010-02-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2705
2706         PR 41779
2707         * c-common.c (conversion_warning): Remove widening conversions
2708         before checking the conversion of integers to reals.
2709
2710 2010-02-19  Mike Stump  <mikestump@comcast.net>
2711
2712         PR middle-end/43125
2713         * c-decl.c (merge_decls): Merge DECL_PRESERVE_P.
2714
2715         PR objc/43061
2716         * cgraphunit.c (process_function_and_variable_attributes): Check
2717         DECL_PRESERVE_P instead of looking up attribute "used".
2718         * ipa-pure-const.c (check_decl): Likewise.
2719         * ipa-reference.c (has_proper_scope_for_analysis): Likewise.
2720         * ipa-type-escape.c (has_proper_scope_for_analysis): Likewise.
2721         * config/sol2.c (solaris_insert_attributes): Set DECL_PRESERVE_P
2722         instead of attribute "used".
2723         * config/sol2-c.c (solaris_pragma_init): Likewise.
2724         (solaris_pragma_fini): Likewise.
2725
2726 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
2727
2728         * ipa-struct-reorg.c (make_field_acc_node, gen_cluster, peel_field):
2729         Use XCNEW instead of xcalloc.
2730         (add_access_to_acc_sites, create_new_var_node, add_alloc_site): Use
2731         XNEW instead of xmalloc.
2732         (get_fields): Use XNEWVEC instead of xmalloc.
2733
2734         PR debug/43084
2735         * ipa-struct-reorg.c (add_access_to_acc_sites): For debug stmts don't
2736         populate vars array.
2737         (create_new_general_access): For debug stmts just reset value.
2738         (get_stmt_accesses): For accesses within debug stmts just record them
2739         using add_access_to_acc_sites instead of preventing the peeling or
2740         counting them as accesses.
2741
2742         PR middle-end/42233
2743         * dojump.c (do_jump) <case TRUTH_NOT_EXPR>: Invert priority.
2744
2745 2010-02-19  Richard Guenther  <rguenther@suse.de>
2746
2747         PR tree-optimization/42916
2748         * tree-vect-slp.c (vect_slp_analyze_bb): Count only real
2749         instructions.
2750
2751 2010-02-19  Andreas Schwab  <schwab@linux-m68k.org>
2752
2753         * configure.ac: Replace all uses of changequote in macro arguments
2754         with proper quoting.
2755
2756 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
2757
2758         PR middle-end/42233
2759         * loop-doloop.c (add_test): Adjust do_compare_rtx_and_jump caller.
2760
2761 2010-02-19  Richard Guenther  <rguenther@suse.de>
2762
2763         PR tree-optimization/42944
2764         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Massage
2765         test for aliasing with errno.
2766
2767 2010-02-19  Jakub Jelinek  <jakub@redhat.com>
2768
2769         PR middle-end/42233
2770         * expr.h (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump,
2771         do_jump_1, do_compare_rtx_and_jump): Add PROB argument.
2772         * dojump.c: Include output.h.
2773         (inv): New inline function.
2774         (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump_1, do_jump,
2775         do_jump_by_parts_greater_rtx, do_jump_by_parts_greater,
2776         do_jump_by_parts_zero_rtx, do_jump_by_parts_equality_rtx,
2777         do_jump_by_parts_equality, do_compare_and_jump): Add PROB
2778         argument, pass it down to other calls.
2779         (do_compare_rtx_and_jump): Likewise.  If PROB is not -1,
2780         add REG_BR_PROB note to the conditional jump.
2781         * cfgexpand.c (add_reg_br_prob_note): Removed.
2782         (expand_gimple_cond): Don't call it, add the probability
2783         as last argument to jumpif_1/jumpifnot_1.
2784         * Makefile.in (dojump.o): Depend on output.h.
2785         * builtins.c (expand_errno_check): Adjust do_compare_rtx_and_jump
2786         callers.
2787         * expmed.c (emit_store_flag_force, do_cmp_and_jump): Likewise.
2788         * stmt.c (do_jump_if_equal): Likewise.
2789         * cfgrtl.c (rtl_lv_add_condition_to_bb): Likewise.
2790         * loop-unswitch.c (compare_and_jump_seq): Likewise.
2791         * config/rs6000/rs6000.c (rs6000_aix_emit_builtin_unwind_init):
2792         Likewise.
2793         * optabs.c (expand_doubleword_shift, expand_abs): Likewise.
2794         * expr.c (expand_expr_real_1): Adjust do_jump, jumpifnot and
2795         jumpifnot_1 callers.
2796         (expand_expr_real_2): Adjust jumpifnot_1 and do_compare_rtx_and_jump
2797         callers.
2798         (store_expr): Adjust jumpifnot caller.
2799         (store_constructor): Adjust jumpif caller.
2800
2801         PR middle-end/42233
2802         * gimplify.c (gimple_boolify): For __builtin_expect call
2803         gimple_boolify also on its first argument.
2804
2805 2010-02-18  Uros Bizjak  <ubizjak@gmail.com>
2806
2807         * configure.ac (gnu-unique-object): Wrap regexps using [] in
2808         changequote block.
2809         (__stack_chk_fail): Ditto.  Remove quadrigraphs.
2810         * configure: Regenerated.
2811
2812 2010-02-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2813
2814         * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call
2815         lang_hooks.types_compatible_p instead of comptypes.
2816
2817 2010-02-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
2818
2819         * config/arm/lib1funcs.asm (__prefer_thumb__): New define.
2820         (udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Use Thumb-1 variant
2821         if __prefer_thumb__ is defined.
2822
2823 2010-02-18  Martin Jambor  <mjambor@suse.cz>
2824
2825         PR tree-optimization/43066
2826         * tree-sra.c (build_ref_for_offset_1): Return false on encountering an
2827         array with zero-sized element type.
2828
2829 2010-02-18  Jakub Jelinek  <jakub@redhat.com>
2830
2831         * dwarf2out.c (add_var_loc_to_decl): Change last argument to
2832         rtx, allocate struct var_loc_node here and return it to the
2833         caller, and only if it is actually needed.
2834         (dwarf2out_var_location): Adjust add_var_loc_to_decl caller,
2835         move it earlier and return immediately if it returns NULL.
2836
2837 2010-02-17  Mikael Pettersson  <mikpe@it.uu.se>
2838
2839         * config/sparc/gas.h: New file.  Restore
2840         TARGET_ASM_NAMED_SECTION to its ELF default.
2841         * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not
2842         check !HAVE_GNU_AS.
2843         * config/sparc/sparc.c (sparc_elf_asm_named_section):
2844         Likewise.  Add ATTRIBUTE_UNUSED to prototype.
2845         * config.gcc (sparc*-*-linux*): Include sparc/gas.h
2846         after sparc/sysv4.h.
2847
2848 2010-02-17  Dave Korn  <dave.korn.cygwin@gmail.com>
2849
2850         * config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name.
2851
2852 2010-02-17  Steven Bosscher  <steven@gcc.gnu.org>
2853
2854         * gensupport.c (process_one_cond_exec): Derive name for COND_EXEC
2855         patterns from predicated pattern.
2856
2857 2010-02-17  Uros Bizjak  <ubizjak@gmail.com>
2858
2859         PR target/43103
2860         * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c
2861         for insn mnemonic suffix.
2862
2863 2010-02-17  Richard Guenther  <rguenther@suse.de>
2864
2865         * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis
2866         to loop PHI nodes.
2867
2868 2010-02-17  Jakub Jelinek  <jakub@redhat.com>
2869
2870         PR debug/42918
2871         * caller-save.c (save_call_clobbered_regs): If BB ends with
2872         a DEBUG_INSN, move any notes in between last real insn and the last
2873         DEBUG_INSN after the last DEBUG_INSN.
2874
2875 2010-02-16  Joern Rennecke  <joern.rennecke@embecosm.com>
2876
2877         * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC):
2878         Fix return type.  Fix argument type.  Explain meaning of return value.
2879
2880 2010-02-16  Richard Guenther  <rguenther@suse.de>
2881
2882         PR tree-optimization/41043
2883         * tree-vrp.c  (vrp_var_may_overflow): Only ask SCEV for real loops.
2884         (vrp_visit_assignment_or_call): Do not ask SCEV for regular
2885         statements ...
2886         (vrp_visit_phi_node): ... but only for loop PHI nodes.
2887
2888 2010-02-16  Ira Rosen <irar@il.ibm.com>
2889
2890         PR tree-optimization/43074
2891         * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New.
2892         * tree-vect-loop.c (vect_analyze_loop_operations): Add
2893         vectorizable cycles in hybrid SLP check.
2894         * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise.
2895
2896 2010-02-16  Richard Guenther  <rguenther@suse.de>
2897
2898         * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know.
2899         (true_dependence): If memrefs_conflict_p computes must-alias
2900         trust it.  Move TBAA check after offset-based disambiguation.
2901         (canon_true_dependence): Likewise.
2902
2903 2010-02-16  Alexandre Oliva  <aoliva@redhat.com>
2904
2905         * params.def (PARAM_MAX_VARTRACK_SIZE): New.
2906         * doc/invoke.texi: Document it.
2907         * var-tracking.c: Include toplev.h and params.h.
2908         (vt_find_locations): Return bool indicating success.  Compute
2909         hash sizes unconditionally.  Check new parameter, report.
2910         (variable_tracking_main_1): Check vt_find_locations results and
2911         retry.  Renamed from...
2912         (variable_tracking_main): ... this.  New wrapper to preserve
2913         flag_var_tracking_assignments.
2914         * Makefile.in (var-tracking.o): Adjust dependencies.
2915
2916 2010-02-16  Jack Howarth <howarth@bromo.med.uc.edu>
2917             Jakub Jelinek <jakub@redhat.com>
2918
2919         PR target/42854
2920         * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute
2921         if weak_import attribute is present.
2922         * config/darwin.c (machopic_select_section): Likewise.
2923
2924 2010-02-15  Joern Rennecke  <joern.rennecke@embecosm.com>
2925
2926         * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Document.
2927         (TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Likewise.
2928         (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Likewise.
2929         (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): Likewise.
2930
2931         * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Fix argument types.
2932
2933         * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION):
2934         Fix argument types.
2935
2936         * doc/tm.texi (TARGET_SCHED_DFA_NEW_CYCLE): Add argument names.
2937         Rewrite text to refer to the names.
2938
2939 2010-02-15  Sebastian Pop  <sebastian.pop@amd.com>
2940
2941         * config/i386/i386-builtin-types.def
2942         (V2DF_FTYPE_V2DF_V2DF_V2DI_INT): Declared.
2943         (V4DF_FTYPE_V4DF_V4DF_V4DI_INT): Declared.
2944         (V4SF_FTYPE_V4SF_V4SF_V4SI_INT): Declared.
2945         (V8SF_FTYPE_V8SF_V8SF_V8SI_INT): Declared.
2946         * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_VPERMIL2PD,
2947         IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, and
2948         IX86_BUILTIN_VPERMIL2PS256.
2949         (MULTI_ARG_4_DF2_DI_I): Defined.
2950         (MULTI_ARG_4_DF2_DI_I1): Defined.
2951         (MULTI_ARG_4_SF2_SI_I): Defined.
2952         (MULTI_ARG_4_SF2_SI_I1): Defined.
2953         (bdesc_multi_arg): Add __builtin_ia32_vpermil2pd,
2954         __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256, and
2955         __builtin_ia32_vpermil2ps256.
2956         (ix86_expand_multi_arg_builtin): Handle MULTI_ARG_4_DF2_DI_I,
2957         MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and
2958         MULTI_ARG_4_SF2_SI_I1.  Handle builtins with 4 arguments.
2959         (ix86_expand_args_builtin): Handle MULTI_ARG_4_DF2_DI_I,
2960         MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and
2961         MULTI_ARG_4_SF2_SI_I1.  Handle CODE_FOR_xop_vpermil2v2df3,
2962         CODE_FOR_xop_vpermil2v4sf3, CODE_FOR_xop_vpermil2v4df3, and
2963         CODE_FOR_xop_vpermil2v8sf3.
2964         * config/i386/i386.md (UNSPEC_VPERMIL2): Declared.
2965         * config/i386/sse.md (xop_vpermil2<mode>3): New insn pattern.
2966         * config/i386/xopintrin.h (_mm_permute2_pd): New.
2967         (_mm256_permute2_pd): New.
2968         (_mm_permute2_ps): New.
2969         (_mm256_permute2_ps): New.
2970
2971 2010-02-15  Nick Clifton  <nickc@redhat.com>
2972
2973         * config/h8300/h8300.c (h8300_push_pop): Use bool type for
2974         boolean parameters.  Use emit_jump_insn when emitting a pop
2975         instruction containing a return insn.
2976         (push): Use 'true' rather than '1' as second parameter to F.
2977         (h8300_expand_prologue): Likewise.
2978         Use 'true' and 'false' for boolean parameters to h8300_push_pop.
2979         (h8300_expand_epilogue): Likewise.
2980
2981 2010-02-15  Richard Guenther  <rguenther@suse.de>
2982
2983         PR middle-end/43068
2984         * cgraphunit.c (thunk_adjust): Skip adjusting by fixed_offset
2985         if that is zero.
2986
2987 2010-02-15  Nick Clifton  <nickc@redhat.com>
2988
2989         * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous
2990         delta.
2991
2992 2010-02-14  Marco Poletti  <poletti.marco@gmail.com>
2993
2994         * intl.c (fake_ngettext): New function.
2995         * intl.h (fake_ngettext): Declare.
2996         (ngettext): Define macro.
2997         * collect2.c (notice_translated): New function.
2998         (main): Use notice_translated and ngettext.
2999         * collect2.h (notice_translated): Declare.
3000
3001 2010-02-14  Steven Bosscher  <steven@gcc.gnu.org>
3002
3003         * reorg.c (delete_computation): Comment fixes.
3004         * caller-save.c (setup_save_areas): Idem.
3005         * sel-sched-dump.c (dump_lv_set): Idem.
3006         * rtl.def: Idem.
3007
3008 2010-02-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3009
3010         * config/s390/s390.c (s390_sched_init): New function.
3011         (TARGET_SCHED_INIT): Target hook defined.
3012
3013 2010-02-12  Dave Korn  <dave.korn.cygwin@gmail.com>
3014             Jack Howarth  <howarth@bromo.med.uc.edu>
3015             Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3016
3017         PR target/42982
3018         Partial revert of unintended change in fix for PR41605.
3019         * config/darwin.h: Fix typo.
3020         * config/darwin9.h: Same.
3021
3022 2010-02-11  Jakub Jelinek  <jakub@redhat.com>
3023
3024         * c-pch.c (pch_init): Clear v.
3025
3026 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
3027
3028         PR middle-end/42930
3029         * graphite-scop-detection.c (graphite_can_represent_scev): Call
3030         graphite_can_represent_init for MULT_EXPR.
3031
3032 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
3033
3034         PR middle-end/42914
3035         PR middle-end/42530
3036         * graphite-sese-to-poly.c (remove_phi): New.
3037         (translate_scalar_reduction_to_array): Call remove_phi.
3038
3039 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
3040
3041         PR middle-end/42771
3042         * graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters.
3043         * graphite-clast-to-gimple.h (gloog): Update declaration.
3044         * graphite-poly.c (new_scop): Clear POLY_SCOP_P.
3045         * graphite-poly.h (struct poly_bb): Add missing comments.
3046         (struct scop): Add poly_scop_p field.
3047         (POLY_SCOP_P): New.
3048         * graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P.
3049         * graphite.c (graphite_transform_loops): Build the polyhedral
3050         representation for each scop before code generation.
3051         * sese.c (rename_variables_in_operand): Removed.
3052         (rename_variables_in_expr): Return the renamed expression.
3053         (rename_sese_parameters): New.
3054         * sese.h (rename_sese_parameters): Declared.
3055
3056 2010-02-11  Richard Guenther  <rguenther@suse.de>
3057
3058         PR tree-optimization/42998
3059         * tree-ssa-pre.c (create_expression_by_pieces): Treat
3060         POINTER_PLUS_EXPR properly.
3061
3062 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
3063             Changpeng Fang  <changpeng.fang@amd.com>
3064
3065         PR middle-end/40886
3066         * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Decrement
3067         the cost of an IV candidate when the IV is used in a test against zero.
3068
3069         * gcc.dg/tree-ssa/ivopts-3.c: New.
3070
3071 2010-02-11  Richard Guenther  <rguenther@suse.de>
3072
3073         PR lto/41664
3074         * tree-ssa-alias.c (refs_may_alias_p_1): Canonicalize
3075         pointer-vs-decl case by swapping refs.  Handle some cases
3076         of pointer-vs-decl disambiguations more conservatively.
3077         * cfgexpand.c (gimple_expand_cfg): Set gimple_df->in_ssa_p
3078         to false after expanding.
3079
3080 2010-02-11  Richard Guenther  <rguenther@suse.de>
3081
3082         PR driver/43021
3083         * gcc.c (process_command): Handle LTO file@offset case more
3084         appropriately.
3085
3086 2010-02-11  Jakub Jelinek  <jakub@redhat.com>
3087
3088         * reload1.c (eliminate_regs_1): If insn is DEBUG_INSN, avoid any
3089         modifications outside of the DEBUG_INSN.  Accept CLOBBERs inside
3090         of DEBUG_INSNs.
3091         (eliminate_regs_in_insn): Eliminate regs even in DEBUG_INSNs.
3092
3093         * dwarf2out.c (mem_loc_descriptor) <case MEM>: Use DW_OP_deref_size
3094         if MEM's mode size isn't DWARF2_ADDR_SIZE.
3095         (mem_loc_descriptor) <do_scompare>: Allow also VOIDmode arguments.
3096         Optimize eq/ne comparisons when both arguments are known to be
3097         zero-extended.
3098         (mem_loc_descriptor) <do_ucompare>: Allow also VOIDmode arguments.
3099         Don't mask operands unnecessarily if they are known to be already
3100         zero-extended.
3101
3102 2010-02-10  Vladimir Makarov  <vmakarov@redhat.com>
3103
3104         * ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note
3105         instead of loop.
3106
3107 2010-02-10  Richard Guenther  <rguenther@suse.de>
3108
3109         PR tree-optimization/43017
3110         * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop
3111         for wrapping signed arithmetic.
3112
3113 2010-02-10  Jakub Jelinek  <jakub@redhat.com>
3114
3115         PR debug/43010
3116         * dwarf2out.c (retry_incomplete_types): Don't call gen_type_die
3117         if no debug info should be emitted for it.
3118
3119 2010-02-10  Kaz Kojima  <kkojima@gcc.gnu.org>
3120
3121         * config/sh/sh.c (find_barrier): Skip call insn with a REG_EH_REGION
3122         note when flag_exceptions is set.
3123
3124 2010-02-10  Duncan Sands  <baldrick@free.fr>
3125
3126         * Makefile.in (PLUGIN_HEADERS): Add debug.h.
3127
3128 2010-02-10  Richard Guenther  <rguenther@suse.de>
3129
3130         PR c/43007
3131         * tree.c (get_unwidened): Handle constants.
3132         * convert.c (convert_to_integer): Handle TRUNC_DIV_EXPR.
3133
3134 2010-02-10  Martin Jambor  <mjambor@suse.cz>
3135
3136         PR lto/42985
3137         * ipa-prop.c (ipa_update_after_lto_read): Count parameters and
3138         check for variable argument counts independently.
3139
3140 2010-02-10  Christian Bruel  <christian.bruel@st.com>
3141
3142         PR target/42841
3143         * config/sh/sh.c (find_barrier): Increase length for non delayed
3144         conditional branches.
3145
3146 2010-02-10  Christian Bruel  <christian.bruel@st.com>
3147
3148         * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting.
3149
3150 2010-02-10  Jakub Jelinek  <jakub@redhat.com>
3151
3152         * builtins.c (set_builtin_user_assembler_name): Also handle
3153         ffs if int is smaller than word.
3154
3155 2010-02-09  Vladimir Makarov  <vmakarov@redhat.com>
3156
3157         PR middle-end/42973
3158         * ira-conflicts.c (get_dup): Remove.
3159         (process_reg_shuffles): Add new parameter.  Use it as an
3160         additional guard for copy generation.
3161         (add_insn_allocno_copies): Rewrite.
3162
3163 2010-02-09  Alexander Monakov  <amonakov@ispras.ru>
3164
3165         * common.opt (fsched2-use-traces): Preserved for backward
3166         compatibility.
3167         * doc/invoke.texi: Remove the documentation about option
3168         -fsched2-use-traces.
3169         * sched-rgn.c (rest_of_handle_sched2): Remove usage of
3170         flag_sched2_use_traces.
3171         * opts.c (common_handle_option): Add OPT_fsched2_use_traces to
3172         the backward compatibility flag section.
3173
3174 2010-02-09  Richard Guenther  <rguenther@suse.de>
3175
3176         PR tree-optimization/43008
3177         * tree-ssa-structalias.c (handle_lhs_call): Pass in the fndecl,
3178         make HEAP variables initialized from global memory if they
3179         are not known builtin functions.
3180         (find_func_aliases): Adjust.
3181
3182 2010-02-09  Richard Guenther  <rguenther@suse.de>
3183
3184         PR tree-optimization/43000
3185         * tree-vrp.c (vrp_int_const_binop): Only handle unsigned
3186         arithmetic manually.
3187
3188 2010-02-08  Jakub Jelinek  <jakub@redhat.com>
3189
3190         PR tree-optimization/42931
3191         * tree-loop-linear.c (try_interchange_loops): Don't call
3192         double_int_mul if estimated_loop_iterations failed.
3193
3194 2010-02-08  Martin Jambor  <mjambor@suse.cz>
3195
3196         PR middle-end/42898
3197         * tree-sra.c (build_accesses_from_assign): Do not mark in
3198         should_scalarize_away_bitmap if stmt has volatile ops.
3199         (sra_modify_assign): Do not process assigns piecemeal if if stmt
3200         has volatile ops.
3201
3202 2010-02-08  Joern Rennecke  <joern.rennecke@embecosm.com>
3203
3204         * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document.
3205
3206 2010-02-07  Adam Nemet  <adambnmet@gmail.com>
3207
3208         * config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment
3209         before the pattern.
3210
3211 2010-02-07  Andrew Pinski  <pinskia@gmail.com>
3212
3213         PR middle-end/42946
3214         * df-core.c (df_finish_pass): Change type of saved_flags to int.
3215
3216 2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>
3217
3218         PR middle-end/42988
3219         * graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND
3220         to unknown_dependence.
3221         (graphite_legal_transform_dr): Handle the unknown_dependence.
3222         (graphite_carried_dependence_level_k): Same.
3223
3224 2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>
3225
3226         * ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/.
3227
3228 2010-02-07  Richard Guenther  <rguenther@suse.de>
3229
3230         PR middle-end/42991
3231         * expr.c (get_inner_reference): Always initialize *pbitsize.
3232
3233 2010-02-07  Richard Guenther  <rguenther@suse.de>
3234
3235         PR middle-end/42956
3236         * gimplify.c (gimple_fold_indirect_ref): Avoid generating
3237         new ARRAY_REFs on variable size element or minimal index arrays.
3238         Complete.
3239         * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use
3240         gimple_fold_indirect_ref.
3241
3242 2010-02-06  Richard Earnshaw  <rearnsha@arm.com>
3243
3244         PR target/42957
3245         * arm.c (arm_override_options): Just return if the user has specified
3246         an invalid fpu name.
3247
3248 2010-02-03  Jason Merrill  <jason@redhat.com>
3249
3250         PR c++/42870
3251         * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call
3252         i386_pe_maybe_record_exported_symbol.
3253
3254 2010-02-05  Steve Ellcey  <sje@cup.hp.com>
3255
3256         PR target/42924
3257         * config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
3258         (pa_delegitimize_address): New function.
3259
3260 2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>
3261
3262         * config/i386/msformat-c.c (ms_printf_length_specs): Set the
3263         scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
3264
3265 2010-02-05  Richard Guenther  <rguenther@suse.de>
3266
3267         PR lto/42762
3268         * lto-streamer-in.c (get_resolution): Deal with references
3269         to undefined functions.
3270
3271 2010-02-05  Richard Guenther  <rguenther@suse.de>
3272
3273         * tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions.
3274         (fold_const_aggregate_ref): Likewise.
3275         (ccp_fold_stmt): Substitute loads.
3276         (maybe_fold_reference): Verify types before substituting.
3277         Unshare properly.
3278         (fold_gimple_assign): Unshare properly.
3279         (fold_stmt_1): Insert conversion if necessary before replacing the RHS.
3280
3281 2010-02-05  Nathan Froyd  <froydnj@codesourcery.com>
3282
3283         * config/rs6000/rs6000.c (rs6000_override_options): Invert check
3284         for rs6000_gen_cell_microcode.
3285
3286 2010-02-04  Richard Guenther  <rguenther@suse.de>
3287
3288         PR rtl-optimization/42952
3289         * dse.c (const_or_frame_p): Remove MEM handling.
3290
3291 2010-02-04  Nick Clifton  <nickc@redhat.com>
3292
3293         * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
3294         (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
3295         (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM.
3296         (mn10300_asm_output_mi_thunk): New function.
3297         (mn10300_can_output_mu_thunk): New function.
3298         * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define.
3299         (FUNCTION_ARG_REGNO_P): Fix comment.  Accept d0 and d1.
3300         (FUNCTION_ARG): Delete incorrect comment.
3301
3302 2010-02-03  Jason Merrill  <jason@redhat.com>
3303
3304         PR c++/40138
3305         * fold-const.c (operand_equal_p): Handle erroneous types.
3306
3307 2010-02-03  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
3308
3309         * config/h8300/h8300.md (can_delay): Fix attibute condition.
3310
3311 2010-02-03  Vladimir Makarov  <vmakarov@redhat.com>
3312
3313         PR rtl-optimization/42941
3314         * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead
3315         of xmalloc.
3316
3317 2010-02-03  Jason Merrill  <jason@redhat.com>
3318
3319         PR c++/35652
3320         * builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics.
3321
3322 2010-02-03  Alexandre Oliva  <aoliva@redhat.com>
3323
3324         PR debug/42896
3325         * cselib.h (struct cselib_val_struct): Add uid.  Rename value to hash.
3326         (cselib_reset_table): Renamed from...
3327         (cselib_reset_table_with_next_value): ... this.
3328         (cselib_get_next_uid): Renamed from...
3329         (cselib_get_next_unknown_value): ... this.
3330         * cselib.c (next_uid): Renamed from...
3331         (next_unknown_value): ... this.
3332         (cselib_clear_table): Adjust.
3333         (cselib_reset_table): Adjust.  Renamed from...
3334         (cselib_reset_table_with_next_value): ... this.
3335         (cselib_get_next_uid): Adjust.  Renamed from...
3336         (cselib_get_next_unknown_value): ... this.
3337         (get_value_hash): Use hash.
3338         (cselib_hash_rtx): Likewise.
3339         (new_cselib_val): Adjust.  Set and dump uid.
3340         (cselib_lookup_mem): Pass next_uid as hash.
3341         (cselib_subst_to_values): Likewise.
3342         (cselib_log_lookup): Dump uid.
3343         (cselib_lookup): Pass next_uid as hash.  Adjust.
3344         (cselib_process_insn): Adjust.
3345         (cselib_init): Initialize next_uid.
3346         (cselib_finish): Adjust.
3347         (dump_cselib_table): Likewise.
3348         * dse.c (canon_address): Dump value uid.
3349         * print-rtl.c (print_rtx): Print value uid.
3350         * var-tracking.c (VARIABLE_HASH_VAL): Dropped.
3351         (dvuid): New type.
3352         (dv_uid): New function, sort of renamed from...
3353         (dv_htab_hash): ... this, reimplemented in terms of it and...
3354         (dv_uid2hash): ... this.  New.
3355         (variable_htab_eq): Drop excess assertions.
3356         (tie_break_pointers): Removed.
3357         (canon_value_cmp): Compare uids.
3358         (variable_post_merge_New_vals): Print uids.
3359         (vt_add_function_parameters): Adjust.
3360         (vt_initialize): Reset table.  Adjust.
3361
3362 2010-02-03  Richard Guenther  <rguenther@suse.de>
3363
3364         PR tree-optimization/42944
3365         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc.
3366         (call_may_clobber_ref_p_1): Likewise.  Properly handle
3367         malloc and calloc clobbering errno.
3368
3369 2010-02-03  Steven Bosscher  <steven@gcc.gnu.org>
3370
3371         * doc/invoke.texi: Fix name of sched1 dump.
3372
3373         * opts.c (decode_options): Set flag_tree_switch_conversion
3374         only conditionally on optimize >= 2.
3375
3376         * gcse.c: Assorted comment fixes in pass description.
3377
3378 2010-02-03  Anthony Green  <green@moxielogic.com>
3379
3380         * config/moxie/moxie.c (moxie_asm_trampoline_template): Introduce
3381         nop padding in order to maintain alignment of storage location of
3382         target function address.
3383         (moxie_trampoline_init): Store target function address at newly
3384         aligned location.
3385         * config/moxie/moxie.h (TRAMPOLINE_ALIGNMENT): Increase alignment
3386         to 32.
3387         (TRAMPOLINE_SIZE): Increase size by 2 bytes for alignment padding.
3388
3389 2010-02-03  Richard Guenther  <rguenther@suse.de>
3390
3391         PR middle-end/42927
3392         * tree-cfg.c (verify_gimple_assign_binary): Fix shift verification.
3393
3394 2010-02-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3395
3396         * config.gcc: Reenable check for obsolete targets.
3397         Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
3398         mips-sgi-irix6.[0-4]*.
3399
3400 2010-02-02  Nick Clifton  <nickc@redhat.com>
3401
3402         * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
3403         constant size of 4 as being the same as 0.
3404         * doc/invoke.texi (RX Options): Document that -mmax-constant-size
3405         can take values in the range 0..4.
3406
3407 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3408
3409         PR java/41991
3410         * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
3411         as _darwin10_Unwind_FindEnclosingFunction().
3412         * libgcc-libsystem.ver: New.
3413
3414 2010-02-01  Vladimir Makarov  <vmakarov@redhat.com>
3415
3416         PR target/41399
3417         * sched-deps.c (sched_analyze_insn): Ignore fixed registers for
3418         implicitly set registers.
3419
3420 2010-02-01  Richard Earnshaw  <rearnsha@arm.com>
3421
3422         * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
3423         (arm_override_options): Allow automatic selection of the thread
3424         pointer register if thumb2.
3425         (legitimize_pic_address): Improve code sequences for Thumb2.
3426         (arm_call_tls_get_addr): Likewise.
3427         (legitimize_tls_address): Likewise.
3428         * arm.md (pic_load_addr_arm): Delete.  Replace with ...
3429         (pic_load_addr_32bit): ... this.  New named pattern.
3430         * thumb2.md (pic_load_addr_thumb2): Delete.
3431         (pic_load_dot_plus_four): Delete.
3432         (tls_load_dot_plus_four): New named pattern.
3433
3434 2010-02-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3435
3436         PR libgomp/29986
3437         * doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry.
3438         Document fix for TLS bug.
3439
3440 2010-01-31  Richard Guenther  <rguenther@suse.de>
3441
3442         * tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be
3443         conservatively correct.
3444
3445 2010-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3446
3447         PR target/42850
3448         Revert:
3449         2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3450
3451         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
3452
3453 2010-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3454
3455         * doc/install.texi: Update recommended GMP/MPFR/MPC versions.
3456
3457 2010-01-31  Kai Tietz  <kai.tietz@onevision.com>
3458
3459         * config.gcc: Adjust order of makefile fragments for mingw targets.
3460
3461 2010-01-31  Richard Guenther  <rguenther@suse.de>
3462
3463         PR middle-end/42898
3464         * gimplify.c (gimplify_init_constructor): For volatile LHS
3465         initialize a temporary.
3466
3467 2010-01-31  Matthias Klose  <doko@ubuntu.com>
3468
3469         * configure.ac: Fix __stack_chk_fail check for cross builds configured
3470         --with-headers
3471         * configure: Regenerate.
3472
3473 2010-01-29  Eric Botcazou  <ebotcazou@adacore.com>
3474
3475         * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have
3476         the same alias set and their sizes different constantness.
3477         (aliasing_component_refs_p): Revert 2009-10-24 change.
3478
3479 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3480
3481         * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl
3482         unused.
3483
3484 2010-01-29  Richard Guenther  <rguenther@suse.de>
3485
3486         * tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute.
3487         Assert we successfully updated the call.
3488
3489 2010-01-29  Jakub Jelinek  <jakub@redhat.com>
3490
3491         PR rtl-optimization/42889
3492         * df.h (df_set_bb_dirty_nonlr): New prototype.
3493         * df-core.c (df_set_bb_dirty_nonlr): New function.
3494         * df-scan.c (df_insn_rescan): Call it instead of
3495         df_set_bb_dirty for DEBUG_INSNs.
3496
3497 2010-01-29  Richard Guenther  <rguenther@suse.de>
3498
3499         PR middle-end/37448
3500         * ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid
3501         quadratic behavior in most cases.
3502
3503 2010-01-28  Uros Bizjak  <ubizjak@gmail.com>
3504
3505         PR target/42891
3506         * config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode
3507         in the call to gen_x86_movsicc_0_m1.
3508
3509 2010-01-28  Richard Guenther  <rguenther@suse.de>
3510
3511         PR tree-optimization/42871
3512         * tree-ssa-pre.c (phi_translate_set): Make sure to retain leaders.
3513
3514 2010-01-28  Richard Guenther  <rguenther@suse.de>
3515
3516         * tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate
3517         into call arguments.
3518
3519 2010-01-28  Richard Guenther  <rguenther@suse.de>
3520
3521         PR middle-end/42883
3522         * tree-cfgcleanup.c (remove_forwarder_block): Do not remove
3523         the forwarder if the destination is an EH landing pad.
3524
3525 2010-01-28  Razya Ladelsky  <razya@il.ibm.com>
3526
3527         * tree-parloops.c (transform_to_exit_first_loop): Update the basic
3528         block list passed to gimple_duplicate_sese_tail.
3529         (parallelize_loops): Avoid parallelization when the function
3530         has_nonlocal_label.
3531         Avoid parallelization when the preheader is IRREDUCIBLE.
3532         Try to optimize when estimated_loop_iterations_int is unresolved.
3533         Add the loop's location to the dump file.
3534         * tree-cfg.c (add_phi_args_after_redirect): Remove.
3535         (gimple_duplicate_sese_tail): Remove the check for the latch.
3536         Redirect nexits to the exit block.
3537         Remove handling of the incoming edges to the latch.
3538         Redirect the backedge from the copied latch to the exit bb.
3539
3540 2010-01-28  Michael Matz  <matz@suse.de>
3541
3542         PR target/42881
3543         * config/i386/i386.c (ix86_expand_vector_init_duplicate):
3544         Wrap force_reg into a sequence, emit it before user.
3545
3546 2010-01-28  Stephen Thomas  <stephen.thomas@arm.com>
3547
3548         * config/arm/arm.md (bswapsi2): Add support for bswapsi2.
3549         (arm_rev): New.
3550         (arm_legacy_rev): Likewise.
3551         (thumb_legacy_rev): Likewise.
3552
3553 2010-01-27  Jakub Jelinek  <jakub@redhat.com>
3554
3555         * dwarf2out.c (mem_loc_descriptor): Remove special casing of
3556         CONSTANT_POOL_ADDRESS_P SYMBOL_REFs.  If for MEM recursive call
3557         on MEM's address failed, try avoid_constant_pool_reference and
3558         recurse if it returned something different.
3559         (loc_descriptor): If for MEM mem_loc_descriptor failed on the
3560         address, try avoid_constant_pool_reference and recurse if it
3561         returned something different.
3562         (dw_loc_list_1): If for MEM mem_loc_descriptor failed on the
3563         address and avoid_constant_pool_reference returned something
3564         different, don't set have_address.
3565
3566 2010-01-27  Alexandre Oliva  <aoliva@redhat.com>
3567
3568         PR debug/42861
3569         * var-tracking.c (val_store): Add modified argument, obey it.
3570         Adjust callers.
3571         (count_uses): Move down logging of main.
3572         (compute_bb_dataflow): Use val_store for MO_VAL_USEs that
3573         don't need resolution.
3574         (emit_notes_in_bb): Likewise.
3575
3576 2010-01-27  Richard Guenther  <rguenther@suse.de>
3577
3578         PR middle-end/42878
3579         * tree-inline.c (remap_decl): Delay remapping of SSA name
3580         default definitions until we need them.
3581
3582 2010-01-27  Jakub Jelinek  <jakub@redhat.com>
3583
3584         * config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
3585         (rs6000_delegitimize_address): New function.
3586
3587         * config/s390/s390.c (s390_delegitimize_address): Call
3588         delegitimize_mem_from_attrs.
3589
3590         PR middle-end/42874
3591         * tree-inline.c (cannot_copy_type_1): Removed.
3592         (copy_forbidden): Don't forbid copying of functions containing
3593         records/unions with variable length fields.
3594
3595 2010-01-27  Christian Bruel  <christian.bruel@st.com>
3596
3597         Revert:
3598         PR target/42841
3599         * config/sh/sh.c (find_barrier): Increase length for non delayed
3600         conditional branches.
3601
3602 2010-01-27  Matthias Klose  <doko@ubuntu.com>
3603
3604         * configure.ac (gnu-unique-object): Fix ldd version check.
3605         * configure: Regenerate.
3606
3607 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3608
3609         * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
3610         HAVE_GNU_AS value.
3611         * config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
3612         Test for HAVE_GNU_AS value.
3613
3614 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3615
3616         * config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint.
3617         * config/mips/iris.h (INT8_TYPE, INT16_TYPE, INT32_TYPE,
3618         INT64_TYPE): Define.
3619         (UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define.
3620         (INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE,
3621         INT_LEAST64_TYPE): Define.
3622         (UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE,
3623         UINT_LEAST64_TYPE): Define.
3624         (INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE)
3625         INT_FAST64_TYPE): Define.
3626         (UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE,
3627         UINT_FAST64_TYPE): Define.
3628         (INTMAX_TYPE, UINTMAX_TYPE): Define.
3629         (INTPTR_TYPE, UINTPTR_TYPE): Define.
3630         (SIG_ATOMIC_TYPE): Define.
3631
3632 2010-01-26  Richard Guenther  <rguenther@suse.de>
3633
3634         * df-scan.c (df_scan_set_bb_info): Remove assert.
3635         (df_insn_rescan_debug_internal): Merge asserts.
3636         (df_install_ref): Likewise.
3637         (df_mark_reg): Use bitmap_set_range.
3638         (df_hard_reg_used_p): Remove assert.
3639         (df_hard_reg_used_count): Likewise.
3640
3641 2010-01-26  Richard Guenther  <rguenther@suse.de>
3642
3643         PR rtl-optimization/42685
3644         * web.c (web_main): Ignore DEBUG_INSNs.
3645
3646 2010-01-26  Joern Rennecke  <amylaar@spamcop.net>
3647
3648         * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments.
3649
3650         (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter.
3651         Fix types of fndecl and arglist parameters.
3652
3653 2010-01-26  Richard Guenther  <rguenther@suse.de>
3654
3655         PR middle-end/42806
3656         * tree-eh.c (unsplit_eh): Skip debug insns.
3657
3658 2010-01-26  Richard Guenther  <rguenther@suse.de>
3659
3660         PR tree-optimization/42250
3661         * ipa-type-escape.c (type_escape_execute): Do not analyze clones.
3662
3663 2010-01-26  Jakub Jelinek  <jakub@redhat.com>
3664
3665         PR fortran/42866
3666         * omp-low.c (expand_omp_sections): Only use single_pred if
3667         l2_bb is single_pred_p.
3668
3669 2010-01-25  Christian Bruel  <christian.bruel@st.com>
3670
3671         PR target/42841
3672         * config/sh/sh.c (find_barrier): Increase length for non delayed
3673         conditional branches.
3674         (sh_insn_length_adjustment): Use JUMP_TABLE_DATA_P.
3675
3676 2010-01-24  David S. Miller  <davem@davemloft.net>
3677
3678         * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
3679         define if not using GAS.
3680         * config/sparc/sparc.c (sparc_elf_asm_named_section):
3681         Likewise.  Delete SECTION_MERGE code, which is only applicable
3682         when using GAS.
3683
3684 2010-01-24  Mark Mitchell  <mark@codesourcery.com>
3685
3686         PR c++/42748
3687         * config/arm/arm.c (arm_mangle_type): Do not warn about changes to
3688         mangling of va_list in system headers.
3689
3690 2010-01-23  Toon Moene  <toon@moene.org>
3691
3692         * tree-predcom.c (combine_chains): Return NULL, not false.
3693
3694 2010-01-23  Joern Rennecke  <amylaar@spamcop.net>
3695
3696         * tree-loop-distribution.c (distribute_loop): Fix declaration and
3697         initialization of variable res to agree with return type.
3698
3699 2010-01-22  Steve Ellcey  <sje@cup.hp.com>
3700
3701         * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency.
3702         * tree-sra.c: Add include of expr.h.
3703
3704 2010-01-22  Jakub Jelinek  <jakub@redhat.com>
3705
3706         * tree-into-ssa.c (maybe_register_def): If stmt ends the bb,
3707         insert the debug stmt on the single non-EH edge from the stmt.
3708
3709 2010-01-22  Richard Henderson  <rth@redhat.com>
3710
3711         PR tree-opt/42833
3712         * tree-sra.c (sra_modify_assign): Delay re-gimplification of
3713         the RHS until after generate_subtree_copies has insertted its
3714         code before the current statement.
3715
3716 2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
3717
3718         * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
3719
3720         * gcc-plugin.h (plugin_init): Use "C" likage for c++.
3721
3722 2010-01-21  Martin Jambor  <mjambor@suse.cz>
3723
3724         PR tree-optimization/42585
3725         * tree-sra.c (struct access): New field grp_total_scalarization.
3726         (dump_access): Dump the new field.
3727         (should_scalarize_away_bitmap): New variable.
3728         (cannot_scalarize_away_bitmap): Likewise.
3729         (sra_initialize): Allocate new bitmaps.
3730         (sra_deinitialize): Free new bitmaps.
3731         (create_access_1): New function.
3732         (create_access): Parts moved to create_access_1.
3733         (type_consists_of_records_p): New function.
3734         (completely_scalarize_record): Likewise.
3735         (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap.
3736         (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap.
3737         (sort_and_splice_var_accesses): Hint groups with a total_scalarization
3738         access.
3739         (analyze_all_variable_accesses): Completely scalarize small eligible
3740         records.
3741
3742 2010-01-21  Martin Jambor  <mjambor@suse.cz>
3743
3744         * tree-sra.c (build_ref_for_offset_1): Allow for zero size fields.
3745
3746 2010-01-21  Andrew Haley  <aph@redhat.com>
3747
3748         * gcc.c (process_command): Move lang_specific_driver before
3749         setting cc_libexec_prefix.
3750
3751 2010-01-21  Richard Guenther  <rguenther@suse.de>
3752
3753         PR middle-end/19988
3754         * fold-const.c (negate_expr_p): Pretend only negative
3755         real constants are easily negatable.
3756
3757 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
3758             Jason Merrill  <jason@redhat.com>
3759
3760         * tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
3761         (TYPE_TRANSPARENT_AGGR): this, for union and record.
3762         * calls.c (initialize argument_information): Handle it.
3763         * c-common.c (handle_transparent_union_attribute): Use new name.
3764         * c-decl.c (finish_struct): Ditto.
3765         * c-typeck.c (type_lists_compatible_p): Ditto.
3766         (convert_for_assignment): Use new name and also handle record.
3767         * function.c (aggregate_value_p): Handle it.
3768         (pass_by_reference): Ditto.
3769         (assign_parm_data_types): Ditto.
3770         * print-tree.c (print_node): Ditto.
3771         * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto.
3772         * lto-streamer-out.c (pack_ts_type_value_fields): Ditto.
3773         * tree.c (first_field): New fn.
3774
3775 2010-01-21  Dave Korn  <dave.korn.cygwin@gmail.com>
3776
3777         PR target/42818
3778         * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers,
3779         even when linking statically, for now.
3780
3781 2010-01-20  Alexandre Oliva  <aoliva@redhat.com>
3782
3783         PR debug/42715
3784         * var-tracking.c (use_type): Choose MO_VAL_SET for REGs set
3785         without a cselib val.
3786         (count_uses): Accept MO_VAL_SET with no val on stores.
3787         (add_stores): Likewise.
3788
3789 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
3790
3791         * var-tracking.c (check_value_val): Add a compile time assertion.
3792         (dv_is_decl_p): Simplify.
3793         (dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use
3794         gcc_assert if ENABLE_CHECKING.
3795
3796 2010-01-20  Alexandre Oliva  <aoliva@redhat.com>
3797
3798         PR debug/42782
3799         * var-tracking.c: Include tree-flow.h.
3800         (mem_dies_at_call): New.
3801         (dataflow_set_preserve_mem_locs): Use it.
3802         (dataflow_set_remove_mem_locs): Likewise.
3803         (dump_var): Renamed from dump_variable.  Adjust all callers.
3804         (dump_var_slot): Renamed from dump_variable_slot.  Likewise.
3805         * Makefile.in (var-tracking.o): Adjust deps.
3806
3807 2010-01-20  Joern Rennecke  <amylaar@spamcop.net>
3808
3809         * doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list.
3810
3811 2010-01-20  Richard Guenther  <rguenther@suse.de>
3812
3813         PR tree-optimization/42717
3814         * tree-ssa-dce.c (get_live_post_dom): Remove.
3815         (forward_edge_to_pdom): Take an arbitrary edge to copy
3816         degenerate PHI args from.
3817         (remove_dead_stmt): Use the first post-dominator even if it
3818         does not contain live statements as redirection destination.
3819
3820 2010-01-20  Richard Guenther  <rguenther@suse.de>
3821
3822         * tree-inline.c (estimate_num_insns): Handle EH builtins.
3823
3824 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
3825
3826         * sel-sched.c (create_speculation_check): Remove set but not used
3827         variable twin.
3828         (try_transformation_cache): Remove set but not used variable ds.
3829         (calculate_privileged_insns): Remove set but not used variables
3830         cur_insn and min_spec_insn.
3831         (find_best_expr): Remove set but not used variable avail_n.
3832         * tree-predcom.c (base_names_in_chain_on): Remove set but not used
3833         variable e.
3834         * cgraphunit.c (assemble_thunk): Remove set but not used variable
3835         false_label.
3836         * haifa-sched.c (remove_notes): Remove set but not used variable prev.
3837         * graphite-clast-to-gimple.c (gloog): Remove set but not used variable
3838         new_scop_exit_edge.
3839
3840 2010-01-20  Felyza Wishbringer  <fwishbringer@gmail.com>
3841
3842         PR bootstrap/42786
3843         * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
3844         cpu types.  Add support for *-sse3 cpu types.
3845         (x86_64-*-*): Ditto.
3846
3847 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
3848
3849         PR middle-end/42803
3850         * varasm.c (narrowing_initializer_constant_valid_p): Add CACHE
3851         argument, call initializer_constant_valid_p_1 instead of
3852         initializer_constant_valid_p, pass CACHE to it, return NULL
3853         immediately if first call returns NULL.
3854         (initializer_constant_valid_p_1): New function.
3855         (initializer_constant_valid_p): Use it.
3856
3857 2010-01-20  Thomas Quinot  <quinot@adacore.com>
3858
3859         * tree.def (PLACEHOLDER_EXPR): Fix comment.
3860
3861 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
3862
3863         * dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead
3864         of MOD, handle MOD using DW_OP_{over,over,div,mul,minus}.
3865         (loc_list_from_tree): Don't handle unsigned division.  Handle
3866         signed modulo using DW_OP_{over,over,div,mul,minus}.
3867         * unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned
3868         modulo instead of signed.
3869
3870 2010-01-20  DJ Delorie  <dj@redhat.com>
3871
3872         * config/h8300/h8300.c (F): Add "in_epilogue" flag.
3873         (Fpa): Pass it
3874         (h8300_emit_stack_adjustment): Propogate it.
3875         (push): Pass it.
3876         (h8300_expand_prologue): Likewise.
3877         (h8300_expand_epilogue): Likewise.
3878
3879 2010-01-19  Michael Matz  <matz@suse.de>
3880
3881         PR tree-optimization/41783
3882         * tree-data-ref.c (toplevel): Include flags.h.
3883         (dump_data_dependence_relation):  Also dump the inputs if the
3884         result will be unknown.
3885         (split_constant_offset_1): Look through some conversions.
3886         * tree-predcom.c (determine_roots_comp): Restart a new chain if
3887         the offset from last element is too large.
3888         (ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF.
3889         (reassociate_to_the_same_stmt): Handle vector registers.
3890         * tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations
3891         (e.g. conversions).
3892         * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add
3893         wide_prolog_niters argument, emit widening instructions.
3894         (vect_do_peeling_for_alignment): Adjust caller, use widened
3895         variant of the iteration cound.
3896         * Makefile.in (tree-data-ref.o): Add $(FLAGS_H).
3897
3898 2010-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3899
3900         PR target/38697
3901         * config/arm/neon-testgen.m (emit_automatics): New parameter
3902         features. Adjust for Fixed_return_reg feature.
3903         (test_intrinsic): Call emit_automatics with new feature.
3904         * config/arm/neon.ml: Update copyright years.
3905         (features): New Fixed_return_reg feature.
3906         (ops): Update feature for Vget_low.
3907
3908 2010-01-19  Jakub Jelinek  <jakub@redhat.com>
3909
3910         PR tree-optimization/42719
3911         * tree-outof-ssa.c (trivially_conflicts_p): Don't consider debug
3912         stmt uses.
3913
3914         PR debug/42728
3915         * fwprop.c (all_uses_available_at): Return false if def_set dest
3916         is a REG that is used in def_insn.
3917
3918 2010-01-19  Joern Rennecke  <amylaar@spamcop.net>
3919
3920         * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names.
3921
3922         (TARGET_CC_MODES_COMPATIBLE): Put return value in braces.
3923         Add argument names.
3924
3925         (TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language.
3926
3927         * target.h (struct gcc_target) <secondary_reload>: Change type
3928         of last argument to secondary_reload_info *.
3929
3930 2010-01-18  Uros Bizjak  <ubizjak@gmail.com>
3931
3932         PR target/42774
3933         * config/alpha/predicates.md (aligned_memory_operand): Return 0 for
3934         memory references with unaligned offsets.  Remove CQImode handling.
3935         (unaligned_memory_operand): Return 1 for memory references with
3936         unaligned offsets.  Remove CQImode handling.
3937
3938 2010-01-18  Richard Guenther  <rguenther@suse.de>
3939
3940         PR middle-end/39954
3941         * cfgexpand.c (expand_call_stmt): TER pointer arguments in
3942         builtin calls.
3943
3944 2010-01-18  Richard Guenther  <rguenther@suse.de>
3945
3946         PR tree-optimization/42781
3947         * tree-ssa-structalias.c (find_what_var_points_to): Skip
3948         restrict processing only if the original variable was artificial.
3949
3950 2010-01-18  Joern Rennecke  <amylaar@spamcop.net>
3951
3952         * doc/tm.texi (TARGET_ASM_FUNCTION_EPILOGUE): Update text on where to
3953         find number of popped argument bytes.
3954
3955         (TARGET_INVALID_WITHIN_DOLOOP): Put return value in braces.
3956         Fix the text that describes the return value for invalid insns.
3957
3958         (TARGET_SCHED_NEEDS_BLOCK_P): Fix return type.  Fix argument list.
3959
3960         (TARGET_SCHED_IS_COSTLY_DEPENDENCE): Fix argument types.
3961         Clarify what 'cost of the -dependence' is.  Fix quoting.
3962
3963         * toplev.c (default_get_pch_validity): Rename argument to "sz".
3964         * doc/tm.texi (TARGET_GET_PCH_VALIDITY): Likewise.
3965
3966 2010-01-17  Jakub Jelinek  <jakub@redhat.com>
3967
3968         * dwarf2out.c (mem_loc_descriptor): Don't ICE on
3969         {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.
3970
3971 2010-01-17  Richard Guenther  <rguenther@suse.de>
3972
3973         PR middle-end/42248
3974         * function.c (split_complex_args): Take a VEC to modify.
3975         (assign_parms_augmented_arg_list): Build a VEC instead of
3976         a chain of PARM_DECLs.
3977         (assign_parms_unsplit_complex): Take a VEC of arguments.
3978         Do not fixup unmodified parms.
3979         (assign_parms): Deal with the VEC.
3980         (gimplify_parameters): Likewise.
3981
3982 2010-01-17  Richard Guenther  <rguenther@suse.de>
3983
3984         * tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI
3985         node existence check.
3986         * tree-vect-loop.c (vect_analyze_loop_form): Likewise.
3987         * tree-cfgcleanup.c (merge_phi_nodes): Likewise.
3988         * tree-ssa-dce.c (forward_edge_to_pdom): Likewise.
3989         * tree-cfg.c (gimple_execute_on_growing_pred): Likewise.
3990         (gimple_execute_on_growing_pred): Likewise.
3991
3992 2010-01-17  Richard Guenther  <rguenther@suse.de>
3993
3994         PR tree-optimization/42773
3995         * tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence.
3996         (compute_antic_aux): Likewise.
3997         (compute_partial_antic_aux): Likewise.
3998
3999 2010-01-17  Jie Zhang  <jie.zhang@analog.com>
4000
4001         PR debug/42767
4002         * dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
4003         and US_TRUNCATE.
4004
4005 2010-01-17  Joern Rennecke  <amylaar@spamcop.net>
4006
4007         * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
4008         appearance.
4009
4010         (TARGET_LEGITIMATE_ADDRESS_P): Add return type.
4011         Fix markup for strict argument.
4012
4013         (TARGET_SCHED_REORDER2): Fix argument types.
4014
4015         (TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
4016         (TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.
4017
4018         (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
4019         (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.
4020
4021         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
4022         Add argument name.
4023
4024         (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
4025         (TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
4026         (TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
4027         (TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
4028         (TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.
4029
4030         (TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.
4031
4032         (TARGET_SCHED_GEN_SPEC_CHECK): Fix name.
4033
4034         (TARGET_ASM_RELOC_RW_MASK): Add return type.
4035         (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.
4036
4037         (TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.
4038
4039         (TARGET_ASM_FILE_START): Put @findex before paragraph start.
4040         Use prototype.
4041
4042         (TARGET_ASM_NAMED_SECTION): Fix argument list.
4043
4044         (TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
4045         (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.
4046
4047         (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.
4048
4049         (TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.
4050
4051         (TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
4052         referring to it.  Fix language.
4053
4054         (TARGET_HAVE_CTORS_DTORS): Use @deftypevr.
4055
4056         (TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.
4057
4058         (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.
4059
4060         (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.
4061
4062         (TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
4063         '@var{stream}.  Remove stray 'and'.
4064
4065         (TARGET_ARM_EABI_UNWINDER): Use @deftypevr.
4066
4067         (TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.
4068
4069         (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.
4070
4071         (TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was
4072         misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.
4073
4074         (TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
4075         Fix description of return value.
4076         Rename argument "sz" to "len."
4077
4078         (TARGET_CXX_GUARD_MASK_BIT): Add missing article.
4079         Clarify meaning of 'true' return value.
4080
4081         (TARGET_SHIFT_TRUNCATION_MASK): Fix return type.
4082
4083         (TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
4084         rep_mode versus mode_rep.
4085
4086         (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.
4087
4088         (TARGET_BUILTIN_DECL): Fix name.
4089
4090         (TARGET_COMMUTATIVE_P): Fix type of first argument.