1 2010-01-05 Nick Clifton <nickc@redhat.com>
3 * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
4 register to push into the stack frame when the accumulator has to
5 be saved during interrupts.
7 2010-01-05 Eric Fisher <joefoxreal@gmail.com>
9 * doc/invoke.texi: Remove the documentation about option
11 * common.opt (Wunreachable-code): Preserved for backward
13 * tree-cfg.c: Remove the implementation of -Wunreachable-code.
14 * opts.c (common_handle_option): Add OPT_Wunreachable_code to
15 the backward compatibility flag section.
17 2010-01-05 Richard Guenther <rguenther@suse.de>
19 * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
21 2010-01-05 Jakub Jelinek <jakub@redhat.com>
24 * cfgexpand.c (expand_one_var): Diagnose too large variables.
26 PR tree-optimization/42508
27 * tree-sra.c (convert_callers): Check for recursive call
28 by comparing cgraph nodes instead of decls.
29 (modify_function): Call ipa_modify_formal_parameters also
30 on all same_body aliases.
32 * cgraphunit.c (cgraph_materialize_all_clones): Compare
33 cgraph nodes when checking for same_body aliases.
35 2010-01-05 Richard Guenther <rguenther@suse.de>
37 * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
38 allocation and lookup.
39 (get_or_alloc_expr_for_constant): Likewise.
40 (phi_translate): Sink allocation.
42 2010-01-04 Richard Guenther <rguenther@suse.de>
44 * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
45 a new entry only if needed.
46 * tree-ssa-dom.c (lookup_avail_expr): Likewise.
47 * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
49 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
51 (phi_translate): Handle CONSTANTs early.
53 2010-01-04 Martin Jambor <mjambor@suse.cz>
55 PR tree-optimization/42398
56 * tree-sra.c (struct access): Removed flag grp_different_types.
57 (dump_access): Do not dump the removed flag.
58 (sort_and_splice_var_accesses): Do not set the removed flag.
59 (sra_modify_expr): Check for type compatibility directly.
61 2010-01-04 Martin Jambor <mjambor@suse.cz>
63 PR tree-optimization/42366
64 * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
65 edges with variable number of parameters.
66 * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
67 flag instead of asserting it.
68 (ipa_read_node_info): Read uses_analysis_done flag.
70 2010-01-04 Richard Guenther <rguenther@suse.de>
72 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
73 iterative_hash_* as intended.
74 (vn_reference_compute_hash): Likewise. Simplify hashing
76 (vn_reference_lookup_2): Likewise.
77 (vn_nary_op_compute_hash): Likewise.
78 (vn_phi_compute_hash): Likewise.
79 (expressions_equal_p): Remove strange code.
80 * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
81 (pre_expr_hash): Likewise. Simplify hashing SSA names.
82 (bitmap_insert_into_set_1): Take value-id as parameter.
83 (add_to_value): Pass it.
84 (bitmap_insert_into_set): Likewise.
85 (bitmap_value_insert_into_set): Likewise. Remove redundant check.
87 2010-01-04 Jakub Jelinek <jakub@redhat.com>
90 * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
91 (do_self_spec): For switches with SWITCH_IGNORE set set also
92 SWITCH_IGNORE_PERMANENTLY.
93 (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
96 2010-01-04 Rafael Avila de Espindola <espindola@google.com>
98 * lto-streamer-out.c (output_unreferenced_globals): Output the full
99 tree of an unreferenced global var.
101 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
104 * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
105 GTU to GT for V4SI and V2DI.
107 * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
108 (umin<mode>3): Removed.
110 (uminv4si3): Likewise.
112 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
115 * collect2.c (main): Turn on trace in collect2 if -v is passed
118 2010-01-03 Jerry Quinn <jlquinn@optonline.net>
120 * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update
121 description of expression operand.
123 2010-01-03 Andrew Jenner <andrew@codesourcery.com>
125 * configure.ac: Add install-html to target_list for Make-hooks.
126 * configure: Regenerate.
127 * fortran/Make-lang.in (F95_HTMLFILES): New.
128 (fortran.html): Use it.
129 (fortran.install-html): New.
130 * Makefile.in (install-html): Add lang.install-html.
131 * java/Make-lang.in (JAVA_HTMLFILES): New.
133 (java.install-html): New.
134 * objc/Make-lang.in (objc.install-html): New.
135 * objcp/Make-lang.in (obj-c++.install-html): New.
136 * cp/Make-lang.in (c++.install-html): New.
137 * ada/gcc-interface/Make-lang.in (ada.install-html): New.
138 * lto/Make-lang.in (lto.install-html): New.
140 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
143 * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
145 2009-01-03 Steven Bosscher <steven@gcc.gnu.org>
147 PR rtl-optimization/41862
148 * store-motion.c (store_killed_in_insn, compute_store_table,
149 remove_reachable_equiv_notes, replace_store_insn,
150 build_store_vectors): Ignore all DEBUG_INSNs.
152 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
155 * common.opt: Add dumpdir.
157 * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
159 (option_map): Add --dumpdir.
161 * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
163 * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
165 * opts.c (decode_options): Try dump_dir_name first if
166 dump_base_name isn't an absolute path.
167 (common_handle_option): Handle OPT_dumpdir.
169 * toplev.c (dump_dir_name): New.
170 (print_switch_values): Also ignore -dumpdir.
172 * toplev.h (dump_dir_name): New.
174 2010-01-03 Richard Guenther <rguenther@suse.de>
176 PR tree-optimization/42589
177 * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
178 double-word expansion of bswap32.
180 2010-01-03 Steven Bosscher <steven@gcc.gnu.org>
182 * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
184 * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
185 * ifcvt.c (noce_get_alt_condition, noce_try_abs,
186 noce_process_if_block): Likewise.
187 * gcse.c (compute_local_properties, insert_expr_in_table,
188 insert_set_in_table, canon_list_insert, find_avail_set,
189 pre_insert_copy_insn): Likewise.
191 * basic-block.h (BLOCK_NUM): Move from here...
192 * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
194 2010-01-03 Richard Guenther <rguenther@suse.de>
196 PR tree-optimization/42438
197 * tree-ssa-pre.c (struct bb_bitmap_sets): Add
198 contains_may_not_return_call flag.
199 (BB_MAY_NOTRETURN): New.
200 (valid_in_sets): Trapping nary operations are not valid
201 in blocks that may not return.
202 (insert_into_preds_of_block): Remove check for trapping
204 (compute_avail): Compute also BB_MAY_NOTRETURN.
206 2010-01-03 Gerald Pfeifer <gerald@pfeifer.com>
208 * doc/invoke.texi: Add 2010 to copyright years.
210 2010-01-03 Eric Botcazou <ebotcazou@adacore.com>
212 * config/sparc/sparc.c: Fix formatting nits.
214 2010-01-02 Gerald Pfeifer <gerald@pfeifer.com>
215 Alexander Monakov <amonakov@ispras.ru>
217 * doc/invoke.texi (Optimize Options): Reword introduction a bit.
219 2010-01-02 Richard Guenther <rguenther@suse.de>
222 * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
223 (simplify_switch_using_ranges): Mark to be removed edges
226 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
228 * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
230 * collect2.c (scan_libraries): Add missing argument in call to
233 2010-01-02 Uros Bizjak <ubizjak@gmail.com>
236 * config/alpha/predicates.md (aligned_memory_operand): Return false
238 (unaligned_memory_operand): Return true for CQImode.
239 * config/alpha/alpha.c (get_aligned_mem): Assert that location
240 doesn not cross aligned SImode word boundary.
242 2010-01-02 Anatoly Sokolov <aesok@post.ru>
244 * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
246 * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
247 avr_change_section, avr_reg_class_from_letter) : Remove declaration.
249 2010-01-02 Richard Guenther <rguenther@suse.de>
252 * toplev.c (compile_file): Emit LTO marker properly. Change
254 * collect2.c (scan_prog_file): Adjust for changed LTO marker.
256 2010-01-01 Richard Guenther <rguenther@suse.de>
259 * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
261 2010-01-01 Richard Guenther <rguenther@suse.de>
264 * c-decl.c (grokdeclarator): For zero-size arrays force
265 structural equality checks as layout_type does.
267 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
269 * builtins.c: Update copyright to 2010.
271 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
274 * lto-streamer-out.c (produce_asm): Revert the last change.
275 (copy_function): Likewise.
277 * lto-streamer.c (lto_get_section_name): Skip any leading
280 2010-01-01 Richard Guenther <rguenther@suse.de>
283 * builtins.c (get_object_alignment): Do not use DECL_ALIGN
287 Copyright (C) 2010 Free Software Foundation, Inc.
289 Copying and distribution of this file, with or without modification,
290 are permitted in any medium without royalty provided the copyright
291 notice and this notice are preserved.