OSDN Git Service

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