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