OSDN Git Service

Fix Neon Scheduler ocaml description.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2010-01-12  Julian Brown  <julian@codesourcery.com>
2
3         * config/arm/neon-schedgen.ml (Utils): Don't try to
4         open missing module.
5         (find_with_result): New.
6
7 2010-01-12  Jakub Jelinek  <jakub@redhat.com>
8
9         PR debug/42662
10         * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
11         sharing when canonicalizing ({lt,ge}u (plus a b) b).
12
13         PR tree-optimization/42645
14         * tree-inline.c (processing_debug_stmt): Move earlier.  Make static.
15         (remap_ssa_name): If processing_debug_stmt and name wasn't found in
16         decl_map, set processing_debug_stmt to -1 and return name without
17         any remapping.
18
19 2010-01-11  Dave Korn  <dave.korn.cygwin@gmail.com>
20
21         * doc/install.texi (Specific#x-x-cygwin): Document minimum required
22         binutils version, and reword target configuration description.
23
24 2010-01-11  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
25
26         * config/avr/avr.h (LINKER_NAME): Remove. 
27
28 2010-01-11  Janis Johnson  <janis187@us.ibm.com>
29
30         PR target/42416
31         * config/rs6000/rs6000.c (rs6000_override_options): On targets
32         that support VSX, warn for -mno-altivec if vsx is not disabled,
33         and disable vsx.
34
35 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
36             Shujing Zhao  <pearly.zhao@oracle.com>
37         
38         PR translation/42469
39         * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
40         fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
41         character between option name and help text.
42         * c.opt (imultilib): Likewise.
43
44 2010-01-10  Rafael Avila de Espindola  <espindola@google.com>
45
46         * lto-streamer-out.c (output_unreferenced_globals): Output static
47         variables.
48
49 2010-01-10  Steven Bosscher  <steven@gcc.gnu.org>
50
51         PR rtl-optimization/42621
52         * bb-reorder.c (gate_duplicated_computed_gotos): Only run if not
53         optimizing for size.
54         (duplicate_computed_gotos): Remove now-redundant check.
55
56 2010-01-10  Steve Ellcey  <sje@cup.hp.com>
57
58         PR target/37454
59         * configure.ac: Save and restore LDFLAGS and LIBS
60         * configure: Regenerate.
61
62 2010-01-10  Richard Guenther  <rguenther@suse.de>
63
64         PR middle-end/42667
65         * builtins.c (fold_builtin_strlen): Add type argument and
66         convert the resulting length to it.
67         (fold_builtin_1): Adjust.
68
69 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
70
71         * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
72         sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
73         1 insn.
74         (num_insns_constant_wide): Adjust for that change.
75
76 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
77
78         PR debug/42631
79         * web.c (union_defs): Add used argument, to combine uses of
80         uninitialized regs.
81         (entry_register): Adjust type and tests of used argument.
82         (web_main): Widen used for new use.  Pass it to union_defs.
83         * df.h (union_defs): Adjust prototype.
84
85 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
86
87         PR debug/42630
88         * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
89         uses in new incoming argument.  Free body.
90         (reset_debug_uses_in_loop): New.
91         (analyze_insn_to_expand_var): Call the latter if the former found
92         anything.  Fix whitespace.  Reject invalid dest overlaps before
93         going through all insns in the loop.
94
95 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
96
97         PR debug/42629
98         * haifa-sched.c (dying_use_p): Debug insns don't count.
99
100 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
101
102         PR middle-end/42363
103         * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
104         * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
105         (verify_gimple_call): Reject LHS in noreturn calls.
106
107 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
108
109         PR debug/42604
110         PR debug/42395
111         * tree-vect-loop-manip.c (adjust_info): New type.
112         (adjust_vec): New pointer to vector.
113         (adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
114         (adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
115         (slpeel_update_phis_for_duplicate_loop): Use them.
116         (slpeel_update_phi_nodes_for_guard1): Likewise.
117         (slpeel_update_phi_nodes_for_guard2): Likewise.
118         (slpeel_tree_peel_loop_to_edge): Likewise.
119         (vect_update_ivs_after_vectorizer): Likewise.
120
121 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
122
123         * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
124         (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
125
126 2010-01-09  Alexandre Oliva  <aoliva@redhat.com>
127
128         * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
129         bogus uninitialized warning.
130
131 2010-01-09  Richard Guenther  <rguenther@suse.de>
132
133         PR middle-end/42512
134         * tree-scalar-evolution.c (interpret_loop_phi): Make sure
135         the evolution is compatible with the initial condition.
136
137 2010-01-09  Jakub Jelinek  <jakub@redhat.com>
138
139         * gcc.c (process_command): Update copyright notice dates.
140         * gcov.c (print_version): Likewise.
141         * gcov-dump.c (print_version): Likewise.
142         * mips-tfile.c (main): Likewise.
143         * mips-tdump.c (main): Likewise.
144
145 2010-01-08  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
146
147         PR target/41885
148         * config/avr/avr.md (rotlqi3): Add CONST_INT_P check.
149         (rotlhi3): Delete.
150         (rotlhi3_8): Delete.
151         (rotlsi3): Delete.
152         (rotlsi3_8): Delete.
153         (rotlsi3_16): Delete.
154         (rotlsi3_24): Delete.
155         (rotl<mode>3): New.
156         (*rotw<mode>3): New.
157         (*rotb<mode>3): New.
158         * config/avr/avr.c (avr_rotate_bytes): New function.
159         * config/avr/avr-proto.h (avr_rotate_bytes): New function. 
160
161 2010-01-08  Steve Ellcey  <sje@cup.hp.com>
162
163         PR target/37454
164         * configure.ac: Modify -rdynamic check.
165         * configure: Regenerate.
166
167 2010-01-08  DJ Delorie  <dj@redhat.com>
168
169         * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
170         register popping order.
171
172 2010-01-08  Richard Guenther  <rguenther@suse.de>
173
174         PR lto/42528
175         * c.opt (fsigned-char): Also let LTO handle this option.
176         (funsigned-char): Likewise.
177
178 2010-01-07  Richard Guenther  <rguenther@suse.de>
179
180         * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING.
181         (gimple_op): Likewise.
182         (gimple_op_ptr): Likewise.
183         (gimple_assign_set_lhs): Remove gcc_assert.
184         (gimple_assign_set_rhs1): Likewise.
185         (gimple_assign_set_rhs2): Likewise.
186         (gimple_call_set_lhs): Likewise.
187         (gimple_call_set_fn): Likewise.
188         (gimple_call_set_fndecl): Likewise.
189         (gimple_call_fndecl): Likewise.
190         (gimple_call_return_type): Likewise.
191         (gimple_call_set_chain): Likewise.
192         (gimple_call_num_args): Likewise.
193         (gimple_call_set_arg): Likewise.
194         (gimple_cond_set_code): Likewise.
195         (gimple_cond_set_lhs): Likewise.
196         (gimple_cond_set_rhs): Likewise.
197         (gimple_cond_set_true_label): Likewise.
198         (gimple_cond_set_false_label): Likewise.
199         (gimple_label_set_label): Likewise.
200         (gimple_goto_set_dest): Likewise.
201         (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING.
202         (gimple_debug_bind_get_value): Likewise.
203         (gimple_debug_bind_get_value_ptr): Likewise.
204         (gimple_debug_bind_set_var): Likewise.
205         (gimple_debug_bind_set_value): Likewise.
206         (gimple_debug_bind_reset_value): Likewise.
207         (gimple_debug_bind_has_value_p): Likewise.
208         (gimple_return_retval_ptr): Remove gcc_assert.
209         (gimple_return_retval): Likewise.
210         (gimple_return_set_retval): Likewise.
211         * tree-flow.h (struct gimple_df): Remove nonlocal_all member.
212         (safe_referenced_var_iterator): Remove.
213         (FOR_EACH_REFERENCED_VAR_SAFE): Likewise.
214         * tree-flow-inline.h (gimple_nonlocal_all): Remove.
215         (fill_referenced_var_vec): Remove.
216         (first_readonly_imm_use): Remove redundant gcc_assert.
217         (phi_arg_index_from_use): Combine gcc_asserts.
218         (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING.
219         (first_imm_use_stmt): Remove redundant gcc_assert.
220         * tree-cfg.c (verify_gimple_call): Verify function and chain
221         operands.  Verify arguments.
222         (verify_types_in_gimple_stmt): Verify condition code and labels.
223
224 2010-01-07  Richard Guenther  <rguenther@suse.de>
225
226         PR tree-optimization/42641
227         * sese.c (rename_map_elt_info): Use the SSA name version, do
228         not hash pointers.
229
230 2010-01-07  Jakub Jelinek  <jakub@redhat.com>
231
232         PR tree-optimization/42625
233         * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
234         TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
235         aliases.
236
237 2010-01-07  Duncan Sands  <baldrick@free.fr>
238
239         * Makefile.in (PLUGIN_HEADERS): Add version.h.
240
241 2010-01-07  Uros Bizjak  <ubizjak@gmail.com>
242
243         PR target/42511
244         * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
245         note itself is not function_invariant_p.
246
247 2009-01-07  Steven Bosscher  <steven@gcc.gnu.org>
248
249         * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
250         Do not add the DF_NOTE problem.
251         * store-motion.c (execute_rtl_store_motion): Likewise.
252
253 2010-01-07  Martin Jambor  <mjambor@suse.cz>
254
255         PR tree-optimization/42157
256         * tree-sra.c (compare_access_positions): Stabilize sort if both
257         accesses have integer types, return zero immediately if they are the
258         same.
259
260 2010-01-06  Richard Henderson  <rth@redhat.com>
261
262         PR middle-end/41883
263         * haifa-sched.c (add_to_note_list): Merge into ...
264         (concat_note_lists): ... here, and ...
265         (unlink_other_notes, rm_other_notes): Merge into...
266         (remove_notes): ... here.  Create REG_SAVE_NOTEs for
267         NOTE_INSN_EPILOGUE_BEG.  
268
269 2010-01-06  Richard Guenther  <rguenther@suse.de>
270
271         * ipa-inline.c (cgraph_decide_inlining_incrementally): Do
272         not inline regular functions into always-inline functions.
273
274 2010-01-06  Nick Clifton  <nickc@redhat.com>
275
276         * config/rx/rx.h (enum rx_cpu_type): Add RX200.
277         (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
278         used together.
279         (OVERRIDE_OPTIONS): Delete.
280         (OPTIMIZATION_OPTIONS): Define.
281         (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
282         * config/rx/rx.c (rx_handle_option): Issue an error message if
283         -mcpu=rx200 and -fpu are used together.
284         (rx_set_optimization_options): New function.  Issue an error
285         message if an optimization attribute attempts to reset the FPU/
286         math optimization pairing.
287         * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
288         * config/rx/rx.opt: Set the default to 32-bit doubles.
289         * config/rx/t-rx: Add multilibs for -nofpu option.
290         * doc/invoke.texi: Update documentation of RX options.
291
292 2010-01-06  Richard Guenther  <rguenther@suse.de>
293
294         * tree-ssa-pre.c (name_to_id): New global.
295         (alloc_expression_id): Simplify SSA name handling.
296         (lookup_expression_id): Likewise.
297         (init_pre): Zero name_to_id.
298         (fini_pre): Free it.
299
300 2010-01-06  Uros Bizjak  <ubizjak@gmail.com>
301
302         * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
303
304 2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>
305
306         PR target/42542
307         * config/i386/sse.md (smaxv2di3): New.
308         (umaxv2di3): Likewise.
309         (sminv2di3): Likewise.
310         (uminv2di3): Likewise.
311
312 2010-01-05  Eric Botcazou  <ebotcazou@adacore.com>
313
314         PR target/42564
315         * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
316         * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
317         (legitimize_tls_address): Likewise.
318         (sparc_tls_referenced_p): Likewise.
319         * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
320         and adjust calls to legitimize_pic_address.
321         (legitimate_constant_p) Use sparc_tls_referenced_p.
322         (legitimate_pic_operand_p): Likewise.
323         (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
324         (sparc_tls_symbol_ref_1): Delete.
325         (sparc_tls_referenced_p): Make static, recognize specific patterns.
326         (legitimize_tls_address): Make static, handle CONST patterns.
327         (legitimize_pic_address): Make static, remove unused parameter and
328         adjust recursive calls.
329         (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
330         and adjust call to legitimize_pic_address.
331         (sparc_output_mi_thunk): Likewise.
332
333 2010-01-05  Paolo Bonzini  <bonzini@gnu.rg>
334             H.J. Lu  <hongjiu.lu@intel.com>
335
336         PR target/42542
337         * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
338         for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
339         operands to make them signed.
340
341         Revert:
342         2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
343
344         PR target/42542
345         * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
346         GTU to GT for V4SI and V2DI.
347
348         * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
349         (umin<mode>3): Removed.
350         (uminv8hi3): New.
351         (uminv4si3): Likewise.
352
353 2010-01-05  Martin Jambor  <mjambor@suse.cz>
354
355         PR tree-optimization/42462
356         * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
357         current_function_decl to helper functions and macros.
358
359 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
360
361         PR bootstrap/41771
362         * flags.h: Don't include real.h.
363         (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
364         HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
365         * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
366         HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
367         * dominance.c: Update copyright.
368         * gimple.c (walk_gimple_op): Remove inline.
369         * tree-ssa-reassoc.c: Include real.h.
370         * Makefile.in (FLAGS_H): Remove $(REAL_H).
371         (tree-ssa-reassoc.o): Depend on $(REAL_H).
372
373 2010-01-05  Nick Clifton  <nickc@redhat.com>
374
375         * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
376         register to push into the stack frame when the accumulator has to
377         be saved during interrupts.
378
379 2010-01-05  Eric Fisher  <joefoxreal@gmail.com>
380
381         * doc/invoke.texi: Remove the documentation about option
382         -Wunreachable-code.
383         * common.opt (Wunreachable-code):  Preserved for backward
384         compatibility.
385         * tree-cfg.c: Remove the implementation of -Wunreachable-code.
386         * opts.c (common_handle_option): Add OPT_Wunreachable_code to
387         the backward compatibility flag section.
388
389 2010-01-05  Richard Guenther  <rguenther@suse.de>
390
391         * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
392
393 2010-01-05  Jakub Jelinek  <jakub@redhat.com>
394
395         PR other/42611
396         * cfgexpand.c (expand_one_var): Diagnose too large variables.
397
398         PR tree-optimization/42508
399         * tree-sra.c (convert_callers): Check for recursive call
400         by comparing cgraph nodes instead of decls.
401         (modify_function): Call ipa_modify_formal_parameters also
402         on all same_body aliases.
403
404         * cgraphunit.c (cgraph_materialize_all_clones): Compare
405         cgraph nodes when checking for same_body aliases.
406
407 2010-01-05  Richard Guenther  <rguenther@suse.de>
408
409         * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
410         allocation and lookup.
411         (get_or_alloc_expr_for_constant): Likewise.
412         (phi_translate): Sink allocation.
413
414 2010-01-04  Richard Guenther  <rguenther@suse.de>
415
416         * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
417         a new entry only if needed.
418         * tree-ssa-dom.c (lookup_avail_expr): Likewise.
419         * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
420         hashtable lookup.
421         * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
422         the result array.
423         (phi_translate): Handle CONSTANTs early.
424
425 2010-01-04  Martin Jambor  <mjambor@suse.cz>
426
427         PR tree-optimization/42398
428         * tree-sra.c (struct access): Removed flag grp_different_types.
429         (dump_access): Do not dump the removed flag.
430         (sort_and_splice_var_accesses): Do not set the removed flag.
431         (sra_modify_expr): Check for type compatibility directly.
432
433 2010-01-04  Martin Jambor  <mjambor@suse.cz>
434
435         PR tree-optimization/42366
436         * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
437         edges with variable number of parameters.
438         * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
439         flag instead of asserting it.
440         (ipa_read_node_info): Read uses_analysis_done flag.
441
442 2010-01-04  Richard Guenther  <rguenther@suse.de>
443
444         * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
445         iterative_hash_* as intended.
446         (vn_reference_compute_hash): Likewise.  Simplify hashing
447         SSA names.
448         (vn_reference_lookup_2): Likewise.
449         (vn_nary_op_compute_hash): Likewise.
450         (vn_phi_compute_hash): Likewise.
451         (expressions_equal_p): Remove strange code.
452         * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
453         (pre_expr_hash): Likewise.  Simplify hashing SSA names.
454         (bitmap_insert_into_set_1): Take value-id as parameter.
455         (add_to_value): Pass it.
456         (bitmap_insert_into_set): Likewise.
457         (bitmap_value_insert_into_set): Likewise.  Remove redundant check.
458
459 2010-01-04  Jakub Jelinek  <jakub@redhat.com>
460
461         PR driver/42442
462         * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
463         (do_self_spec): For switches with SWITCH_IGNORE set set also
464         SWITCH_IGNORE_PERMANENTLY.
465         (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
466         of SWITCH_IGNORE.
467
468 2010-01-04  Rafael Avila de Espindola  <espindola@google.com>
469
470         * lto-streamer-out.c (output_unreferenced_globals): Output the full
471         tree of an unreferenced global var.
472
473 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
474
475         PR target/42542
476         * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
477         GTU to GT for V4SI and V2DI.
478
479         * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
480         (umin<mode>3): Removed.
481         (uminv8hi3): New.
482         (uminv4si3): Likewise.
483
484 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
485
486         PR lto/42581
487         * collect2.c (main): Turn on trace in collect2 if -v is passed
488         to gcc with LTO.
489
490 2010-01-03  Jerry Quinn  <jlquinn@optonline.net>
491
492         * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
493         description of expression operand.
494
495 2010-01-03  Andrew Jenner  <andrew@codesourcery.com>
496
497         * configure.ac: Add install-html to target_list for Make-hooks.
498         * configure: Regenerate.
499         * fortran/Make-lang.in (F95_HTMLFILES): New.
500         (fortran.html): Use it.
501         (fortran.install-html): New.
502         * Makefile.in (install-html): Add lang.install-html.
503         * java/Make-lang.in (JAVA_HTMLFILES): New.
504         (java.html): Use it.
505         (java.install-html): New.
506         * objc/Make-lang.in (objc.install-html): New.
507         * objcp/Make-lang.in (obj-c++.install-html): New.
508         * cp/Make-lang.in (c++.install-html): New.
509         * ada/gcc-interface/Make-lang.in (ada.install-html): New.
510         * lto/Make-lang.in (lto.install-html): New.
511
512 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
513
514         PR lto/42520
515         * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
516
517 2009-01-03  Steven Bosscher  <steven@gcc.gnu.org>
518
519         PR rtl-optimization/41862
520         * store-motion.c (store_killed_in_insn, compute_store_table,
521         remove_reachable_equiv_notes, replace_store_insn,
522         build_store_vectors): Ignore all DEBUG_INSNs.
523
524 2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
525
526         PR lto/41564
527         * common.opt: Add dumpdir.
528
529         * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
530         isn't specified.
531         (option_map): Add --dumpdir.
532
533         * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
534
535         * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
536
537         * opts.c (decode_options): Try dump_dir_name first if
538         dump_base_name isn't an absolute path.
539         (common_handle_option): Handle OPT_dumpdir.
540
541         * toplev.c (dump_dir_name): New.
542         (print_switch_values): Also ignore -dumpdir.
543
544         * toplev.h (dump_dir_name): New.
545
546 2010-01-03  Richard Guenther  <rguenther@suse.de>
547
548         PR tree-optimization/42589
549         * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
550         double-word expansion of bswap32.
551
552 2010-01-03  Steven Bosscher  <steven@gcc.gnu.org>
553
554         * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
555         with BLOCK_FOR_INSN.
556         * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
557         * ifcvt.c (noce_get_alt_condition, noce_try_abs,
558         noce_process_if_block): Likewise.
559         * gcse.c (compute_local_properties, insert_expr_in_table,
560         insert_set_in_table, canon_list_insert, find_avail_set,
561         pre_insert_copy_insn): Likewise.
562
563         * basic-block.h (BLOCK_NUM): Move from here...
564         * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
565
566 2010-01-03  Richard Guenther  <rguenther@suse.de>
567
568         PR tree-optimization/42438
569         * tree-ssa-pre.c (struct bb_bitmap_sets): Add
570         contains_may_not_return_call flag.
571         (BB_MAY_NOTRETURN): New.
572         (valid_in_sets): Trapping nary operations are not valid
573         in blocks that may not return.
574         (insert_into_preds_of_block): Remove check for trapping
575         expressions.
576         (compute_avail): Compute also BB_MAY_NOTRETURN.
577
578 2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
579
580         * doc/invoke.texi: Add 2010 to copyright years.
581
582 2010-01-03  Eric Botcazou  <ebotcazou@adacore.com>
583
584         * config/sparc/sparc.c: Fix formatting nits.
585
586 2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
587             Alexander Monakov  <amonakov@ispras.ru>
588
589         * doc/invoke.texi (Optimize Options): Reword introduction a bit.
590
591 2010-01-02  Richard Guenther  <rguenther@suse.de>
592
593         PR middle-end/42577
594         * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
595         (simplify_switch_using_ranges): Mark to be removed edges
596         as non-executable.
597
598 2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
599
600         * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
601
602         * collect2.c (scan_libraries): Add missing argument in call to
603         scan_prog_file.
604
605 2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
606
607         PR target/42448
608         * config/alpha/predicates.md (aligned_memory_operand): Return false
609         for CQImode.
610         (unaligned_memory_operand): Return true for CQImode.
611         * config/alpha/alpha.c (get_aligned_mem): Assert that location
612         doesn not cross aligned SImode word boundary.
613
614 2010-01-02  Anatoly Sokolov  <aesok@post.ru>
615
616         * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
617         Remove.
618         * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
619         avr_change_section, avr_reg_class_from_letter) : Remove declaration.
620
621 2010-01-02  Richard Guenther  <rguenther@suse.de>
622
623         PR lto/41597
624         * toplev.c (compile_file): Emit LTO marker properly.  Change
625         it to __gnu_lto_v1.
626         * collect2.c (scan_prog_file): Adjust for changed LTO marker.
627
628 2010-01-01  Richard Guenther  <rguenther@suse.de>
629
630         PR debug/42455
631         * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
632
633 2010-01-01  Richard Guenther  <rguenther@suse.de>
634
635         PR c/42570
636         * c-decl.c (grokdeclarator): For zero-size arrays force
637         structural equality checks as layout_type does.
638
639 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
640
641         * builtins.c: Update copyright to 2010.
642
643 2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
644
645         PR lto/42531
646         * lto-streamer-out.c (produce_asm): Revert the last change.
647         (copy_function): Likewise.
648
649         * lto-streamer.c (lto_get_section_name): Skip any leading
650         asterisk in name.
651
652 2010-01-01  Richard Guenther  <rguenther@suse.de>
653
654         PR middle-end/42559
655         * builtins.c (get_object_alignment): Do not use DECL_ALIGN
656         for LABEL_DECLs.
657
658 \f
659 Copyright (C) 2010 Free Software Foundation, Inc.
660
661 Copying and distribution of this file, with or without modification,
662 are permitted in any medium without royalty provided the copyright
663 notice and this notice are preserved.