1 2010-01-07 Uros Bizjak <ubizjak@gmail.com>
4 * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
5 note itself is not function_invariant_p.
7 2009-01-07 Steven Bosscher <steven@gcc.gnu.org>
9 * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
10 Do not add the DF_NOTE problem.
11 * store-motion.c (execute_rtl_store_motion): Likewise.
13 2010-01-07 Martin Jambor <mjambor@suse.cz>
15 PR tree-optimization/42157
16 * tree-sra.c (compare_access_positions): Stabilize sort if both
17 accesses have integer types, return zero immediately if they are the
20 2010-01-06 Richard Henderson <rth@redhat.com>
23 * haifa-sched.c (add_to_note_list): Merge into ...
24 (concat_note_lists): ... here, and ...
25 (unlink_other_notes, rm_other_notes): Merge into...
26 (remove_notes): ... here. Create REG_SAVE_NOTEs for
27 NOTE_INSN_EPILOGUE_BEG.
29 2010-01-06 Richard Guenther <rguenther@suse.de>
31 * ipa-inline.c (cgraph_decide_inlining_incrementally): Do
32 not inline regular functions into always-inline functions.
34 2010-01-06 Nick Clifton <nickc@redhat.com>
36 * config/rx/rx.h (enum rx_cpu_type): Add RX200.
37 (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
39 (OVERRIDE_OPTIONS): Delete.
40 (OPTIMIZATION_OPTIONS): Define.
41 (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
42 * config/rx/rx.c (rx_handle_option): Issue an error message if
43 -mcpu=rx200 and -fpu are used together.
44 (rx_set_optimization_options): New function. Issue an error
45 message if an optimization attribute attempts to reset the FPU/
46 math optimization pairing.
47 * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
48 * config/rx/rx.opt: Set the default to 32-bit doubles.
49 * config/rx/t-rx: Add multilibs for -nofpu option.
50 * doc/invoke.texi: Update documentation of RX options.
52 2010-01-06 Richard Guenther <rguenther@suse.de>
54 * tree-ssa-pre.c (name_to_id): New global.
55 (alloc_expression_id): Simplify SSA name handling.
56 (lookup_expression_id): Likewise.
57 (init_pre): Zero name_to_id.
60 2010-01-06 Uros Bizjak <ubizjak@gmail.com>
62 * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
64 2010-01-05 H.J. Lu <hongjiu.lu@intel.com>
67 * config/i386/sse.md (smaxv2di3): New.
68 (umaxv2di3): Likewise.
69 (sminv2di3): Likewise.
70 (uminv2di3): Likewise.
72 2010-01-05 Eric Botcazou <ebotcazou@adacore.com>
75 * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
76 * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
77 (legitimize_tls_address): Likewise.
78 (sparc_tls_referenced_p): Likewise.
79 * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
80 and adjust calls to legitimize_pic_address.
81 (legitimate_constant_p) Use sparc_tls_referenced_p.
82 (legitimate_pic_operand_p): Likewise.
83 (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
84 (sparc_tls_symbol_ref_1): Delete.
85 (sparc_tls_referenced_p): Make static, recognize specific patterns.
86 (legitimize_tls_address): Make static, handle CONST patterns.
87 (legitimize_pic_address): Make static, remove unused parameter and
88 adjust recursive calls.
89 (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
90 and adjust call to legitimize_pic_address.
91 (sparc_output_mi_thunk): Likewise.
93 2010-01-05 Paolo Bonzini <bonzini@gnu.rg>
94 H.J. Lu <hongjiu.lu@intel.com>
97 * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
98 for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
99 operands to make them signed.
102 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
105 * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
106 GTU to GT for V4SI and V2DI.
108 * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
109 (umin<mode>3): Removed.
111 (uminv4si3): Likewise.
113 2010-01-05 Martin Jambor <mjambor@suse.cz>
115 PR tree-optimization/42462
116 * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
117 current_function_decl to helper functions and macros.
119 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
122 * flags.h: Don't include real.h.
123 (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
124 HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
125 * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
126 HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
127 * dominance.c: Update copyright.
128 * gimple.c (walk_gimple_op): Remove inline.
129 * tree-ssa-reassoc.c: Include real.h.
130 * Makefile.in (FLAGS_H): Remove $(REAL_H).
131 (tree-ssa-reassoc.o): Depend on $(REAL_H).
133 2010-01-05 Nick Clifton <nickc@redhat.com>
135 * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
136 register to push into the stack frame when the accumulator has to
137 be saved during interrupts.
139 2010-01-05 Eric Fisher <joefoxreal@gmail.com>
141 * doc/invoke.texi: Remove the documentation about option
143 * common.opt (Wunreachable-code): Preserved for backward
145 * tree-cfg.c: Remove the implementation of -Wunreachable-code.
146 * opts.c (common_handle_option): Add OPT_Wunreachable_code to
147 the backward compatibility flag section.
149 2010-01-05 Richard Guenther <rguenther@suse.de>
151 * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
153 2010-01-05 Jakub Jelinek <jakub@redhat.com>
156 * cfgexpand.c (expand_one_var): Diagnose too large variables.
158 PR tree-optimization/42508
159 * tree-sra.c (convert_callers): Check for recursive call
160 by comparing cgraph nodes instead of decls.
161 (modify_function): Call ipa_modify_formal_parameters also
162 on all same_body aliases.
164 * cgraphunit.c (cgraph_materialize_all_clones): Compare
165 cgraph nodes when checking for same_body aliases.
167 2010-01-05 Richard Guenther <rguenther@suse.de>
169 * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
170 allocation and lookup.
171 (get_or_alloc_expr_for_constant): Likewise.
172 (phi_translate): Sink allocation.
174 2010-01-04 Richard Guenther <rguenther@suse.de>
176 * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
177 a new entry only if needed.
178 * tree-ssa-dom.c (lookup_avail_expr): Likewise.
179 * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
181 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
183 (phi_translate): Handle CONSTANTs early.
185 2010-01-04 Martin Jambor <mjambor@suse.cz>
187 PR tree-optimization/42398
188 * tree-sra.c (struct access): Removed flag grp_different_types.
189 (dump_access): Do not dump the removed flag.
190 (sort_and_splice_var_accesses): Do not set the removed flag.
191 (sra_modify_expr): Check for type compatibility directly.
193 2010-01-04 Martin Jambor <mjambor@suse.cz>
195 PR tree-optimization/42366
196 * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
197 edges with variable number of parameters.
198 * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
199 flag instead of asserting it.
200 (ipa_read_node_info): Read uses_analysis_done flag.
202 2010-01-04 Richard Guenther <rguenther@suse.de>
204 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
205 iterative_hash_* as intended.
206 (vn_reference_compute_hash): Likewise. Simplify hashing
208 (vn_reference_lookup_2): Likewise.
209 (vn_nary_op_compute_hash): Likewise.
210 (vn_phi_compute_hash): Likewise.
211 (expressions_equal_p): Remove strange code.
212 * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
213 (pre_expr_hash): Likewise. Simplify hashing SSA names.
214 (bitmap_insert_into_set_1): Take value-id as parameter.
215 (add_to_value): Pass it.
216 (bitmap_insert_into_set): Likewise.
217 (bitmap_value_insert_into_set): Likewise. Remove redundant check.
219 2010-01-04 Jakub Jelinek <jakub@redhat.com>
222 * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
223 (do_self_spec): For switches with SWITCH_IGNORE set set also
224 SWITCH_IGNORE_PERMANENTLY.
225 (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
228 2010-01-04 Rafael Avila de Espindola <espindola@google.com>
230 * lto-streamer-out.c (output_unreferenced_globals): Output the full
231 tree of an unreferenced global var.
233 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
236 * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
237 GTU to GT for V4SI and V2DI.
239 * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
240 (umin<mode>3): Removed.
242 (uminv4si3): Likewise.
244 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
247 * collect2.c (main): Turn on trace in collect2 if -v is passed
250 2010-01-03 Jerry Quinn <jlquinn@optonline.net>
252 * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update
253 description of expression operand.
255 2010-01-03 Andrew Jenner <andrew@codesourcery.com>
257 * configure.ac: Add install-html to target_list for Make-hooks.
258 * configure: Regenerate.
259 * fortran/Make-lang.in (F95_HTMLFILES): New.
260 (fortran.html): Use it.
261 (fortran.install-html): New.
262 * Makefile.in (install-html): Add lang.install-html.
263 * java/Make-lang.in (JAVA_HTMLFILES): New.
265 (java.install-html): New.
266 * objc/Make-lang.in (objc.install-html): New.
267 * objcp/Make-lang.in (obj-c++.install-html): New.
268 * cp/Make-lang.in (c++.install-html): New.
269 * ada/gcc-interface/Make-lang.in (ada.install-html): New.
270 * lto/Make-lang.in (lto.install-html): New.
272 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
275 * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
277 2009-01-03 Steven Bosscher <steven@gcc.gnu.org>
279 PR rtl-optimization/41862
280 * store-motion.c (store_killed_in_insn, compute_store_table,
281 remove_reachable_equiv_notes, replace_store_insn,
282 build_store_vectors): Ignore all DEBUG_INSNs.
284 2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
287 * common.opt: Add dumpdir.
289 * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
291 (option_map): Add --dumpdir.
293 * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
295 * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
297 * opts.c (decode_options): Try dump_dir_name first if
298 dump_base_name isn't an absolute path.
299 (common_handle_option): Handle OPT_dumpdir.
301 * toplev.c (dump_dir_name): New.
302 (print_switch_values): Also ignore -dumpdir.
304 * toplev.h (dump_dir_name): New.
306 2010-01-03 Richard Guenther <rguenther@suse.de>
308 PR tree-optimization/42589
309 * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
310 double-word expansion of bswap32.
312 2010-01-03 Steven Bosscher <steven@gcc.gnu.org>
314 * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
316 * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
317 * ifcvt.c (noce_get_alt_condition, noce_try_abs,
318 noce_process_if_block): Likewise.
319 * gcse.c (compute_local_properties, insert_expr_in_table,
320 insert_set_in_table, canon_list_insert, find_avail_set,
321 pre_insert_copy_insn): Likewise.
323 * basic-block.h (BLOCK_NUM): Move from here...
324 * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
326 2010-01-03 Richard Guenther <rguenther@suse.de>
328 PR tree-optimization/42438
329 * tree-ssa-pre.c (struct bb_bitmap_sets): Add
330 contains_may_not_return_call flag.
331 (BB_MAY_NOTRETURN): New.
332 (valid_in_sets): Trapping nary operations are not valid
333 in blocks that may not return.
334 (insert_into_preds_of_block): Remove check for trapping
336 (compute_avail): Compute also BB_MAY_NOTRETURN.
338 2010-01-03 Gerald Pfeifer <gerald@pfeifer.com>
340 * doc/invoke.texi: Add 2010 to copyright years.
342 2010-01-03 Eric Botcazou <ebotcazou@adacore.com>
344 * config/sparc/sparc.c: Fix formatting nits.
346 2010-01-02 Gerald Pfeifer <gerald@pfeifer.com>
347 Alexander Monakov <amonakov@ispras.ru>
349 * doc/invoke.texi (Optimize Options): Reword introduction a bit.
351 2010-01-02 Richard Guenther <rguenther@suse.de>
354 * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
355 (simplify_switch_using_ranges): Mark to be removed edges
358 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
360 * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
362 * collect2.c (scan_libraries): Add missing argument in call to
365 2010-01-02 Uros Bizjak <ubizjak@gmail.com>
368 * config/alpha/predicates.md (aligned_memory_operand): Return false
370 (unaligned_memory_operand): Return true for CQImode.
371 * config/alpha/alpha.c (get_aligned_mem): Assert that location
372 doesn not cross aligned SImode word boundary.
374 2010-01-02 Anatoly Sokolov <aesok@post.ru>
376 * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
378 * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
379 avr_change_section, avr_reg_class_from_letter) : Remove declaration.
381 2010-01-02 Richard Guenther <rguenther@suse.de>
384 * toplev.c (compile_file): Emit LTO marker properly. Change
386 * collect2.c (scan_prog_file): Adjust for changed LTO marker.
388 2010-01-01 Richard Guenther <rguenther@suse.de>
391 * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
393 2010-01-01 Richard Guenther <rguenther@suse.de>
396 * c-decl.c (grokdeclarator): For zero-size arrays force
397 structural equality checks as layout_type does.
399 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
401 * builtins.c: Update copyright to 2010.
403 2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
406 * lto-streamer-out.c (produce_asm): Revert the last change.
407 (copy_function): Likewise.
409 * lto-streamer.c (lto_get_section_name): Skip any leading
412 2010-01-01 Richard Guenther <rguenther@suse.de>
415 * builtins.c (get_object_alignment): Do not use DECL_ALIGN
419 Copyright (C) 2010 Free Software Foundation, Inc.
421 Copying and distribution of this file, with or without modification,
422 are permitted in any medium without royalty provided the copyright
423 notice and this notice are preserved.