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