OSDN Git Service

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