1 2010-01-09 Jakub Jelinek <jakub@redhat.com>
3 * gcc.c (process_command): Update copyright notice dates.
4 * gcov.c (print_version): Likewise.
5 * gcov-dump.c (print_version): Likewise.
6 * mips-tfile.c (main): Likewise.
7 * mips-tdump.c (main): Likewise.
9 2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
12 * avr.md (rotlqi3): Add CONST_INT_P check.
22 * avr.c (avr_rotate_bytes): New function.
23 * avr-proto.h (avr_rotate_bytes): New function.
25 2010-01-08 Steve Ellcey <sje@cup.hp.com>
28 * configure.ac: Modify -rdynamic check.
29 * configure: Regenerate.
31 2010-01-08 DJ Delorie <dj@redhat.com>
33 * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
34 register popping order.
36 2010-01-08 Richard Guenther <rguenther@suse.de>
39 * c.opt (fsigned-char): Also let LTO handle this option.
40 (funsigned-char): Likewise.
42 2010-01-07 Richard Guenther <rguenther@suse.de>
44 * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING.
45 (gimple_op): Likewise.
46 (gimple_op_ptr): Likewise.
47 (gimple_assign_set_lhs): Remove gcc_assert.
48 (gimple_assign_set_rhs1): Likewise.
49 (gimple_assign_set_rhs2): Likewise.
50 (gimple_call_set_lhs): Likewise.
51 (gimple_call_set_fn): Likewise.
52 (gimple_call_set_fndecl): Likewise.
53 (gimple_call_fndecl): Likewise.
54 (gimple_call_return_type): Likewise.
55 (gimple_call_set_chain): Likewise.
56 (gimple_call_num_args): Likewise.
57 (gimple_call_set_arg): Likewise.
58 (gimple_cond_set_code): Likewise.
59 (gimple_cond_set_lhs): Likewise.
60 (gimple_cond_set_rhs): Likewise.
61 (gimple_cond_set_true_label): Likewise.
62 (gimple_cond_set_false_label): Likewise.
63 (gimple_label_set_label): Likewise.
64 (gimple_goto_set_dest): Likewise.
65 (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING.
66 (gimple_debug_bind_get_value): Likewise.
67 (gimple_debug_bind_get_value_ptr): Likewise.
68 (gimple_debug_bind_set_var): Likewise.
69 (gimple_debug_bind_set_value): Likewise.
70 (gimple_debug_bind_reset_value): Likewise.
71 (gimple_debug_bind_has_value_p): Likewise.
72 (gimple_return_retval_ptr): Remove gcc_assert.
73 (gimple_return_retval): Likewise.
74 (gimple_return_set_retval): Likewise.
75 * tree-flow.h (struct gimple_df): Remove nonlocal_all member.
76 (safe_referenced_var_iterator): Remove.
77 (FOR_EACH_REFERENCED_VAR_SAFE): Likewise.
78 * tree-flow-inline.h (gimple_nonlocal_all): Remove.
79 (fill_referenced_var_vec): Remove.
80 (first_readonly_imm_use): Remove redundant gcc_assert.
81 (phi_arg_index_from_use): Combine gcc_asserts.
82 (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING.
83 (first_imm_use_stmt): Remove redundant gcc_assert.
84 * tree-cfg.c (verify_gimple_call): Verify function and chain
85 operands. Verify arguments.
86 (verify_types_in_gimple_stmt): Verify condition code and labels.
88 2010-01-07 Richard Guenther <rguenther@suse.de>
90 PR tree-optimization/42641
91 * sese.c (rename_map_elt_info): Use the SSA name version, do
94 2010-01-07 Jakub Jelinek <jakub@redhat.com>
96 PR tree-optimization/42625
97 * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
98 TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
101 2010-01-07 Duncan Sands <baldrick@free.fr>
103 * Makefile.in (PLUGIN_HEADERS): Add version.h.
105 2010-01-07 Uros Bizjak <ubizjak@gmail.com>
108 * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
109 note itself is not function_invariant_p.
111 2009-01-07 Steven Bosscher <steven@gcc.gnu.org>
113 * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
114 Do not add the DF_NOTE problem.
115 * store-motion.c (execute_rtl_store_motion): Likewise.
117 2010-01-07 Martin Jambor <mjambor@suse.cz>
119 PR tree-optimization/42157
120 * tree-sra.c (compare_access_positions): Stabilize sort if both
121 accesses have integer types, return zero immediately if they are the
124 2010-01-06 Richard Henderson <rth@redhat.com>
127 * haifa-sched.c (add_to_note_list): Merge into ...
128 (concat_note_lists): ... here, and ...
129 (unlink_other_notes, rm_other_notes): Merge into...
130 (remove_notes): ... here. Create REG_SAVE_NOTEs for
131 NOTE_INSN_EPILOGUE_BEG.
133 2010-01-06 Richard Guenther <rguenther@suse.de>
135 * ipa-inline.c (cgraph_decide_inlining_incrementally): Do
136 not inline regular functions into always-inline functions.
138 2010-01-06 Nick Clifton <nickc@redhat.com>
140 * config/rx/rx.h (enum rx_cpu_type): Add RX200.
141 (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
143 (OVERRIDE_OPTIONS): Delete.
144 (OPTIMIZATION_OPTIONS): Define.
145 (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
146 * config/rx/rx.c (rx_handle_option): Issue an error message if
147 -mcpu=rx200 and -fpu are used together.
148 (rx_set_optimization_options): New function. Issue an error
149 message if an optimization attribute attempts to reset the FPU/
150 math optimization pairing.
151 * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
152 * config/rx/rx.opt: Set the default to 32-bit doubles.
153 * config/rx/t-rx: Add multilibs for -nofpu option.
154 * doc/invoke.texi: Update documentation of RX options.
156 2010-01-06 Richard Guenther <rguenther@suse.de>
158 * tree-ssa-pre.c (name_to_id): New global.
159 (alloc_expression_id): Simplify SSA name handling.
160 (lookup_expression_id): Likewise.
161 (init_pre): Zero name_to_id.
164 2010-01-06 Uros Bizjak <ubizjak@gmail.com>
166 * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
168 2010-01-05 H.J. Lu <hongjiu.lu@intel.com>
171 * config/i386/sse.md (smaxv2di3): New.
172 (umaxv2di3): Likewise.
173 (sminv2di3): Likewise.
174 (uminv2di3): Likewise.
176 2010-01-05 Eric Botcazou <ebotcazou@adacore.com>
179 * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
180 * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
181 (legitimize_tls_address): Likewise.
182 (sparc_tls_referenced_p): Likewise.
183 * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
184 and adjust calls to legitimize_pic_address.
185 (legitimate_constant_p) Use sparc_tls_referenced_p.
186 (legitimate_pic_operand_p): Likewise.
187 (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
188 (sparc_tls_symbol_ref_1): Delete.
189 (sparc_tls_referenced_p): Make static, recognize specific patterns.
190 (legitimize_tls_address): Make static, handle CONST patterns.
191 (legitimize_pic_address): Make static, remove unused parameter and
192 adjust recursive calls.
193 (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
194 and adjust call to legitimize_pic_address.
195 (sparc_output_mi_thunk): Likewise.
197 2010-01-05 Paolo Bonzini <bonzini@gnu.rg>
198 H.J. Lu <hongjiu.lu@intel.com>
201 * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
202 for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
203 operands to make them signed.
206 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
209 * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
210 GTU to GT for V4SI and V2DI.
212 * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
213 (umin<mode>3): Removed.
215 (uminv4si3): Likewise.
217 2010-01-05 Martin Jambor <mjambor@suse.cz>
219 PR tree-optimization/42462
220 * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
221 current_function_decl to helper functions and macros.
223 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
226 * flags.h: Don't include real.h.
227 (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
228 HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
229 * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
230 HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
231 * dominance.c: Update copyright.
232 * gimple.c (walk_gimple_op): Remove inline.
233 * tree-ssa-reassoc.c: Include real.h.
234 * Makefile.in (FLAGS_H): Remove $(REAL_H).
235 (tree-ssa-reassoc.o): Depend on $(REAL_H).
237 2010-01-05 Nick Clifton <nickc@redhat.com>
239 * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
240 register to push into the stack frame when the accumulator has to
241 be saved during interrupts.
243 2010-01-05 Eric Fisher <joefoxreal@gmail.com>
245 * doc/invoke.texi: Remove the documentation about option
247 * common.opt (Wunreachable-code): Preserved for backward
249 * tree-cfg.c: Remove the implementation of -Wunreachable-code.
250 * opts.c (common_handle_option): Add OPT_Wunreachable_code to
251 the backward compatibility flag section.
253 2010-01-05 Richard Guenther <rguenther@suse.de>
255 * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
257 2010-01-05 Jakub Jelinek <jakub@redhat.com>
260 * cfgexpand.c (expand_one_var): Diagnose too large variables.
262 PR tree-optimization/42508
263 * tree-sra.c (convert_callers): Check for recursive call
264 by comparing cgraph nodes instead of decls.
265 (modify_function): Call ipa_modify_formal_parameters also
266 on all same_body aliases.
268 * cgraphunit.c (cgraph_materialize_all_clones): Compare
269 cgraph nodes when checking for same_body aliases.
271 2010-01-05 Richard Guenther <rguenther@suse.de>
273 * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
274 allocation and lookup.
275 (get_or_alloc_expr_for_constant): Likewise.
276 (phi_translate): Sink allocation.
278 2010-01-04 Richard Guenther <rguenther@suse.de>
280 * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
281 a new entry only if needed.
282 * tree-ssa-dom.c (lookup_avail_expr): Likewise.
283 * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
285 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
287 (phi_translate): Handle CONSTANTs early.
289 2010-01-04 Martin Jambor <mjambor@suse.cz>
291 PR tree-optimization/42398
292 * tree-sra.c (struct access): Removed flag grp_different_types.
293 (dump_access): Do not dump the removed flag.
294 (sort_and_splice_var_accesses): Do not set the removed flag.
295 (sra_modify_expr): Check for type compatibility directly.
297 2010-01-04 Martin Jambor <mjambor@suse.cz>
299 PR tree-optimization/42366
300 * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
301 edges with variable number of parameters.
302 * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
303 flag instead of asserting it.
304 (ipa_read_node_info): Read uses_analysis_done flag.
306 2010-01-04 Richard Guenther <rguenther@suse.de>
308 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
309 iterative_hash_* as intended.
310 (vn_reference_compute_hash): Likewise. Simplify hashing
312 (vn_reference_lookup_2): Likewise.
313 (vn_nary_op_compute_hash): Likewise.
314 (vn_phi_compute_hash): Likewise.
315 (expressions_equal_p): Remove strange code.
316 * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
317 (pre_expr_hash): Likewise. Simplify hashing SSA names.
318 (bitmap_insert_into_set_1): Take value-id as parameter.
319 (add_to_value): Pass it.
320 (bitmap_insert_into_set): Likewise.
321 (bitmap_value_insert_into_set): Likewise. Remove redundant check.
323 2010-01-04 Jakub Jelinek <jakub@redhat.com>
326 * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
327 (do_self_spec): For switches with SWITCH_IGNORE set set also
328 SWITCH_IGNORE_PERMANENTLY.
329 (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
332 2010-01-04 Rafael Avila de Espindola <espindola@google.com>
334 * lto-streamer-out.c (output_unreferenced_globals): Output the full
335 tree of an unreferenced global var.
337 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
340 * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
341 GTU to GT for V4SI and V2DI.
343 * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
344 (umin<mode>3): Removed.
346 (uminv4si3): Likewise.
348 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
351 * collect2.c (main): Turn on trace in collect2 if -v is passed
354 2010-01-03 Jerry Quinn <jlquinn@optonline.net>
356 * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update
357 description of expression operand.
359 2010-01-03 Andrew Jenner <andrew@codesourcery.com>
361 * configure.ac: Add install-html to target_list for Make-hooks.
362 * configure: Regenerate.
363 * fortran/Make-lang.in (F95_HTMLFILES): New.
364 (fortran.html): Use it.
365 (fortran.install-html): New.
366 * Makefile.in (install-html): Add lang.install-html.
367 * java/Make-lang.in (JAVA_HTMLFILES): New.
369 (java.install-html): New.
370 * objc/Make-lang.in (objc.install-html): New.
371 * objcp/Make-lang.in (obj-c++.install-html): New.
372 * cp/Make-lang.in (c++.install-html): New.
373 * ada/gcc-interface/Make-lang.in (ada.install-html): New.
374 * lto/Make-lang.in (lto.install-html): New.
376 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
379 * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
381 2009-01-03 Steven Bosscher <steven@gcc.gnu.org>
383 PR rtl-optimization/41862
384 * store-motion.c (store_killed_in_insn, compute_store_table,
385 remove_reachable_equiv_notes, replace_store_insn,
386 build_store_vectors): Ignore all DEBUG_INSNs.
388 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
391 * common.opt: Add dumpdir.
393 * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
395 (option_map): Add --dumpdir.
397 * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
399 * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
401 * opts.c (decode_options): Try dump_dir_name first if
402 dump_base_name isn't an absolute path.
403 (common_handle_option): Handle OPT_dumpdir.
405 * toplev.c (dump_dir_name): New.
406 (print_switch_values): Also ignore -dumpdir.
408 * toplev.h (dump_dir_name): New.
410 2010-01-03 Richard Guenther <rguenther@suse.de>
412 PR tree-optimization/42589
413 * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
414 double-word expansion of bswap32.
416 2010-01-03 Steven Bosscher <steven@gcc.gnu.org>
418 * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
420 * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
421 * ifcvt.c (noce_get_alt_condition, noce_try_abs,
422 noce_process_if_block): Likewise.
423 * gcse.c (compute_local_properties, insert_expr_in_table,
424 insert_set_in_table, canon_list_insert, find_avail_set,
425 pre_insert_copy_insn): Likewise.
427 * basic-block.h (BLOCK_NUM): Move from here...
428 * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
430 2010-01-03 Richard Guenther <rguenther@suse.de>
432 PR tree-optimization/42438
433 * tree-ssa-pre.c (struct bb_bitmap_sets): Add
434 contains_may_not_return_call flag.
435 (BB_MAY_NOTRETURN): New.
436 (valid_in_sets): Trapping nary operations are not valid
437 in blocks that may not return.
438 (insert_into_preds_of_block): Remove check for trapping
440 (compute_avail): Compute also BB_MAY_NOTRETURN.
442 2010-01-03 Gerald Pfeifer <gerald@pfeifer.com>
444 * doc/invoke.texi: Add 2010 to copyright years.
446 2010-01-03 Eric Botcazou <ebotcazou@adacore.com>
448 * config/sparc/sparc.c: Fix formatting nits.
450 2010-01-02 Gerald Pfeifer <gerald@pfeifer.com>
451 Alexander Monakov <amonakov@ispras.ru>
453 * doc/invoke.texi (Optimize Options): Reword introduction a bit.
455 2010-01-02 Richard Guenther <rguenther@suse.de>
458 * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
459 (simplify_switch_using_ranges): Mark to be removed edges
462 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
464 * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
466 * collect2.c (scan_libraries): Add missing argument in call to
469 2010-01-02 Uros Bizjak <ubizjak@gmail.com>
472 * config/alpha/predicates.md (aligned_memory_operand): Return false
474 (unaligned_memory_operand): Return true for CQImode.
475 * config/alpha/alpha.c (get_aligned_mem): Assert that location
476 doesn not cross aligned SImode word boundary.
478 2010-01-02 Anatoly Sokolov <aesok@post.ru>
480 * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
482 * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
483 avr_change_section, avr_reg_class_from_letter) : Remove declaration.
485 2010-01-02 Richard Guenther <rguenther@suse.de>
488 * toplev.c (compile_file): Emit LTO marker properly. Change
490 * collect2.c (scan_prog_file): Adjust for changed LTO marker.
492 2010-01-01 Richard Guenther <rguenther@suse.de>
495 * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
497 2010-01-01 Richard Guenther <rguenther@suse.de>
500 * c-decl.c (grokdeclarator): For zero-size arrays force
501 structural equality checks as layout_type does.
503 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
505 * builtins.c: Update copyright to 2010.
507 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
510 * lto-streamer-out.c (produce_asm): Revert the last change.
511 (copy_function): Likewise.
513 * lto-streamer.c (lto_get_section_name): Skip any leading
516 2010-01-01 Richard Guenther <rguenther@suse.de>
519 * builtins.c (get_object_alignment): Do not use DECL_ALIGN
523 Copyright (C) 2010 Free Software Foundation, Inc.
525 Copying and distribution of this file, with or without modification,
526 are permitted in any medium without royalty provided the copyright
527 notice and this notice are preserved.