OSDN Git Service

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