1 2006-08-26 David Edelsohn <edelsohn@gnu.org>
4 * doc/extend.texi (PowerPC Variable Attributes): Mention altivec.
5 (PowerPC Type Attributes): New.
7 2006-08-26 Bob Wilson <bob.wilson@acm.org>
9 * config/xtensa/xtensa.c (function_arg_boundary): New.
10 (function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to
12 * config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new
13 function_arg_boundary function that limits alignment to STACK_BOUNDARY.
15 2006-08-26 Jakub Jelinek <jakub@redhat.com>
18 * cfgexpand.c (add_reg_br_prob_note): Check if last has exactly
21 2006-08-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
23 * flow.c (verify_wide_reg): Use internal_error for consistency failure.
24 (verify_local_live_at_start): Likewise.
26 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
29 * gimplify.c (gimplify_decl_expr, gimplify_init_ctor_preeval,
30 omp_add_variable): Treat sizes as variable whenever not
33 2006-08-26 Richard Guenther <rguenther@suse.de>
36 * fold-const.c (fold_binary): Fold temporary to correct
37 type before constructing new comparison.
39 2006-08-25 Fariborz Jahanian <fjahanian@apple.com>
42 * c-gimplify.c (gimplify_compound_literal_expr): Don't add
43 variable again if DECL_SEEN_IN_BIND_EXPR_P.
45 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
48 * c-decl.c (start_function): Don't try to process prototype
49 information from old declaration that isn't a function.
51 2006-08-25 Jan Hubicka <jh@suse.cz>
54 * config/i386/crtfastmath.c (set_fast_math): Force stack alignment.
56 2006-08-25 Alan Modra <amodra@bigpond.net.au>
59 * config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
62 2006-08-25 J"orn Rennecke <joern.rennecke@st.com>
64 PR tree-optimization/16876
65 * c-typeck.c (c_convert_parm_for_inlining): Don't take early
66 exit if PARM doesn't match VALUE.
68 2006-08-25 Bob Wilson <bob.wilson@acm.org>
70 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a
71 literal_prefix directive.
72 (XTENSA_DECLARE_FUNCTION_SIZE): Delete.
73 * config/xtensa/linux.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
74 * config/xtensa/elf.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
76 2006-08-25 David Edelsohn <edelsohn@gnu.org>
79 * config/rs6000/rs6000.md (movcc_internal1): Change operand 1
80 predicate to general_operand. Add 0->y and I->r alternatives.
82 2006-08-25 Kazu Hirata <kazu@codesourcery.com>
84 * doc/tm.texi: Fix a typo.
85 * predict.c: Fix comment typos.
87 2006-08-25 Nick Clifton <nickc@redhat.com>
89 * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add
90 assertions of "cpu" and "machine".
92 2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
95 * tree-ssa-operands.c (access_can_touch_variable): Don't say
96 the access through a base which has an alias set of 0 cannot
99 2006-08-24 Bill Wendling <wendling@apple.com>
101 * doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.
103 2006-08-24 Jan Hubicka <jh@suse.cz>
105 * reload1.c (emit_reload_insns): Fix yet another typo in my patch.
107 2006-08-24 Jan Hubicka <jh@suse.cz>
110 * cgraph.c: Fix comments.
111 (cgraph_varpool_mark_needed_node): Mark only variables not already
113 * cgraphunit.c: Update comments; include gt-cgraphunit.h
114 (cgraph_varpool_assembled_nodes_queue): New static variable.
115 (cgraph_varpool_assemble_decl): Record output decls for debug out code.
116 (cgraph_varpool_output_debug_info): New function.
117 (cgraph_finalize_compilation_unit, cgraph_optimize): Call it.
118 * Makefile.in: Add gt-cgraphunit.h
120 2006-08-24 Jan Hubicka <jh@suse.cz>
122 * predict.c (probability_reliable_p): New predicate.
123 (edge_probability_reliable_p, br_prob_note_reliable_p): Likewise.
124 (predict_loops): Do not predict loop exit with less than 2%
126 * basic-block.h (edge_probability_reliable_p,
127 br_prob_note_reliable_p): Declare.
128 * ia64.h (ia64_print_operand): Do not disable on-chip branch
129 prediction when static predictor is not reliable.
130 * rs6000.c (output_cbranch): Likewise.
132 2006-08-23 Stuart Hastings <stuart@apple.com>
135 * gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
136 ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
138 2006-08-21 Geoffrey Keating <geoffk@apple.com>
141 * dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
142 complex values, nor for generic vector values.
144 2006-08-22 Richard Guenther <rguenther@suse.de>
147 * tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
148 parameter. Convert arguments to arithmetic expression to the
150 (analyze_scalar_evolution_1): Adjust caller.
152 2006-08-22 Jan Hubicka <jh@suse.cz>
154 Patch by Paolo Bonzini
155 * reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
158 2006-08-22 Daniel Berlin <dberlin@dberlin.org>
160 PR tree-optimization/28003
161 * tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
162 before grouping aliases.
164 2006-08-22 Roger Sayle <roger@eyesopen.com>
166 * config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
167 if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.
169 2006-08-21 Jason Merrill <jason@redhat.com>
172 * gimplify.c (voidify_wrapper_expr): Handle STATEMENT_LIST as a
173 wrapper. Loop to handle nested wrappers.
174 (gimplify_bind_expr): Remove temp parameter.
175 (gimplify_modify_expr_rhs): Handle CLEANUP_POINT_EXPR, BIND_EXPR
176 and STATEMENT_LIST on the rhs.
177 (gimplify_statement_list): Voidify the STATEMENT_LIST.
178 (gimplify_expr): Pass pre_p to gimplify_statement_list.
179 (gimplify_target_expr): Remove special BIND_EXPR handling.
181 2006-08-21 J"orn Rennecke <joern.rennecke@st.com>
183 * config/sh/lib1funcs-Os-4-200.asm: Guard entire file with
186 2006-08-21 Olivier Hainque <hainque@adacore.com>
188 * gimplify.c (gimplify_init_constructor) <RECORD,UNION,ARRAY types>:
189 Arrange for the temporary captures of components overlapping the lhs
190 to happen before the lhs is possibly cleared.
192 2006-08-21 Mark Shinwell <shinwell@codesourcery.com>
194 * config/arm/pr-support.c (__gnu_unwind_execute): Insert " + 1" in
195 necessary places to pass the correct "number of registers" values
198 2006-08-20 Jan Hubicka <jh@suse.cz>
200 * tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function.
201 (create_name_tags): Instead of quadratic checking use hashtable.
202 * bitmap.h: Include hashtab.h.
203 (bitmap_hash): Declare.
204 * bitmap.c (bitmap_hash): New function.
206 2006-08-20 Jan Hubicka <jh@suse.cz>
208 PR rtl-optimization/28071
209 * tree-optimize.c (tree_rest_of_compilation): Do not remove edges
211 * tree-inline.c (copy_bb): Use cgraph_set_call_stmt.
212 * ipa-inline.c (cgraph_check_inline_limits): Add one_only argument.
213 (cgraph_decide_inlining, cgraph_decide_inlining_of_small_function,
214 cgraph_decide_inlining_incrementally): Update use of
215 cgraph_check_inline_limits.
216 * cgraph.c (edge_hash, edge_eq): New function.
217 (cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge,
218 cgraph_edge_remove_caller, cgraph_node_remove_callees,
219 cgraph_remove_node): Maintain call site hash.
220 * cgraph.h (struct cgraph_node): Add call_site_hash.
221 (cgraph_set_call_stmt): New function.
223 2006-08-20 Jan Hubicka <jh@suse.cz>
225 PR rtl-optimization/28071
226 * reload1.c (reg_has_output_reload): Turn into regset.
227 (reload_as_needed, forget_old_reloads_1, forget_marked_reloads,
228 choose_reload_regs, emit_reload_insns): Update to new
229 reg_has_output_reload.
231 2006-08-20 Jan Hubicka <jh@suse.cz>
234 * ipa-inline.c (cgraph_decide_inlining, cgraph_early_inlining): Compute
236 * cgraphunit.c (cgraph_analyze_function): Don't do so.
238 2006-08-20 Danny Smith <dannysmith@users.sourceforge.net>
241 * tree.c (handle_dll_attribute): Return early if not a
242 var or function decl.
244 2006-08-18 Joseph Myers <joseph@codesourcery.com>
247 * config/rs6000/rs6000.h (LOCAL_ALIGNMENT): For SPE, only adjust
248 alignment of SPE vector types.
250 2006-08-18 Christophe Jaillet <christophe.jaillet@wanadoo.fr>
252 * tree.c (is_attribute_with_length_p): Remove a duplicated assert.
254 2006-08-17 Jakub Jelinek <jakub@redhat.com>
257 * cgraph.h (struct cgraph_node): Remove externally_visible
259 * cgraphunit.c (process_function_and_variable_attributes): Set
260 local.externally_visible rather than externally_visible.
263 * c-common.c (handle_externally_visible_attribute): First look
264 at TREE_CODE and only if it is function or var decl, check for
265 non-public objects. Don't warn for DECL_EXTERNAL.
266 * cgraphunit.c (process_function_and_variable_attributes): Warn
267 if externally_visible attribute is used on non-public object.
269 2006-08-17 Jan Hubicka <jh@suse.cz>
271 PR tree-optimization/27865
272 * reload1.c (forget_marked_reloads): New function.
273 (forget_old_reloads_1): When data are passed, just mark the registers
275 (reload_as_needed): Use the new mechanizm.
277 2006-08-17 Alexandre Oliva <aoliva@redhat.com>
280 * reload.h (reg_equiv_alt_mem_list): New declaration.
281 * reload1.c (reg_equiv_alt_mem_list): New definition.
282 (reload): Initialize it and release it.
283 (delete_output_reload): Use it.
284 * reload.c (push_reg_equiv_alt_mem): New function.
285 (find_reloads_toplev): Call it.
286 (find_reloads_address, find_reloads_address_1): Likewise.
287 (find_reloads_subreg_address): Likewise.
289 2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
291 PR rtl-optimization/28489
292 * sched-ebb.c (begin_schedule_ready): Create basic block
294 (advance_target_bb): Skip empty blocks.
295 * haifa-sched.c (bb_note): Make global.
296 * sched-int.h (bb_note): Add prototype.
298 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
300 PR tree-optimization/27865
301 * tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE
303 * tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p,
304 fold_used_pointer, pointer_used_p): New functions.
305 (analyze_scalar_evolution_1): Use fold_used_pointer.
306 * tree-chrec.c (convert_affine_scev): Convert no-op casts correctly.
307 * tree-ssa-loop-ivopts.c (generic_type_for): Return integral type
310 2006-08-17 Paolo Bonzini <bonzini@gnu.org>
313 * c-common.c (fold_offsetof_1): Add an argument and recurse down to it
314 or the INTEGER_CST. Fail on a CALL_EXPR.
315 (fold_offsetof): Pass new argument to fold_offsetof_1.
316 * c-parser.c (c_parser_postfix_expression): Don't include a NULL
317 operand into an INDIRECT_REF.
318 * c-typeck.c (build_unary_op): Adjust call to fold_offsetof.
320 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
322 PR gcov/profile/26570
323 * value-prof.c (static_values): Removed.
324 (tree_find_values_to_profile): Do not set static_values.
325 (find_values_to_profile): Do not free static_values.
326 * profile.c (instrument_values): Do not free the values.
327 (branch_prob): Free the values.
329 2006-08-16 Naveen.H.S <naveenh@kpitcummins.com>
331 * config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
333 2006-08-16 Joseph S. Myers <joseph@codesourcery.com>
336 * c-typeck.c (build_component_ref): Combine qualifiers of
337 structure or union and field.
339 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
341 PR rtl-optimization/28071
342 * basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
343 * dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
344 * tree-into-ssa.c (struct dom_dfsnum): New.
345 (cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
347 (insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
348 compute_global_livein.
349 (prepare_block_for_update, prepare_use_sites_for): Mark the uses
350 in phi nodes in the correct blocks.
352 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
354 PR tree-optimization/28364
355 * tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
357 (fold_affine_expr): New function.
358 (may_eliminate_iv): Use fold_affine_expr.
360 2006-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
363 * c-typeck.c (c_start_case): Handle invalid orig_type correctly.
366 2006-08-16 Mike Stump <mrs@apple.com>
368 * doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
369 * doc/cppopts.texi (-MD): Likewise.
371 2006-08-15 Danny Smith <dannysmith@users.sourceforge.net>
374 * c-common.c (handle_weak_attribute): Ignore and warn if
375 not a FUNCTION_ or VAR_DECL.
377 2006-07-15 Mike Stump <mrs@apple.com>
380 * c-parser.c (c_parser_typeof_specifier): Don't use
381 c_finish_expr_stmt, open code desired semantics instead.
383 2006-08-15 Nick Clifton <nickc@redhat.com>
385 * config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
386 fragment to tmake_file only if threads are enabled.
387 * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
388 * config/i386/t-gthr-win32: New file. ... here.
390 2006-08-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
393 * c-parser.c (c_parser_compound_statement_nostart): Reset
394 parser->error after each statement.
396 2006-08-15 Jakub Jelinek <jakub@redhat.com>
399 * omp-low.c (lower_omp_parallel): Convert t to
400 receiver_decl's type.
401 (expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
402 source before comparison.
405 * gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
406 to itype in assignment to oldival2.
408 2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
412 * c-typeck.c (build_compound_expr): If the second expression
413 is an error mark, then just return an error mark instead of
414 creating a COMPOUND_EXPR.
416 2006-07-14 Mike Stump <mrs@apple.com>
418 * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
420 2006-08-14 Kazu Hirata <kazu@codesourcery.com>
422 * c-decl.c, var-tracking.c: Fix comment typos.
424 2006-08-14 Richard Sandiford <richard@codesourcery.com>
426 PR rtl-optimization/28634
427 * reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
428 for floating-point modes unless flag_unsafe_math_optimizations.
430 2006-08-13 Alexandre Oliva <aoliva@redhat.com>
431 Andrew Pinski <pinskia@physics.uc.edu>
434 * tree.c (build_array_type): Unify array types with
435 unspecified index_type.
436 * c-decl.c (grokdeclarator): Make sure we do not modify a
437 unified incomplete array type.
438 * c-typeck.c (store_init_value): Create distinct type before
439 filling in the index type in an initializer from a compound
442 * c-decl.c (grokdeclarator): Remove code where we copy the
445 2006-08-13 Andrew Pinski <pinskia@physics.uc.edu>
447 * tree-pass.h (TODO_update_ssa): Fix which bit is used to take
448 into account for TODO_dump_cgraph.
449 (TODO_update_ssa_no_phi): Likewise.
450 (TODO_update_ssa_full_phi): Likewise.
451 (TODO_update_ssa_only_virtuals): Likewise.
452 (TODO_remove_unused_locals): Likewise.
453 (TODO_set_props): Likewise.
454 (TODO_update_stmt_usage): Likewise.
456 2006-08-13 Dirk Mueller <dmueller@suse.de>
458 * c-common.c (strict_aliasing_warning): Fix formatting.
460 2006-08-13 Matthias Klose <doko@debian.org>
462 * doc/invoke.texi: Fix spelling errors.
464 2006-08-11 Eric Botcazou <ebotcazou@libertysurf.fr>
466 PR rtl-optimization/23454
467 * reorg.c (relax_delay_slots): Update comment.
469 2006-08-11 Richard Guenther <rguenther@suse.de>
472 * simplify-rtx.c (simplify_const_relational_operation):
473 Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
476 2006-08-10 Eric Botcazou <ebotcazou@adacore.com>
478 * tree.c (build1_stat): Also propagate the TREE_CONSTANT and
479 TREE_INVARIANT flags for a VIEW_CONVERT_EXPR.
481 2006-08-10 Paul Brook <paul@codesourcery.com>
483 * final.c (final_scan_insn): Clear current_insn_predicate before
484 outputting inline asm.
486 2006-08-10 Dorit Nuzman <dorit@il.ibm.com>
488 PR tree-optimization/26197
489 * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls
490 get_ref_base_and_extent and overlap_subvar to add only relevant
491 subvars as may-aliases.
492 (add_may_alias_for_new_tag): New function, factored out of
494 * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias
495 with additional argument.
496 * tree-flow.h (new_type_alias): Takes additional argument.
498 2006-08-09 Nathan Sidwell <nathan@codesourcery.com>
500 * gcov.c (no_data_file): New flag.
501 (read_count_file): Set it if data file not present. Assume counts
503 (output_lines): Don't name the data file, if there wasn't one.
505 2006-08-09 Eric Botcazou <ebotcazou@adacore.com>
507 * config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
508 (rs6000_generate_compare): Tweak comments.
509 * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.
511 2006-08-09 Alexandre Oliva <aoliva@redhat.com>
513 * var-tracking.c (enum micro_operation_type): Add MO_COPY.
514 (var_debug_decl): New function.
515 (var_reg_set): Follow debug decl link. Add location even if
516 reg is already known to hold some other variable.
517 (var_mem_set): Follow debug decl link.
518 (var_reg_delete_and_set, var_mem_delete_and_set): Follow debug
519 decl link. Delete other known locations of the variable part
521 (var_reg_delete, var_mem_delete): Delete other known locations
522 of the variable part if requested.
523 (same_variable_part_p): New function.
524 (add_stores): Select MO_COPY when appropriate.
525 (vt_initialize): Handle it.
526 (compute_bb_dataflow, emit_notes_in_bb): Likewise. Delete
527 known locations for MO_SET and MO_CLOBBER.
528 (find_variable_location_part): New function.
529 (set_variable_part, delete_variable_part): Use it.
530 (clobber_variable_part): New function.
531 * dwarf2out.c (dwarf2out_var_location): Do not follow debug
534 2006-08-07 Victor Kaplansky <victork@il.ibm.com>
536 PR tree-optimization/26969
537 * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch
538 with an empty list of PHIs.
540 2006-08-06 Paolo Bonzini <bonzini@gnu.org>
544 * conffig/i386/i386.md: Add peephole2 to avoid "fld %st"
547 2006-08-06 Andreas Schwab <schwab@suse.de>
549 * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
550 string. Whitespace and comment fixup.
552 2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
555 * c-decl.c (validate_proto_after_old_defn): Return false on invalid
559 * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.
562 * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
564 2006-08-04 Jan Hubicka <jh@suse.cz>
568 * reload.c (push_reload): Patch out the mismatching instruction;
570 (find_reload): Bail out if the instruction was patched out.
572 2006-08-04 Jan Hubicka <jh@suse.cz>
574 PR tree-optimization/24888
575 * tree-inline.c (expand_call_inline): Do not re-record variables.
576 (declare_inline_vars): Add variable to unexpanded_var_list.
578 2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
579 Roger Sayle <roger@eyesopen.com>
581 PR rtl-optimization/26244
582 * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
583 inner_const are negative or greater than or equal to the bitsize of
584 MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
585 Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
586 Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
587 CONST0_RTX (mode) when the new shift count is greater than or equal to
588 to the bitsize of the object being shifted and XEXP (y, 0) has no side
591 2006-08-04 Kazu Hirata <kazu@codesourcery.com>
593 * tree-cfg.c: Fix a comment typo.
595 2006-08-03 Mark Mitchell <mark@codesourcery.com>
598 * varasm.c (output_constant): Give the front end another chance to
599 expand constants, after stripping NOPs.
601 2006-08-03 Jan Hubicka <jh@suse.cz>
603 * domwalk.c (walk_dominator_tree): Reorganize to non-recursive
606 2006-08-03 Dorit Nuzman <dorit@il.ibm.com>
608 PR tree-optimization/27770
609 * tree-vectorizer.h (get_vectype_for_scalar_type): Function
610 declaration removed (moved to tree-flow.h).
611 (vect_can_force_dr_alignment_p): Likewise.
612 * tree-flow.h (get_vectype_for_scalar_type): New function declaration
613 (moved from tree-vectorizer.h).
614 (vect_can_force_dr_alignment_p): Likewise.
615 * tree-vectorizer.c (vect_print_dump_info): Allow calling this function
616 from outside the vectorizer - in particular from cgraph stage.
617 * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase
618 the alignment of global arrays when -fsection-anchors is enabled.
619 * cgraphunit.c (cgraph_increase_alignment): New function.
620 (cgraph_optimize): Call cgraph_increase_alignment.
622 2006-08-03 David Edelsohn <edelsohn@gnu.org>
625 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
626 not reload a SPE symbol_ref into a lo_sum address.
628 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
631 * dwarf2out.c (prune_unused_types_prune): Move call to
632 prune_unused_types_update_strings to cover the parent DIE also.
634 2006-08-02 Jan Hubicka <jh@suse.cz>
636 PR gcov/profile/28480
637 * tree-cfg.c (change_bb_for_stmt): New function.
638 (tree_merge_blocks, tree_split_blocks): Use it.
640 2006-08-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
646 * toplev.c (compile_file): Return early on errorcount or sorrycount.
647 * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
648 (cgraph_optimize): Likewise.
650 2006-08-01 Stuart Hastings <stuart@apple.com>
652 * rtl.h (UINTVAL) New.
653 * config/rs6000/rs6000.c (SMALL_INT) Use it.
654 * testsuite/gcc.dg/20060801-1.c: New.
656 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
659 * c-typeck.c (build_external_type): Mark used enum types.
660 * dwarf2out.c (dwarf2out_abstract_function): Save and restore
662 (gen_subprogram_die): Whitespace fix.
664 2006-08-01 Jan Hubicka <jh@suse.cz>
666 * tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
667 bitmap when not needed.
668 * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
671 2006-08-01 Dirk Mueller <dmueller@suse.de>
673 * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
675 2006-07-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
677 * Makefile.in: Revert part of previous patch:
678 Replace $(VARRAY_H) by varray.h in definition of BASIC_BLOCK_H
681 2006-07-30 Eric Christopher <echristo@apple.com>
684 * doc/extend.texi (i386 Variable Attributes): Add anchor.
685 (PowerPC Variable Attributes): New section.
687 2006-07-30 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
689 PR target/28126 (partial fix)
690 * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
692 2006-07-28 Jan Hubicka <jh@suse.cz>
694 PR rtl-optimization/28071
695 * cfgrtl.c (rtl_delete_block): Free regsets.
696 * flow.c (allocate_bb_life_data): Re-use regsets if available.
698 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
700 * Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
701 and variables used in dependencies.
703 2006-07-27 Arjan van de Ven <arjan@linux.intel.com>
705 * config/i386/i386.md (stack_tls_protect_set_di) Use %gs rather than
706 %fs for -mcmodel=kernel.
707 (stack_tls_protect_test_di): Likewise.
709 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
711 * Makefile.in: Use mkinstalldirs.
713 2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
716 * opts-common.c (prune_options): Skip joined switches.
718 2006-07-27 Jan Hubicka <jh@suse.cz>
720 PR rtl-optimization/28071
721 * cselib.c (cselib_process_insn): Don't remove useless values too
722 often for very large hashtables.
724 2006-07-27 Jan Hubicka <jh@suse.cz>
726 PR rtl-optimization/28071
727 * global.c (greg_obstack): New obstack.
728 (allocate_bb_info): Use it.
729 (free_bb_info): Likewise.
730 (modify_reg_pav): Likewise.
732 2006-07-27 Roger Sayle <roger@eyesopen.com>
734 * builtins.c (fold_fixed_mathfn): When long and long long are the
735 same size, canonicalize llceil*, llfloor*, llround* and llrint*
736 functions to their lceil*, lfloor*, lround* and lrint* forms.
738 2006-07-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
741 * config/m32r/m32r.md (branch_insn): Reduce pc range for short
743 (rev_branch_insn): Likewise.
745 2006-07-27 Jan Hubicka <jh@suse.cz>
747 PR rtl-optimization/28071
748 * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
749 (reg_set_in_bb, max_reg_computed): New static variables.
750 (regmove_optimize): Free the new array.
751 (fixup_match_1): Update call of reg_is_remote_constant_p.
753 2006-07-26 Jan Hubicka <jh@suse.cz>
755 PR tree-optimization/27882
756 * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous
758 * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill
760 (cgraph_analyze_compilation_unit): Likewise.
761 * ipa.c (cgraph_remove_unreachable_nodes): Likewise.
762 * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise.
763 (cgraph_early_inlinine): Make order garbage collected.
764 * Makefile.in (gt-ipa-inline): New garbagecollected file.
766 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
768 * dbxout.c (output_types_sort): Add a comment.
769 (output_used_types): Free the VEC.
771 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
773 * function.c (reorder_fix_fragments): Delete.
774 (reorder_blocks): Don't call it.
775 (reorder_blocks_1): Put all subblocks under the origin block.
777 2006-07-26 Zdenek Dvorak <dvorakz@suse.cz>
779 PR rtl-optimization/27907
780 * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and
783 2006-07-25 Roger Sayle <roger@eyesopen.com>
786 * convert.c (convert_to_integer): When transforming (T)foo(x) into
787 bar(x) check that bar's result type can represent all the values of T.
789 2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
791 * tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
793 2006-07-25 Nick Clifton <nickc@redhat.com>
795 * ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
797 (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
798 (ggc_pch_count_object): Likewise.
799 (ggc_pch_alloc_object): Likewise.
800 (ggc_pch_write_object): Likewise.
801 (init_ggc): Do not attempt to initialize entries in the
802 size_lookup[] array for objects whose size is greater than than
803 the length of the array.
805 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
807 * dbxout.c (output_used_types_helper): Push queued types
809 (output_types_sort): New.
810 (output_used_types): Collect used types on a VEC and sort them
813 2006-07-24 Richard Guenther <rguenther@suse.de>
816 * cgraph.c (cgraph_remove_node): Do not check if dumps
818 * cgraphunit.c (cgraph_optimize): Likewise.
820 2006-07-24 Jan Hubicka <jh@suse.cz>
822 PR rtl-optimization/28071
823 * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes.
824 * tree-iterator.c (tsi_split_statement_list_before): Do not crash when
825 splitting before first stmt.
827 2006-07-24 Jan Hubicka <jh@suse.cz>
829 PR rtl-optimization/28071
830 * ipa-inline.c (update_caller_keys): Remove edges that
831 are no longer inline candidates.
833 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
836 * dbxout.c (output_used_types_helper, output_used_types): New.
837 (dbxout_symbol): Call output_used_types.
839 2006-07-23 Jan Hubicka <jh@suse.cz>
843 * cgraph.c (cgraph_varpool_nodes): Export.
844 (decide_is_variable_needed): Ignored "used" attribute in
846 * cgraph.h (cgraph_varpool_nodes): Declare.
847 * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
850 2006-07-23 Roger Sayle <roger@eyesopen.com>
853 * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
854 mutex_destroy even when !_LIBOOBJC. Remove duplicate prototype of
855 the __gthrw form of thr_keycreate.
856 (__gthread_key_delete): Silence the unused argument warning.
858 2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
861 * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
862 Cache the last found '\0' marker to avoid quadratic behavior.
864 2006-07-23 Jan Hubicka <jh@suse.cz>
866 * i386.md (subsi_3_zext): Fix output template.
868 2006-07-21 Mike Stump <mrs@apple.com>
870 * doc/invoke.texi (C++ Dialect Options): Note that
871 -fvisibility-inlines-hidden doesn't affect explicitly
872 instantiationed inline methods.
874 2006-07-20 Roger Sayle <roger@eyesopen.com>
876 * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
877 if the target assembler is GNU binutils' gas.
878 * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
879 whether to pass GNU gas or native as command line options.
881 2006-07-20 Jason Merrill <jason@redhat.com>
883 * tree.c (remove_attribute): New fn.
884 * tree.h: Declare it.
886 2006-07-20 Paul Brook <paul@codesourcery.com>
889 * cse.c (cse_insn): Add destination addresses to hash table. Check if
890 they are invalidated by this instruction.
892 2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
895 * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
897 2006-07-20 Eric Christopher <echristo@apple.com>
900 * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
902 2006-07-19 Eric Christopher <echristo@apple.com>
904 * config/t-slibgcc-darwin (stmp-lipo): Remove.
905 Rewrite dependencies for libgcc_s.1.dylib.
907 2006-07-19 Jakub Jelinek <jakub@redhat.com>
909 * except.c (duplicate_eh_regions_1): Clear next_peer.
911 2006-07-17 Nathan Sidwell <nathan@codesourcery.com>
913 * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
914 -mlongcall does not guarantee all calls will be long.
915 * doc/extend.texi (long_call/short_call): Document that longcall
916 does not guarantee a long call will be used.
917 (longcall/shortcall): Likewise.
919 2006-07-18 Roger Sayle <roger@eyesopen.com>
922 * expmed.c (expand_shift): Additionally check that the shift_cost
923 is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
924 before implementing a LSHIFT_EXPR as a sequence of additions.
925 * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
926 middle-end that DImode shifts need to be synthesized by expand.
928 2006-07-18 Diego Novillo <dnovillo@redhat.com>
931 * tree-ssa-operands.c (access_can_touch_variable): Update
933 Return true if ALIAS is .GLOBAL_VAR.
935 2006-07-18 David Daney <ddaney@avtrex.com>
937 * gcc.c (display_help): Fix typo in help text.
939 2006-07-18 Olivier Hainque <hainque@adacore.com>
941 * tree.h (categorize_ctor_elements): Adjust prototype and add
942 descriptive comment, both in accordance with the interface change
944 * varasm.c (constructor_static_from_elts_p): New function.
945 Whether a constructor node is a valid static constant initializer
946 if all its elements are.
947 (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
948 * output.h: Declare it.
949 * expr.c (categorize_ctor_elements_1): Return whether the constructor
950 is a valid constant initializer instead of computing the number of
951 non-constant elements. Use constructor_static_from_elts_p for this
952 purpose. Replace the head comment with an indication that this is a
953 helper for categorize_ctor_elements.
954 (categorize_ctor_elements): Same interface change as for the _1
955 helper. Former head comment from this helper moved here, adjusted to
956 account for the interface changes.
957 (mostly_zeros_p): Adjust call to categorize_ctor_elements.
958 (all_zeros_p): Likewise.
959 * gimplify.c (gimplify_init_constructor): Decide whether we can make
960 static versions of the constructor from the categorize_ctor_elements
961 return value instead of the formerly computed number of non-constant
964 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
966 * configure: Regenerate.
967 * Makefile.in (build_libsubdir): New configure substitution
968 (build_libobjdir): New variable.
969 (BUILD_LIBIBERTY): Use it.
971 2006-07-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
974 * c-pragma.c (handle_pragma_pack): Handle invalid constants.
976 2006-07-18 Alexandre Oliva <aoliva@redhat.com>
979 * c-common.c (handle_weakref_attribute): Ignore attribute in
980 the same conditions the alias attribute is ignored.
982 2006-07-17 Carlos O'Donell <carlos@codesourcery.com>
984 * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
985 (dbxout_begin_prologue): Increment scope_labelno.
987 2006-07-17 Richard Henderson <rth@redhat.com>
990 * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
993 2006-07-17 Roger Sayle <roger@eyesopen.com>
994 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
996 * config/i386/gmon-sol2.c: Silence compilation warnings by partially
997 synchronizing code with config/sparc/gmon-sol2.c. Remove #if 0
998 blocks. #include "tconfig.h" and "tsystem.h" to prototype system
999 functions such as sbrk, write, etc.. Add function prototypes.
1000 Convert function declarations from K&R to ISO C. Cast pointers
1001 to "long" and "unsigned long" instead of "int" and "unsigned int".
1002 Convert tokens following #endif into comments.
1004 2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
1006 * invoke.texi: Remove mention of f77; Reformat table for
1007 inline parameter options correctly; mention that -malign-double
1008 is default on x86-64 targets.
1010 2006-07-17 Zdenek Dvorak <dvorakz@suse.cz>
1012 * tree-chrec.c (avoid_arithmetics_in_type_p): New.
1013 (convert_affine_scev, chrec_convert_aggressive): Use
1014 avoid_arithmetics_in_type_p. Do not check for the subtypes
1017 2006-07-17 Richard Sandiford <richard@codesourcery.com>
1020 * optabs.c (expand_doubleword_shift): Wrap the call to
1021 do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
1023 2006-07-17 Richard Sandiford <richard@codesourcery.com>
1026 * optabs.c (expand_binop): Pass next_methods rather than methods
1027 to expand_doubleword_shift.
1029 2006-07-17 J"orn Rennecke <joern.rennecke@st.com>
1032 * tree.h (dump_addr): Declare.
1033 * print-tree.c (dump_addr): New function.
1034 (print_node_brief, print_node): Use it.
1035 * print-rtl.c (print_rtx): Likewise.
1036 * common.opt (-fdump-noaddr): New option.
1037 * doc/invoke.texi (-fdump-noaddr): Document.
1038 * loop-unroll.c (si_info_hash): Make hash independent of addresses.
1039 (ve_info_hash): Likewise.
1041 2006-07-13 Andrew Haley <aph@redhat.com>
1043 PR tree-optimization/19505
1044 * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
1045 edge leaving this block, make sure that the destination of this
1046 block has only one predecessor.
1048 2006-07-17 Richard Guenther <rguenther@suse.de>
1050 PR tree-optimization/28238
1051 * tree-inline.c (copy_bb): Check if we produced valid
1052 gimple copying and substituting a stmt. If not, gimplify
1055 2006-07-16 Eric Botcazou <ebotcazou@adacore.com>
1057 * optabs.c (maybe_encapsulate_block): New function extracted from...
1058 (emit_libcall_block): ...here. Invoke it on the block of insns to
1059 maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
1060 (emit_no_conflict_block): Likewise.
1062 2006-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
1064 * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
1066 2006-07-15 Roger Sayle <roger@eyesopen.com>
1068 * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
1069 a new NOP_EXPR case of the switch statement.
1071 2006-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
1074 * stor-layout.c (place_field): Take the bit field with
1075 an excessive size into account in the ms-bitfiled case.
1078 * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
1079 the previous bit field.
1081 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
1084 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
1086 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
1088 * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
1089 signal frames correctly even when the signal was installed with
1092 2006-07-14 Carlos O'Donell <carlos@codesourcery.com>
1094 * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
1095 (dbxout_function_end): Use local label LFBB. Remove hook
1097 (dbxout_source_line): Use local label LFBB.
1098 (dbxout_block): Likewise.
1099 (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
1100 (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
1101 * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
1102 and DBX_OUTPUT_NFUN.
1104 2006-07-13 Janis Johnson <janis187@us.ibm.com>
1106 * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
1108 2006-07-13 Jan Hubicka <jh@suse.cz>
1110 * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
1112 * output.h (align_variable): Declare.
1113 * varasm.c (align_variable): Export.
1114 * value-prof.c (tree_value_profile_transformations): Recompute iterator
1115 when basic block changed.
1117 2006-07-13 Nick Clifton <nickc@redhat.com>
1119 * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
1120 walking the LOG_LINKS chain.
1122 2006-07-12 Geoffrey Keating <geoffk@apple.com>
1124 * doc/invoke.texi (C++ Dialect Options): Explain difference
1125 between -fvisibility-inlines-hidden and setting hidden
1126 visibility explicitly.
1128 2006-07-12 Eric Christopher <echristo@apple.com>
1130 * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
1131 (stmp-lipo): Depend on libgcc.a.
1133 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
1135 * tree.c: Fix a comment typo.
1137 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
1139 * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
1141 (umulhisi3_r): Likewise.
1143 2006-07-12 Paolo Carlini <pcarlini@suse.de>
1146 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
1147 x < 19, vs wchar_t support.
1149 2006-07-12 Nick Clifton <nickc@redhat.com>
1151 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
1152 instead of -isa=sh4.
1154 2006-07-12 Mike Stump <mrs@apple.com>
1156 * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
1158 2006-07-10 Eric Christopher <echristo@apple.com>
1160 * config/t-slibgcc-darwin: Rewrite.
1162 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1165 * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
1168 2006-07-08 Matthias Klose <doko@debian.org>
1170 * doc/sourcebuild.texi: Fix typo.
1172 2006-07-07 Mike Stump <mrs@apple.com>
1174 * toplev.c (process_options): Don't give -ffunction-sections may
1175 affect debugging warning for Mach-O.
1177 2006-07-07 James E Wilson <wilson@specifix.com>
1179 * config/mips/mips.md (cpu): Add sb1a.
1180 * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
1181 addition to sb1. Adjust comments to clarify SB-1A differences from
1183 (ir_sb1a_load): New. Modify bypasses to use it.
1184 (ir_sb1a_simple_alu): Likewise.
1185 * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
1186 (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
1187 (mips_issue_rate): Add PROCESSOR_SB1A.
1188 (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
1189 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
1190 (TARGET_SB1): Add PROCESSOR_SB1A check.
1191 (TUNE_SB1): Likewise.
1193 * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
1194 * config/mips/mips.c (mips_store_data_bypass_p): New.
1195 * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
1196 store_data_bypass_p.
1198 2006-07-08 Paul Brook <paul@codesourcery.com>
1201 * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
1203 2006-07-07 Richard Guenther <rguenther@suse.de>
1206 * tree.h (build_one_cst): Declare.
1207 * tree.c (build_one_cst): New function.
1208 * tree-ssa-math-opts.c (get_constant_one): Remove.
1209 (insert_reciprocals): Use build_one_cst.
1210 * fold-const.c (fold_plusminus_mult): Likewise.
1212 2006-07-07 Roger Sayle <roger@eyesopen.com>
1214 * pointer-set.c (pointer_set_destroy): Correct whitespace.
1215 * cfgloopanal.c (dump_graph): Likewise.
1216 * dojump.c (discard_pending_stack_adjust): Likewise.
1217 * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
1219 * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
1220 * function.c (finalize_block_changes): Likewise.
1221 * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
1222 * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
1223 * rtl.c (dump_rtx_statistics): Likewise.
1224 * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
1226 * varray.c (dump_varray_statistics): Likewise.
1227 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
1228 decode_decimal64, encode_decimal128, decode_decimal128,
1229 decimal_real_to_decimal): Likewise.
1231 2006-07-07 Richard Guenther <rguenther@suse.de>
1233 PR tree-optimization/28187
1234 * tree-vrp.c (vrp_operand_equal_p): New function.
1235 (vrp_bitmap_equal_p): Likewise.
1236 (update_value_range): Use them to compare old and new
1239 2006-07-06 Roger Sayle <roger@eyesopen.com>
1241 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
1242 a default case to switch statement to silence compiler warnings.
1244 2006-07-06 Roger Sayle <roger@eyesopen.com>
1247 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
1248 the configured assembler supports the x87's ffreep mnemonic.
1249 * configure: Regenerate.
1250 * config.in: Regenerate.
1252 * config/i386/i386.c (output_387_ffreep): New function.
1253 (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
1254 (output_387_reg_move): Likewise.
1256 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
1258 Port to hosts whose 'sort' and 'tail' implementations
1259 treat operands with leading '+' as file names, as POSIX
1260 has required since 2001. However, make sure the code still
1261 works on pre-POSIX hosts.
1262 * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
1263 which says you should use "tail -c +N" rather than "tail +Nc".
1264 Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
1266 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
1268 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
1271 2006-07-06 David Edelsohn <edelsohn@gnu.org>
1274 * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
1275 PRE_{INC,DEC} of TFmode.
1277 2006-07-06 David Edelsohn <edelsohn@gnu.org>
1278 Alan Modra <amodra@bigpond.net.au>
1281 * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
1284 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1287 * config/alpha/predicates.md (alpha_swapped_comparison_operator):
1288 Remove duplicate gtu.
1290 2006-07-05 Jason Merrill <jason@redhat.com>
1294 * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
1295 * c-common.c (handle_packed_attribute): So don't copy it here.
1296 * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
1298 2006-07-05 Mike Stump <mrs@apple.com>
1300 * doc/invoke.texi (Invoking G++): Clarify prose for g++.
1302 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
1305 * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
1307 2006-07-05 Richard Guenther <rguenther@suse.de>
1310 * config/i386/i386.md (*negdf2_1): Restrict pattern to
1311 TARGET_SSE2 targets if using SSE math.
1312 (*absdf2_1): Likewise.
1314 2006-07-05 Richard Guenther <rguenther@suse.de>
1316 PR tree-optimization/28162
1317 * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
1318 make sure to convert the operands to the correct type.
1320 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
1322 PR tree-optimization/28218
1324 * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
1325 to calculate and free the dominator information.
1327 2006-07-04 Peter O'Gorman <peter@pogma.com>
1329 * mklibgcc.in: chmod 644 before ranlib during install.
1331 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
1332 J"orn Rennecke <joern.rennecke@st.com>
1334 * configure.ac (.eh_frame data check): Use diff -b.
1336 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
1339 * Makefile.in (BUILD_RTL): Add build/vec.o.
1340 (build/gencondmd.o): Filter out -fkeep-inline-functions.
1341 (build/genextract): Delete.
1342 (build/genautomata): Likewise.
1344 2006-07-04 Alan Modra <amodra@bigpond.net.au>
1347 * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
1348 128-bit IBM long doubles for ABI_V4.
1350 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
1352 * tree.c (range_in_array_bounds_p): New predicate.
1353 * tree.h (range_in_array_bounds_p): Declare it.
1354 * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
1355 return a less conservative answer.
1356 * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
1357 and flag 'is_group'.
1358 (IS_ELEMENT_FOR_GROUP): New macro.
1359 (FOR_EACH_ACTUAL_CHILD): Likewise.
1360 (next_child_for_group): New helper function.
1361 (can_completely_scalarize_p): Take into account groups.
1362 (sra_hash_tree): Handle RANGE_EXPR.
1363 (sra_elt_eq): Likewise.
1364 (lookup_element): Be prepared for handling groups.
1365 (is_valid_const_index): Delete.
1366 (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
1367 instead of is_valid_const_index.
1368 <ARRAY_RANGE_REF>: New case.
1369 (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
1370 is_valid_const_index.
1371 <ARRAY_RANGE_REF>: Do not unconditionally punt.
1372 (scan_dump): Dump info for groups too.
1373 (decide_instantiation_1): Likewise.
1374 (decide_block_copy): Assert that the element is not a group.
1375 Propagate decision to groups.
1376 (generate_one_element_ref): Handle RANGE_EXPR.
1377 (mark_no_warning): Iterate over actual childs.
1378 (generate_copy_inout): Likewise.
1379 (generate_element_copy): Likewise.
1380 (generate_element_zero): Likewise.
1381 (generate_element_init_1): Likewise.
1382 (dump_sra_elt_name): Handle RANGE_EXPR.
1384 2006-07-03 Roger Sayle <roger@eyesopen.com>
1386 PR tree-optimization/26251
1387 * tree-ssa-threadupdate.c (redirection_block_p): New function.
1388 (thread_block): When optimizing for size refuse to thread jumps
1389 that would require duplication of blocks other than redirection
1392 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1394 * configure.ac: Fix thinko in previous check-in.
1395 * configure: Regenerate.
1397 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1400 * configure.ac (for lang...): Simplify nesting of conditionals.
1401 Test subdir_requires for non-enabled languages. Move processing
1402 of lang_opt_files and lang_tree_fiels below that test.
1403 * configure: Regenerate.
1404 * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
1406 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
1408 * doc/gcov.texi (Invoking Gcov): Add a missing word.
1410 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
1412 * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
1415 2006-06-29 Jason Merrill <jason@redhat.com>
1422 * tree.c (build_decl_stat): Don't hande #pragma visibility here.
1423 * c-common.c (c_determine_visibility): Handle it here.
1424 * c-decl.c (finish_decl): Call c_determine_visibility for
1426 * flags.h (enum symbol_visibility): Sort from most to least visibility.
1428 * varasm.c (default_assemble_visibility): Likewise.
1429 * c-common.c (handle_visibility_attribute): Complain about trying
1430 to give visibility to an already defined class, or trying to change
1431 declared visibility. Always attach the attribute.
1436 * attribs.c (decl_attributes): Ignore type-in-place attributes
1437 once the type has been defined.
1439 2006-06-29 Roger Sayle <roger@eyesopen.com>
1442 * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
1443 to indicate the cpplib has issued an error message for us.
1445 2006-06-29 Asher Langton <langton2@llnl.gov>
1448 * config/i386/i386.c (ix86_output_function_epilogue): Don't
1449 insert a label at the end of an function under Mach-O.
1451 2006-06-29 Eric Christopher <echristo@apple.com>
1452 Evan Cheng <evan.cheng@apple.com>
1454 * predicates.md (vector_all_ones_operand): New.
1455 (nonimmediate_or_sse_const_operand): Ditto.
1456 * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
1457 * config/i386/i386.c (standard_sse_constant_opcode): Define.
1458 (standard_sse_mode_p): Ditto.
1459 (standard_sse_constant_p): Add case for -1 vector.
1460 (ix86_expand_vector_move): Try to use.
1461 * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
1462 Call standard_sse_constant_opcode.
1463 (*movv4sf_internal): Ditto.
1464 (*movv2df_internal): Ditto.
1466 2006-06-29 Roger Sayle <roger@eyesopen.com>
1468 * genpreds.c (write_match_code_switch): Correctly use XSTR instead
1469 of XEXP to extract the operands of a MATCH_CODE rtx.
1471 2006-06-28 Andrew Pinski <pinskia@gmail.com>
1473 * tree.c (tree_size): Do not waste tail padding in
1474 struct tree_string and make the size be the same as
1475 build_string will generate.
1477 2006-06-28 Jason Merrill <jason@redhat.com>
1480 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
1481 may_aliases already in the tag's annotations to the bitmap.
1483 2006-06-28 Roger Sayle <roger@eyesopen.com>
1485 * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
1487 2006-06-28 Roger Sayle <roger@eyesopen.com>
1489 * genpreds.c (generate_switch_p): New function.
1490 (add_mode_tests): Push the new mode test down inside an AND expr
1491 if this allows the switch-suitable MATCH_CODE to be near the root.
1492 (write_match_code_switch): New function to write a MATCH_CODE as
1494 (write_predicate_stmts): New function to write a predicate RTX
1495 expression as a sequence of statements.
1496 (write_one_predicate_function): Use write_predicate_stmts.
1497 (write_tm_constrs_h): Likewise.
1499 2006-06-26 Fred Fish <fnf@specifix.com>
1501 * config/mips/t-sb1: New file.
1502 * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
1505 2006-06-26 DJ Delorie <dj@redhat.com>
1507 * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
1509 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
1510 Jayant Sonar <jayants@kpitcummins.com>
1511 Jaydeep Vipradas <jaydeepv@kpitcummins.com>
1513 * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
1514 (subsi3, subsi3_1, subsi3_2): New.
1515 * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
1516 * config/m32c/mov.md (SI mov peephole): New.
1517 * config/m32c/m32.c (m32c_immd_dbl_mov): New.
1518 * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
1520 2006-06-26 Olivier Hainque <hainque@adacore.com>
1522 * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
1523 a CALL_EXPR target function declaration.
1525 2006-06-26 Richard Guenther <rguenther@suse.de>
1527 * tree.c (build_string): Do not waste tail padding in
1530 2006-06-26 Richard Guenther <rguenther@suse.de>
1532 * ggc-page.c (init_ggc): Add missing element to size_lookup
1536 2006-06-23 Richard Guenther <rguenther@suse.de>
1538 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1539 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1540 alignment requests instead. Add verification code.
1541 Add struct tree_function_decl and struct tree_binfo size to
1542 extra_order_size_table. Add missing element to size_lookup
1545 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
1548 * fold-const.c (const_binop): Be prepared for self returning zero.
1549 Simplify code handling complex values.
1551 2006-06-24 Olivier Hainque <hainque@adacore.com>
1553 * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
1554 (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
1557 2006-06-24 Olivier Hainque <hainque@adacore.com>
1559 * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
1560 ARRAY_REF, so have the callback called for the low bound expression.
1562 2006-06-23 Janis Johnson <janis187@us.ibm.com>
1564 * tree.h (DECIMAL_FLOAT_TYPE_P): New.
1565 * c-typeck.c (c_common_type): Disallow operations on decimal float
1566 types and other float types.
1567 * convert.c (convert_to_real): Don't ignore conversions involving
1568 decimal float types.
1570 2006-06-23 Olivier Hainque <hainque@adacore.com>
1572 * tree.c (max_int_size_in_bytes): New function, inspired from
1573 code in function.c:assign_temp.
1574 * tree.h (max_int_size_in_bytes): Declare.
1575 * function.c (assign_temp): Use it.
1576 * gimplify.c (create_tmp_var): Relax the assertions on the type
1577 properties, not mandating constant size any more.
1578 (force_constant_size): New static function.
1579 (gimple_add_tmp_var): Use it, forcing variable size to a
1580 constant upper bound if it is not constant on entry.
1582 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1585 * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
1586 for initialization and setting of one_only flag to ...
1587 (i386_pe_encode_section_info): ...here.
1588 (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
1589 Recheck that the symbol has not been defined.
1591 2006-06-23 Richard Guenther <rguenther@suse.de>
1593 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1594 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1595 alignment requests instead. Add verification code.
1596 Add struct tree_function_decl and struct tree_binfo size to
1597 extra_order_size_table. Add missing element to size_lookup
1600 2006-06-22 Roger Sayle <roger@eyesopen.com>
1601 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1604 * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
1605 call to lang_hooks.types.type_for_mode returned NULL_TREE.
1607 2006-06-23 Ben Elliston <bje@au.ibm.com>
1609 * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
1610 negate dn -- manipulate it directly.
1612 2006-06-22 Roger Sayle <roger@eyesopen.com>
1613 Steven Bosscher <stevenb.gcc@gmail.com>
1616 * reload1.c (gen_reload): Call mark_jump_label on the new insns
1617 generated by gen_move_insn to add REG_LABEL notes if necessary.
1619 2006-06-22 Bob Wilson <bob.wilson@acm.org>
1621 * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
1622 (leaf_entry): Remove use of MIN_ESA.
1624 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
1626 PR rtl-optimization/28121
1627 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
1630 2006-06-21 DJ Delorie <dj@redhat.com>
1632 * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
1634 (mulhisi3_r): Likewise.
1636 2006-06-21 Richard Sandiford <richard@codesourcery.com>
1639 * coverage.c (coverage_counter_alloc): Leave the index type
1641 (coverage_counter_alloc): Use null arguments for operands 2 and 3
1644 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
1646 * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
1647 section from the "Options for Code Generation Conventions".
1649 2006-06-21 Richard Henderson <rth@redhat.com>
1653 * config/alpha/predicates.md (small_symbolic_operand): Deny weak
1655 (global_symbolic_operand): Allow weak symbols, even if local_p.
1657 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
1659 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
1660 (find_interesting_uses_address): Punt if above function returns true.
1662 2006-06-21 Richard Guenther <rguenther@suse.de>
1664 * configure: Regenerated.
1666 2006-06-21 Joseph Myers <joseph@codesourcery.com>
1668 * config/mips/mips.c (function_arg): Where one part of a
1669 complex argument is in registers and the other part in the stack,
1670 return a REG not a PARALLEL.
1672 2006-06-21 Mark Mitchell <mark@codesourcery.com>
1674 * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
1675 when cross-compiling. Do not substitute libstdcxx_incdir.
1676 * configure: Regenerated.
1678 2006-06-21 Jakub Jelinek <jakub@redhat.com>
1680 * varasm.c (mergeable_string_section): Check for embedded NULs and
1681 NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
1682 rather than TREE_STRING_LENGTH bytes.
1684 2006-06-21 Richard Guenther <rguenther@suse.de>
1686 * ggc-page.c (extra_order_size_table): Add var_ann_d,
1687 tree_ssa_name, bitmap_element and phi_node with 4 arguments
1690 2006-06-21 Richrad Guenther <rguenther@suse.de>
1692 * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
1693 Limit iteration over the dominators.
1695 2006-06-20 Roger Sayle <roger@eyesopen.com>
1697 * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
1698 (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
1700 2006-06-20 Richard Guenther <rguenther@suse.de>
1701 Michael Matz <matz@suse.de>
1703 * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
1705 * alloc-pool.c (free_alloc_pool_if_empty): New function.
1706 * et-forest.h (et_free_pools): Prototype new function.
1707 * et-forest.c (et_free_tree_force): Free parent occurrence.
1708 (et_free_pools): New function.
1709 * dominance.c (free_dominance_info): Free et-forest alloc
1712 2006-06-20 Roger Sayle <roger@eyesopen.com>
1714 * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
1715 integer modes, attempt to directly construct an integer constant.
1717 * fold-const.c (native_encode_vector): Determine the size of each
1718 element from the vector type instead of the first vector element.
1720 * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
1721 if all of its elements/components are constant.
1722 (build_constructor_from_list): Likewise.
1724 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
1726 PR tree-optimization/27331
1727 * tree-data-ref.c (free_data_ref): New function.
1728 (create_data_ref): Fail if the data reference has unknown access
1730 (free_data_refs): Use free_data_ref.
1732 2006-06-19 Andrew Pinski <pinskia@gmail.com>
1735 * tree-inline.c (setup_one_parameter): Strip useless
1736 type conversion before adding it to the IR.
1737 (declare_return_variable): Likewise.
1739 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
1742 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
1744 2006-06-19 Mike Stump <mrs@apple.com>
1746 * tree.c (variably_modified_type_p): VM arguments don't make the
1749 2006-06-19 Richard Guenther <rguenther@suse.de>
1751 * tree-ssa-pre.c (try_combine_conversion): Strip useless
1752 type conversions after folding.
1754 2006-06-19 Richard Guenther <rguenther@suse.de>
1756 * ggc-page.c (extra_order_size_tab): Add entries with
1757 size of struct function and basic_block.
1758 (size_lookup): Extend to cover sizes up to 511.
1759 (ggc_alloc_stat): Adjust user.
1760 (ggc_pch_count_object): Likewise.
1761 (ggc_pch_alloc_object): Likewise.
1762 (ggc_pch_write_object): Likewise.
1764 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
1766 * tree-ssa-loop-niter.c (implies_ge_p): New function.
1767 (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
1770 2006-06-19 Denis Chertykov <denisc@overta.ru>
1772 * config/avr/libgcc.S : Correct my wrong previous commit.
1774 2006-06-19 Roger Sayle <roger@eyesopen.com>
1777 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
1778 have stripped a SUBREG from the shift count, so we may need to
1779 convert_to_mode back to the type's mode before calling make_tree.
1780 Use new_amount instead of amount to avoid expanding a tree twice.
1782 2006-06-19 Richard Guenther <rguenther@suse.de>
1785 * fold-const.c (operand_equal_p): Check if the argument types
1786 have the same precision before stripping NOPs.
1788 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
1790 Fix PR tree-optimization/27341
1791 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
1793 * tree-complex.c (pass_lower_complex): Update SMT usage.
1795 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
1797 * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
1798 Add a new alternative to the constraint strings. Add move of
1799 operand 1 to 3 to the splitter definition.
1800 ("doloop_si_long"): Second contraint alternative removed.
1802 2006-06-08 Anatoly Sokolov <aesok@post.ru>
1804 * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
1805 (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
1807 (AVR_HAVE_MOVW) Define.
1808 (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
1809 (ASM_SPEC): Add avr25.
1810 (LINK_SPEC): Add avr25.
1811 * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
1812 (base_arch_s): Add new member 'have_movw_lpmx'.
1813 (avr_arch_types): Init 'have_movw_lpmx'.
1814 (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
1815 attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
1816 attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
1817 (avr_override_options): Init 'avr_have_movw_lpmx_p'.
1818 (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
1820 (avr_file_start): Do not output '.arh' derective.
1821 * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
1822 (__do_copy_data): Use __AVR_HAVE_LPMX__.
1823 * config/avr/avr.md (mcu_enhanced): Delete.
1824 (mcu_have_movw): Define.
1825 (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
1826 (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
1827 * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
1828 (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
1829 attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
1830 attiny861 and at86rf401 devices.
1832 2006-06-18 Jie Zhang <jie.zhang@analog.com>
1834 * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
1837 2006-06-17 Karl Berry <karl@gnu.org>
1839 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
1840 doc/gccint.texi, doc/install.texi (@dircategory): Use
1841 "Software development" instead of "Programming", following
1842 the Free Software Directory.
1844 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
1846 * config/i386/i386.c (legitimate_tls_address)
1847 <TARGET_GNU2_TLS>: Add tp after DTPOFF.
1848 * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
1849 (*tls_dynamic_gnu2_combine_64): Likewise.
1851 2006-06-16 Richard Guenther <rguenther@suse.de>
1854 * fold-const.c (negate_expr_p): Do not introduce undefined
1855 overflow in negating INTEGER_CSTs.
1856 (fold_negate_expr): Rename from negate_expr. Revert last
1857 change for folding BIT_NOT_EXPR. Change semantics to
1858 return NULL_TREE for non-simplified negations. Do not
1859 strip type conversions and unify type handling.
1860 (negate_expr): New function, wrap around fold_negate_expr
1861 but ensure building a tree always. Strip type conversions
1862 here, fold to result type.
1863 (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
1865 2006-06-16 Roger Sayle <roger@eyesopen.com>
1868 * reg-stack.c (subst_stack_regs): Handle noreturn function calls
1869 that (would) return their results in stack registers.
1871 2006-06-16 Michael Matz <matz@suse.de>
1872 Richard Guenther <rguenther@suse.de>
1874 * fold-const.c (fold_truthop): Only return new tree node if
1875 we canonicalized something.
1877 2006-06-16 Richard Guenther <rguenther@suse.de>
1879 * function.h (enum function_frequency): Move declaration
1880 out of struct function.
1881 (struct function): Move bool fields and the enum to the bitfield
1882 section. Reorder elements to avoid padding. Remove unused
1883 fields left over from the RTL inliner removal.
1884 * function.c (free_after_compilation): Do not zero removed fields.
1885 * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
1886 (ipa-type-escape.o): Likewise.
1888 2006-06-16 Richard Guenther <rguenther@suse.de>
1890 * cgraph.h (struct cgraph_local_info): Turn bool elements
1892 (struct cgraph_node): Likewise.
1893 (struct cgraph_varpool_node): Likewise.
1895 2006-06-15 Richard Guenther <rguenther@suse.de>
1897 * fold-const.c (fold_truth_not_expr): Rename from
1898 invert_truthvalue. Give it fold_* semantics to avoid
1900 (invert_truthvalue): New function. Wrapper around
1901 fold_truth_not_expr.
1902 (optimize_minmax_comparison): Avoid creating garbage.
1903 (fold_unary): Use fold_truth_not_expr for folding
1905 (fold_ternary): Replace uses of invert_truthvalue with
1906 fold_truth_not_expr where applicable.
1907 * tree.h (fold_truth_not_expr): Prototype.
1909 2006-06-16 Richard Guenther <rguenther@suse.de>
1911 PR tree-optimization/27781
1912 * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
1913 * ipa-pure-const.c (target.h): Include.
1914 (analyze_function): Do not analyze functions that do not
1917 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
1920 * tree-dfa.c (referenced_vars_dup_list): Remove.
1921 (find_referenced_vars): Remove assert.
1922 (referenced_var_check_and_insert): Replace dup list with assert.
1923 * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
1924 * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
1926 2006-06-15 Richard Guenther <rguenther@suse.de>
1928 * tree-ssa-structalias.c (alias_get_name): Avoid creating
1929 extra unused identifiers if not dumping.
1930 (create_variable_info_for): Likewise.
1932 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
1934 * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
1935 (derive_constant_upper_bound): Derive more precise upper bound in
1936 common cases. Return type changed to double_int.
1937 (record_estimate): Reflect the changed return type of
1938 derive_constant_upper_bound.
1939 * double-int.c (double_int_zext, double_int_sext): Fix.
1941 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
1943 * configure.ac (CFLAGS): Get them from the toplevel or from the
1944 configure invocation.
1945 * configure: Regenerate.
1946 * Makefile.in (CFLAGS): Substitute value provided by configure.
1948 2006-06-14 Mark Mitchell <mark@codesourcery.com>
1951 * c-common.h (c_finish_omp_atomic): Adjust declaration.
1952 * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
1953 rather than calling add_stmt on it.
1954 * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
1956 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
1959 * reload1.c (reload): Remove registers returned by update_eliminables
1960 from used_spill_regs.
1962 2006-06-13 DJ Delorie <dj@redhat.com>
1964 * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
1966 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
1968 * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
1969 html__strip_dir, html__mkdir_p. Enhance install-html target.
1970 * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
1971 * configure: Regenerate.
1973 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
1975 * fold-const.c (fold_cond_expr_with_comparison): Check for
1976 Objective-C++ as language in deciding COND_EXPR transformation.
1978 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
1981 * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
1982 * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
1983 * config/sh/lib1funcs.h (SL, SL1): Define.
1984 * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
1985 * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
1986 * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
1987 (OBJS_Os_4_200): New variable.
1988 ($(T)libgcc-Os-4-200.a): Use it.
1989 * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
1990 when dividing 1 and/or by 0.
1992 2006-06-13 Roger Sayle <roger@eyesopen.com>
1994 * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
1995 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
1996 * configure: Regenerate.
1998 2006-06-13 Jie Zhang <jie.zhang@analog.com>
2000 * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
2001 for real instruction.
2003 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2006 * haifa-sched.c (check_cfg): Handle special case.
2008 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
2011 * gimplify.c (declare_tmp_vars): Rename into declare_vars.
2012 Add debug_info parameter. Chain the vars to the BLOCK instead
2013 of the BIND_EXPR if debug info are requested for them.
2014 (pop_gimplify_context): Adjust for above change.
2015 (gimple_add_tmp_var): Likewise.
2016 * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
2018 * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
2019 (convert_local_reference): Likewise.
2020 (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
2021 (finalize_nesting_tree_1): Request that debug info be emitted
2022 for debug_var_chain.
2024 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2026 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
2027 for PR target/27863.
2029 2006-06-13 Richard Guenther <rguenther@suse.de>
2032 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
2034 2006-06-13 Richard Guenther <rguenther@suse.de>
2036 PR tree-optimization/27830
2037 * tree-inline.c (copy_body_r): For copying the operand
2038 of an ADDR_EXPR make sure to fold &* afterwards.
2040 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
2042 * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
2043 lvalues in the fb_none case with side-effects.
2045 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
2047 * tree-flow.h: Remove the prototype for
2048 compute_phi_arg_on_exit.
2049 * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
2050 protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
2053 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
2055 * builtins.c (expand_builtin_return_addr): Only use
2056 frame_pointer_rtx when count == 0 and we are expanding
2057 __builtin_return_address.
2059 2006-06-12 Fred Fish <fnf@specifix.com>
2061 * config/mips/mips.c (mips_file_start): Create special section
2062 ".gcc_compiled_longXX" for o64 ABI as well as EABI.
2064 2006-06-11 Eric Christopher <echristo@apple.com>
2067 * stor-layout.c (place_field): Remove check for
2068 remaining_in_alignment when aligning at the end of a run.
2070 2006-06-11 Eric Christopher <echristo@apple.com>
2073 * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
2076 2006-06-11 Roger Sayle <roger@eyesopen.com>
2079 Revert incorrect fix for PR target/27158
2080 2006-05-08 Roger Sayle <roger@eyesopen.com>
2081 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
2082 of a reg_equiv_constant if the result is a legitimate constant.
2084 2006-06-11 Roger Sayle <roger@eyesopen.com>
2087 * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
2088 extract a CONST_VECTOR element and interpret it as an integer.
2089 (vspltis_constant): Use const_vector_elt_as_int instead of the
2090 macro CONST_VECTOR_ELT in order to handle FP vector modes.
2091 * config/rs6000/predicates.md (easy_vector_const): Consider
2092 floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
2094 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
2097 * stor-layout.c (update_alignment_for_field): Don't add extra
2098 alignment for packed non-bitfield fields in ms_bitfield_layout_p
2101 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
2103 * config/mips/t-rtems: Add EL/EB multilib variants.
2105 2006-06-09 Mike Stump <mrs@apple.com>
2107 * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
2109 2006-06-09 David Daney <ddaney@avtrex.com>
2111 * doc/install.texi: Add binutils version recommendation for mips-*-*.
2113 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
2115 * reload.c (find_reloads): Unset force_reload for 'X' constraint.
2117 2006-06-09 Richard Guenther <rguenther@suse.de>
2119 PR tree-optimization/26998
2120 * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
2121 of signed types, only TYPE_MIN_VALUE is special, but for both,
2122 minimum and maximum value. Likewise VR_ANTI_RANGE is special
2123 in this case, as is -fwrapv.
2125 2006-06-08 Mike Stump <mrs@apple.com>
2128 * config/darwin.c (darwin_asm_output_anchor): Disable
2129 -fsection-anchors on darwin for now.
2130 * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
2131 * rs6000/rs6000.c (optimization_options): Likewise.
2133 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2136 * config/i386/i386.c (classify_argument): Skip fields with invalid
2139 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
2141 * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
2142 (cse_insn): Likewise for the stack_pointer_rtx.
2144 2006-06-08 Roger Sayle <roger@eyesopen.com>
2146 * tree-ssa-dom.c (record_conditions): Only record "unordered"
2147 conditions from floating point comparisons.
2149 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
2152 * expmed.c (struct alg_hash_entry): Fix type of field T
2153 to match synth_mult argument.
2154 (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
2156 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2159 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
2162 2006-06-08 Richard Guenther <rguenther@suse.de>
2165 * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
2166 only, if overflow is defined and not trapping.
2167 (negate_expr): Likewise.
2169 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
2171 PR tree-optimization/27872
2172 * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
2173 flag on the new exit edge of the unrolled loop.
2175 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
2177 PR rtl-optimization/26449
2178 * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
2180 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
2183 * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
2184 referenced_variables with matching DECL_UID's.
2185 (find_referenced_vars): Make sure duplicate list is empty to start.
2186 (referenced_var_p): Remove.
2187 (referenced_var_check_and_insert): Renamed from referenced_var_insert.
2188 Check if var is in the list, and add if needed. Update the duplicate
2189 list if a different var is in the list with the same DECL_UID.
2190 (add_referenced_var): Call routine to check and insert.
2191 * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
2192 * tree-flow.h (referenced_vars_dup_list): External declaration.
2194 2006-06-07 Fred Fish <fnf@specifix.com>
2196 * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
2199 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
2202 * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
2203 the imaginary and real parts of a clobbered register.
2204 Emit insn to set the imaginary part.
2206 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
2208 * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
2209 in lieu of unwind-dw2-fde.c.
2211 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
2213 * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
2215 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
2218 * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
2219 ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
2220 ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
2221 V4SImode temporaries and operations instead.
2223 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
2225 * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
2228 2006-06-06 Mike Stump <mrs@apple.com>
2230 * Makefile.in: Rename to htmldir to build_htmldir to avoid
2231 installing during build.
2233 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2235 * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
2237 * doc/invoke.texi (max-sched-extend-regions-iters): Document.
2238 * config/ia64/ia64.c (params.h): New header.
2239 (ia64_optimization_options): New function to adjust parameters.
2240 * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
2241 * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
2242 * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
2244 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
2246 * stor-layout.c (debug_rli): Fix a typo in a debug message.
2248 2006-06-05 Steve Ellcey <sje@cup.hp.com>
2251 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
2253 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
2254 Victor Kaplansky <victork@il.ibm.com>
2256 PR tree-optimization/26360
2257 * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
2260 2006-06-04 Roger Sayle <roger@eyesopen.com>
2261 Andrew Pinski <pinskia@physics.uc.edu>
2264 * c-common.c (c_common_truthvalue_conversion): Explicitly check
2265 for LABEL_DECL before calling DECL_WEAK.
2268 * c-typeck.c (build_binary_op): Likewise, explicitly check for
2269 LABEL_DECL and PARM_DECL.
2271 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
2275 * c-decl.c (grokdeclarator): Disallow variably modified types at
2276 file scope. Avoid marking shared array type of constant size as
2279 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2282 * c-common.c (fold_offsetof_1): Handle static members.
2284 2006-06-04 Eric Christopher <echristo@apple.com>
2286 * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
2287 (debug_rli): Output value for remaining_in_alignment.
2288 (update_alignment_for_field): Unconditionalize
2289 ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
2290 extra alignment code.
2291 (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
2292 ms_bitfield_layout_p code. Rewrite handling of structure fields.
2293 * tree.h (record_layout_info_s): Remove prev_packed.
2294 * doc/extend.texi (ms_struct): Add documentation of format.
2296 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
2298 * tree.h: Declare folding_initializer.
2299 * builtins.c (fold_builtin_constant_p): Give definite answer
2300 if folding inside an initializer.
2301 * fold-const.c: Define folding_initializer.
2302 (START_FOLD_INIT): Save and then set folding_initializer.
2303 (END_FOLD_INIT): Restore folding_initializer.
2305 2006-06-04 Richard Guenther <rguenther@suse.de>
2307 PR tree-optimization/27039
2308 * fold-const.c (fold_comparison): Handle pointer comparison
2309 again for all comparison codes. Compare offsets in signed
2311 (fold_binary): Move code from here.
2313 2006-06-03 Roger Sayle <roger@eyesopen.com>
2316 * config/i386/i386.c (construct_container): Split static issued_error
2317 flag into issued_sse_arg_error, issued_sse_ret_error and
2318 issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
2319 requires the use of x87 registers and the user explicitly
2320 specified the -mno-80387 command line option.
2322 2006-06-02 Geoffrey Keating <geoffk@apple.com>
2324 * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
2325 HAVE_DECL_SIGALTSTACK.
2327 (segv_handler): Use MC_FLD.
2328 * configure.ac: Check for a sigaltstack declaration.
2329 Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
2330 * configure: Regenerate.
2331 * config.in: Regenerate.
2333 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
2336 * Makefile.in (stmp-fixinc): Fix typo.
2338 2006-06-02 Roger Sayle <roger@eyesopen.com>
2340 * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
2341 are type correct. Clean-up.
2342 <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
2343 <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
2345 2006-06-01 DJ Delorie <dj@redhat.com>
2347 * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
2348 shift, as we've disabled the "switch" insn that needs it.
2350 2006-06-01 Per Bothner <bothner@bothner.com>
2352 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
2353 * c-opts.c (finish_options): Use internal line 0 for <command-line>.
2354 * c-ppoutput.c (cb_define): Don't increment line 0.
2356 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
2358 * doc/invoke.texi: Add cpu_type power6.
2359 * config.gcc: Add cpu_type power6.
2360 * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
2361 to power5+ with Altivec.
2362 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
2363 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
2365 2006-05-30 Anatoly Sokolov <aesok@post.ru>
2367 * config/avr/avr.h (SET_ASM_OP): Define.
2369 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
2371 * config/bfin/bfin.c: Fix comment typos.
2373 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
2376 * doc/install.texi: Document --enable-bootstrap and
2377 --disable-bootstrap.
2379 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
2381 * doc/install.texi: Document that InfoZIP can replace jar.
2383 2006-05-31 Roger Sayle <roger@eyesopen.com>
2385 * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
2386 isn't available, directly generate the simpler x87 patterns without
2387 the (use (const_int 0)).
2388 * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
2389 implementation isn't available.
2390 (*negdf2_1): Likewise.
2391 (*negxf2_1): XF mode negation is always done using the x87.
2392 (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
2394 2006-05-31 Roger Sayle <roger@eyesopen.com>
2396 * builtins.c (fold_builtin_cabs): Delete prototype. Require an
2397 additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
2399 (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
2401 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2403 * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
2404 * config/bfin/bfin.c (basic-block.h): Include.
2405 (struct machine_function): New.
2406 (bfin_init_machine_status): New.
2407 (override_options): Initialize init_machine_status.
2408 (bfin_hardware_loop): New.
2409 (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
2410 (DEF_VEC_P (loop_info)): New.
2411 (DEF_VEC_ALLOC_P (loop_info,heap)): New.
2412 (struct loop_info): New.
2413 (loop_info): New typedef.
2414 (struct loop_work): New.
2415 (loop_work): New typedef.
2416 (DEF_VEC_O (loop_work)): New.
2417 (DEF_VEC_ALLOC_O (loop_work,heap)): New.
2418 (bfin_dump_loops): New.
2419 (bfin_bb_in_loop): New.
2420 (bfin_scan_loop): New.
2421 (bfin_optimize_loop): New.
2422 (bfin_reorg_loops): New.
2423 (bfin_reorg): Use bfin_reorg_loops.
2424 * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
2426 (I_REGNO_P): Simplify.
2427 (DP_REGNO_P, DPREG_P): New macros.
2428 (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
2429 REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
2430 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
2431 Add LT_REGS, LC_REGS, LB_REGS.
2432 (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
2434 (REGNO_REG_CLASS): Deal with loop registers.
2435 * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
2437 (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
2438 New constants for loop registers.
2439 (UNSPEC_LSETUP_END): New.
2440 (seq_insns): New define_attr. Set it for appropriate insns.
2441 (movsi_insn): Add alternatives for move from/to
2442 loop count registers.
2443 (doloop_end): New define_expand.
2444 (loop_end): New define_insn.
2445 (define_split for bad doloop_end): New.
2446 (lsetup_with_autoinit): New define_insn.
2447 (lsetup_without_autoinit): New define_insn.
2448 (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
2449 * config/bfin/predicates.md (lc_register_operand): New.
2450 (lt_register_operand): New.
2451 (lb_register_operand): New.
2452 (nondp_register_operand): New.
2453 (nondp_reg_or_memory_operand): New.
2454 * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
2456 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2458 * config/bfin/bfin.c (bfin_delegitimize_address): New.
2459 (TARGET_DELEGITIMIZE_ADDRESS): Define.
2461 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
2463 * Makefile.in (CATALOGS): Add po/ prefix.
2464 * configure: Regenerated.
2466 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
2469 * arm.c (arm_print_operand case 'S'): Validate that the operand is
2470 a shift operand before calling shift_op. Avoid redundant call of
2473 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
2474 DJ Delorie <dj@redhat.com>
2476 * config/m32c/m32c.c (m32c_expand_insv): Check that the value
2477 we're inserting is a singlt-bit constant.
2479 2006-05-30 Roger Sayle <roger@eyesopen.com>
2481 * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
2482 width to HOST_WIDE_INT to avoid comparison warnings on some targets.
2484 2006-05-30 Roger Sayle <roger@eyesopen.com>
2486 PR tree-optimization/23452
2487 * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
2488 to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
2489 (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
2490 complex values and with -ffast-math for FP complex values.
2492 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
2494 * c-common.h: Remove the prototype for yyparse.
2495 * rtl.h: Remove the prototype for init_loop.
2497 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
2499 * cse.c (validate_canon_reg, cse_insn): Don't change insns without
2502 2006-05-30 Roger Sayle <roger@eyesopen.com>
2504 * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
2506 <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
2507 log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
2509 2006-05-30 Dirk Mueller <dmueller@suse.de>
2512 * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
2513 for CONSTANT_CLASS_P expresisons.
2515 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2518 * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
2520 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
2522 PR tree-optimization/27779
2523 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
2524 initial_condition instead of CHREC_LEFT.
2526 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
2528 * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
2529 * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
2530 Make prototypes ISO C90.
2532 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
2533 Leehod Baruch <leehod.baruch@weizmann.ac.il>
2535 * see.c (see_analyze_one_def): Correct check.
2536 (see_get_extension_data): Check if extension is parallel.
2537 (see_get_extension_reg): Likewise.
2539 2006-05-30 Uros Bizjak <uros@kss-loka.si>
2542 * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
2543 into register for (code == GTU).
2545 2006-05-29 Roger Sayle <roger@eyesopen.com>
2547 PR tree-optimization/24964
2548 * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
2549 <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
2550 signaling NaNs. Optimize -x*-x as x*x for all float modes, and
2551 abs(x)*abs(x) as x*x for scalar floating point modes.
2553 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
2556 * lambda-code.c (perfect_nestify): Don't copy statements
2557 in the inner loop: move them to the inner loop header.
2559 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2562 * c-tree.texi: Document OpenMP directives and clauses.
2564 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2566 * varasm.c (globalize_decl): Fix indentation.
2568 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2571 * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
2572 pass_fre, pass_store_ccp, pass_copy_prop,
2573 pass_store_copy_prop, pass_merge_phi, pass_nrv,
2574 pass_return_slot, pass_object_size, pass_lim,
2575 pass_linear_transform, pass_empty_loop, pass_complete_unroll,
2576 pass_loop_prefetch and pass_stdarg.
2578 2005-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
2580 * config/bfin/bfin.opt (mfdpic): New option.
2581 * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
2582 (EXTRA_MULTILIB_PARTS): Likewise.
2583 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
2584 (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
2586 * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
2587 (CRT_CALL_STATIC_FUNCTION): New.
2588 * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
2590 (CRT_CALL_STATIC_FUNCTION): New.
2591 * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
2593 (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
2594 (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
2595 (initialize_trampoline): Changed to handle FD-PIC code generation.
2596 (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
2597 (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
2598 (override_options): Disallow -mid-shared-library -mfdpic combination.
2599 Can't do unaligned ops if FD-PIC.
2600 Turn off flag_pic if trying to generate non-id-shared-library
2601 non-fdpic code, since it's not supported.
2602 (bfin_assemble_integer): New function.
2603 (TARGET_ASM_INTEGER): Define.
2604 * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
2606 * config/bfin/crtn.s: Restore them.
2607 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
2609 (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
2610 LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
2611 (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
2612 (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
2613 (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
2615 (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
2616 FDPIC_REGS and FDPIC_FPTR_REGS.
2617 (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
2618 * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
2619 UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
2620 (load_funcdescsi): New pattern.
2621 (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
2622 sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
2623 call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
2625 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2627 * gcse.c, rtlanal.c: Remove obsolete comments associated with
2630 * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
2632 * tree-flow.h: Remove the prototype for add_type_alias.
2633 * tree-ssa-alias.c (add_type_alias): Remove.
2635 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
2637 * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
2638 config/fr30/fr30.md, config/i386/i386-interix.h,
2639 config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
2640 config/sh/superh64.h, config/v850/v850.c, df-core.c,
2641 df-problems.c, df.h, except.c, final.c, haifa-sched.c,
2642 lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
2643 reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
2644 tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
2645 Follow spelling conventions.
2646 * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
2647 Follow spelling conventions.
2649 2006-05-27 Richard Guenther <rguenther@suse.de>
2652 * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
2653 to produce a constant of value 1 of generic type.
2655 2006-05-27 Dirk Mueller <dmueller@suse.de>
2657 * cgraphunit.c (decide_is_function_needed): Fix wrong
2660 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
2662 PR rtl-optimization/27661
2663 * reload.c (find_reloads): When reloading a VOIDmode constant
2664 as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
2665 use Pmode as mode of the reload register.
2667 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
2669 * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
2670 is enabled at -O and above.
2672 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
2675 * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
2678 2006-05-25 Mark Mitchell <mark@codesourcery.com>
2681 * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
2682 for anonymous variables explicitly declared by front ends.
2684 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2686 * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
2687 (struct alias_info): Add new field ref_all_symbol_mem_tag.
2688 * tree-ssa-alias.c (compute_may_aliases): If the program contains
2689 ref-all pointers, run a finalization pass for them.
2690 (compute_flow_insensitive_aliasing): Skip ref-all pointers.
2691 (finalize_ref_all_pointers): New function.
2692 (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a
2693 regular pointer type to a ref-all pointer type.
2694 (get_tmt_for): Return the special memory tag for ref-all pointers.
2696 2006-05-25 Richard Guenther <rguenther@suse.de>
2699 * fold-const.c (fold_binary): Do not look at the stripped
2700 op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.
2702 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2704 * tree-vrp.c (extract_range_from_assert): Set the range to VARYING
2705 for LT and GT if the computed range is effectively empty.
2707 2006-05-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2710 * pa/pa-modes.def: Use mips_single_format, mips_double_format and
2711 mips_quad_format formats instead of ieee_single_format,
2712 ieee_double_format and ieee_quad_format formats, respectively.
2714 2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
2716 PR tree-optimization/27639
2717 PR tree-optimization/26719
2718 * tree-vrp.c (adjust_range_with_scev): Use scev_direction and adjust
2719 call to scev_probably_wraps_p.
2720 * tree-ssa-loop-niter.c (compare_trees, convert_step_widening,
2721 used_in_pointer_arithmetic_p, convert_step): Removed.
2722 (nowrap_type_p): New function.
2723 (scev_probably_wraps_p): Rewritten.
2724 * tree-scalar-evolution.c (instantiate_parameters_1): Do not call
2725 chrec_convert if chrec_convert_aggressive might have been used.
2726 * tree-chrec.c (convert_affine_scev, chrec_convert_1,
2727 scev_direction): New functions.
2728 (chrec_convert): Changed to a wrapper over chrec_convert_1.
2729 * tree-ssa-loop-ivopts.c (idx_find_step): Use convert_affine_scev
2730 instead of convert_step.
2731 * tree-flow.h (scev_probably_wraps_p): Declaration changed.
2732 (convert_step): Declaration removed.
2733 (convert_affine_scev, nowrap_type_p, scev_direction): Declare.
2735 2006-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
2737 * df-core.c: Added to header comments.
2738 * df.h (df_ru_bb_info, df_rd_bb_info, df_lr_bb_info,
2739 df_ur_bb_info, df_urec_bb_info): Added comments.
2740 * df-problems (df_ref_bitmap, ru, rd, lr, ur,
2741 urec, ri problems): Fixed header comments.
2742 (df_ru_transfer_function): Fixed in-out set dyslexia when copying
2743 code from df_rd_transfer_function.
2745 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2747 * libgcc2.c (LIBGCC2_MAX_UNITS_PER_WORD): New macro.
2748 (LIBGCC2_UNITS_PER_WORD): Use LIBGCC2_MAX_UNITS_PER_WORD rather than
2749 MIN_UNITS_PER_WORD to set the default. Also use it in the guard.
2751 2006-05-23 Joseph Myers <joseph@codesourcery.com>
2753 * expr.c (undefined_operand_subword_p): New.
2754 (emit_move_multi_word): Do not generate move from undefined bits
2755 of a paradoxical subreg.
2757 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2759 PR rtl-optimization/27736
2760 * combine.c (replaced_rhs_value): New variable.
2761 (combine_instructions): Set it.
2762 (distribute_notes): When distributing a note in replaced_rhs_insn,
2763 check whether the value was used in replaced_rhs_value.
2765 2006-05-23 Andrew MacLeod <amacleod@redhat.com>
2768 * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
2769 add_referenced_var instead of add_referenced_tmp_var.
2770 * tree-complex.c (create_one_component_var): Use add_referenced_var.
2771 * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
2773 * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
2774 tree_optimize_tail_calls_1): Use add_referenced_var.
2775 * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
2776 * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
2777 Use add_referenced_var.
2778 * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
2779 * gimplify.c (force_gimple_operand): Use add_referenced_var.
2780 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
2781 Use add_referenced_var.
2782 * tree-dfa.c (struct walk_state): Remove.
2783 (find_referenced_vars): Remove walk state and vars_found hash table.
2784 (make_rename_temp): Use add_referenced_var.
2785 (find_vars_r): Pass less parameters to add_referenced_var.
2786 (referenced_var_p): New. Is var in referenced_var hash table.
2787 (referenced_var_insert): Assert var isn't already in hash table.
2788 (add_referenced_var): Don't need walk_state parameter. Add var if it
2789 isn't already in the hash table.
2790 (add_referenced_tmp_var): Remove.
2791 (find_new_referenced_vars_1): Use add_referenced_var.
2792 * tree-ssa-pre.c (create_expression_by_pieces,
2793 insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
2794 Use add_referenced_var.
2795 * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
2796 * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
2797 lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
2799 * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
2800 vect_create_data_ref_ptr, vect_create_destination_var,
2801 vect_init_vector, vect_build_loop_niters,
2802 vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
2803 vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
2804 Use add_referenced_var.
2805 * tree-outof-ssa.c (create_temp): Use add_referenced_var.
2806 * tree-flow.h (add_referenced_tmp_var): Remove prototype
2807 (add_referenced_var): Add prototype.
2808 * tree-ssa-structalias.c (get_constraint_for,
2809 intra_create_variable_infos): Use add_referenced_var.
2811 2006-05-23 Alexandre Oliva <aoliva@redhat.com>
2813 * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
2814 big-endian paradoxical subregs.
2815 * var-tracking.c (struct micro_operation_def): Document that,
2816 for modify micro operations, insn is the subsequent instruction.
2817 (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
2818 (var_reg_set, var_mem_set): ... new functions.
2819 (add_stores): Record subsequent insn.
2820 (compute_bb_dataflow): Use new functions for MO_USE.
2821 (emit_notes_in_bb): Use new functions for MO_USE. Emit use
2822 notes after the insn, and modify notes before the insn known
2823 to be the subsequent one.
2824 (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
2826 2006-05-23 Kazu Hirata <kazu@codesourcery.com>
2829 * config/i386/i386.c (ix86_expand_builtin): Use
2830 gen_sse3_monitor64 for TARGET_64BIT.
2832 2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
2834 PR rtl-optimization/26375
2835 PR rtl-optimization/26855
2836 * df-problems (df_ru_bb_local_compute_process_def): Removed update
2838 (df_ru_bb_local_compute): Reversed statements and removed bogus
2839 comment explaining why they should be in wrong order.
2840 (df_ru_dump, df_rd_dump): Enhanced debug info.
2841 * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
2843 * ddg.c (add_deps_for_def): Converted use of reaching defs to
2844 reaching uses and fixed space problem.
2846 2006-05-23 Jan Hubicka <jh@suse.cz>
2848 * cgraphunit.c (decide_is_function_needed): Also nested functions
2849 and functions declared inline can be optimized out at -O0.
2851 2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
2853 * doc/install.texi (Configuration): Remove reference to CrossGCC
2857 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2860 * config/i386/i386.c (ix86_expand_branch): Jump to simple if
2861 ix86_compare_emitted is non-NULL.
2863 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2866 * stmt.c (expand_asm_operands): Skip asm statement with erroneous
2869 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2871 PR rtl-optimization/25514
2872 * combine.c (replaced_rhs_insn): New variable.
2873 (combine_instructions): Set replaced_rhs_insn when trying to replace
2874 a SET_SRC with a REG_EQUAL note.
2875 (distribute_notes): Use replaced_rhs_insn when determining the live
2876 range of a REG_DEAD register.
2878 2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
2879 Anatoly Sokolov <aesok@post.ru>
2881 * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
2882 attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
2883 attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
2884 atmega164p, atmega324p, atmega644p, atmega644, atmega329,
2885 atmega3290, atmega649, atmega6490, atmega406, atmega640,
2886 atmega1280, atmega1281, at90can32, at90can64, at90usb646,
2887 at90usb647, at90usb1286 and at90usb1287 devices.
2888 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
2889 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
2891 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2893 * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
2895 2006-05-22 Richard Guenther <rguenther@suse.de>
2898 2006-01-31 Richard Guenther <rguenther@suse.de>
2899 Paolo Bonzini <bonzini@gnu.org>
2901 * doc/install.texi (--disable-libgcc-math): Document.
2903 2006-05-22 Richard Guenther <rguenther@suse.de>
2906 2006-01-31 Richard Guenther <rguenther@suse.de>
2908 * doc/invoke.texi (-msselibm): Document.
2909 * target.h (expand_library_builtin): New target hook.
2910 * builtins.c (expand_builtin): Use expand_library_builtin.
2911 (default_expand_library_builtin): New function.
2912 * gcc.c (LINK_GCC_MATH_SPEC): Define.
2913 (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
2914 (link_gcc_math_spec): Declare.
2915 (static_specs): Add link_gcc_math_spec.
2916 * expr.h (default_expand_library_builtin): Declare.
2917 * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2918 (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
2919 * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
2920 * config/i386/i386.opt (msselibm): New target option.
2921 * config/i386/i386.c (ix86_builtin_function_variants): New array.
2922 (ix86_init_sse_abi_builtins): New function.
2923 (ix86_expand_library_builtin): Likewise.
2924 (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2925 (override_options): Handle error conditions wrt -msselibm.
2926 (ix86_builtins): Add function codes for SSE2 ABI builtins.
2927 (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
2928 * doc/extend.texi (__builtin_sse2_*): Document new target specific
2931 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2934 * c-common.c (self_promoting_args_p): Skip erroneous args.
2937 * c-decl.c (finish_struct): Skip erroneous fields.
2939 2006-05-22 Nick Clifton <nickc@redhat.com>
2941 * config/cris/cris.opt (march): Remove VarExists attribute.
2942 (max-stackframe=): Likewise.
2944 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2946 * doc/rtl.texi: Fix a typo.
2947 * see.c: Fix comment typos.
2949 * tree-ssa-structalias.h (alias_info): Remove num_references.
2951 2006-05-21 Mike Stump <mrs@apple.com>
2953 * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
2955 (darwin_pragma_options): Use BAD instead.
2956 (darwin_pragma_unused): Likewise.
2957 (darwin_pragma_ms_struct): Likewise.
2959 2006-05-21 David Edelsohn <edelsohn@gnu.org>
2961 * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
2963 2006-05-21 Kazu Hirata <kazu@codesourcery.com>
2965 PR rtl-optimization/27671
2966 * simplify-rtx.c (simplify_relational_operation_1): Fix
2967 simplifications of (eq/ne (xor x y) y) and
2968 (eq/ne (xor x y) x).
2970 PR tree-optimization/26622.
2971 * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
2974 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2976 * tree-cfg.c: Prune whitespace.
2977 (debug_tree_cfg): Point to correct header containing the
2980 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2983 * cgraphunit.c (verify_cgraph_node): Typo in error message.
2985 2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
2988 * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
2989 or sorry count is non zero.
2991 2006-05-20 Andreas Schwab <schwab@suse.de>
2993 * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
2995 2006-05-19 Daniel Berlin <dberlin@dberlin.org>
2996 Kenneth Zadeck <zadeck@naturalbridge.com>
2998 PR rtl-optimization/26855
3000 * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
3002 (df_scan_alloc): Added code to properly handle multiword hard
3003 registers and add all_blocks parameter.
3004 (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
3005 code to properly handle multiword hard registers.
3006 (df_rescan_blocks): Added code to remove deleted blocks from
3008 (df_ref_create_structure, df_ref_record): Added code to properly
3010 (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
3011 and set DF_REF_PARTIAL.
3012 (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
3013 (df_uses_record): Added DF_REF_PARTIAL for subreg.
3014 (df_scan_add_problem): Added flags parameter.
3015 (df_ref_create_structure): Changed switching structure.
3016 (df_bb_refs_record): Fixed case where duplicate artificial refs
3017 were created. Changed location of flags.
3018 (df_record_entry_block_defs): Added code to make stack pointer
3019 live in entry block. Refined cases where frame pointer is needed.
3020 Changed location of flags.
3021 (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
3022 (df_set_state): Removed function.
3023 (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
3024 df_insn_create_insn_record, df_insn_refs_delete,
3025 df_ref_create_structure): Formatting changes.
3026 * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
3027 df_delete_basic_block): New function.
3028 (df_init): Changed location of flags.
3029 (df_add_problem): Added flags parameter and the way flags are
3031 (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
3032 debug_df_chain): Improved debugging output.
3033 (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
3034 (df_refs_chain_dump): Removed df parameter.
3035 (df_iterative_dataflow): Added consistency check.
3036 (df_prune_to_subcfg): Made public.
3037 (df_analyze_problem): Added blocks_to_init parameter and made
3039 (df_ref_record, df_bb_refs_record, df_mark_reg,
3040 df_record_exit_block_uses): Whitespace changes.
3041 (df_dump): Whitespace changes.
3042 * df.h: Some reordering to remove forward references.
3043 (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
3044 DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
3045 (df_ref_flags.DF_REF_CLOBBER): Deleted field.
3046 (dataflow.flags): New field.
3047 (df.flag): Deleted field.
3048 (df_alloc_function): Added additional bitmap parameter.
3049 (df_dependent_problem_function): New type.
3050 (df_problem.changeable_flags): New field.
3051 (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
3052 DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
3053 (df_mw_hardreg): New struct.
3054 (DF_INSN_UID_MWS): New macro.
3055 (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
3057 (df_add_problem, df_ru_add_problem, df_rd_add_problem,
3058 df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
3059 df_ri_add_problem, df_scan_add_problem): Added flags parameter.
3060 (df_set_state): Removed function.
3061 (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
3062 * df-problems.c (df_chain_dump): Removed df parameter.
3063 (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
3064 df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
3066 (df_ru_alloc, df_rd_alloc): Now resets all blocks.
3067 (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
3068 df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
3069 Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
3070 DF_REF_MUST_CLOBBER cases.
3071 (df_ru_bb_local_compute_process_def,
3072 df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
3073 df_lr_bb_local_compute, df_ur_bb_local_compute,
3074 df_chain_create_bb): Made subreg aware.
3075 (df_ru_bb_local_compute, df_rd_bb_local_compute,
3076 df_lr_bb_local_compute, df_lr_bb_local_compute,
3077 df_chain_create_bb): Cleanup to use proper macros.
3078 (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
3079 code to fixup bitvectors.
3080 (df_ri_alloc): Cleared lifetime.
3081 (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
3082 df_create_unused_note): New function.
3083 (df_ri_bb_compute, df_ri_compute): Added code to create/update
3084 REG_DEAD and REG_UNUSED notes as well as register information.
3085 (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
3086 df_chains_dump): Fixed crash if problem was never run.
3087 (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
3088 df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
3089 df_ri_add_problem): Processes flags in uniform manner.
3090 (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
3091 df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
3092 df_rd_dump, df_urec_free_bb_info): Formatting changes.
3093 (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
3094 df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
3095 df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
3096 df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
3097 df_ur_dump, df_urec_free_bb_info, df_urec_dump,
3098 df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
3099 * modulo-sched.c (sms_schedule): Added flag parameter to calls.
3100 * see.c (see_initialize_data): Ditto.
3101 * final.c (rest_of_clean_state) Added regstack_completed.
3102 * rtl.h (regstack_completed): Ditto.
3103 * reg-stack.c (regstack_completed): Ditto.
3105 2006-05-19 Mike Stump <mrs@apple.com>
3107 * c-tree.h (default_conversion): Remove.
3108 * c-common.h (default_conversion): Add.
3110 2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
3112 * tree-vrp.c (valid_value_p): New function.
3113 (adjust_range_with_scev): Fail if the value of bound is not
3116 2006-05-19 Richard Sandiford <richard@codesourcery.com>
3118 * config/mips/linux-unwind.h: Include <asm/unistd.h>
3119 (mips_fallback_frame_state): Use syscall numbers to determine
3120 the appropriate li instruction for the current ABI. Only use
3121 __NR_sigreturn for o32.
3123 2006-05-19 Nicolas Setton <setton@adacore.com>
3125 * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
3126 * langhooks.c (lhd_dwarf_name): New function.
3127 * langhooks-def.h (lhd_dwarf_name): Declare.
3128 (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
3129 * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
3130 * ada/misc.c (gnat_dwarf_name): New function.
3131 (LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
3133 2006-05-19 Richard Sandiford <richard@codesourcery.com>
3135 * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
3137 (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
3138 MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
3139 LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
3140 * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
3141 Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
3142 determine the size of Wtype, etc.
3143 * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
3144 (swfloatfuncs): New variable.
3145 (dwfloatfuncs): Likewise.
3146 (lib2funcs): Remove floating-point conversion functions from
3147 initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
3148 the set of conversion routines needed. Allow entries to specify
3149 an object name, filename and word size. Update users accordingly.
3150 * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
3151 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
3155 2006-02-08 Roger Sayle <roger@eyesopen.com>
3158 * config/fixtfdi.c: New libgcc source file.
3159 * config/fixunstfdi.c: New source file.
3160 * config/floatditf.c: New source file.
3161 * config/floatunditf.c: New souce file.
3162 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
3163 files above instead of config/mips/_tilib.c.
3164 * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
3166 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3168 * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
3169 * pa/pa-hpux11.h (LIB_SPEC): Update comment.
3171 2006-05-18 Mike Stump <mrs@apple.com>
3173 Fix up vla, vm and [*] sematics.
3179 * c-tree.h (struct c_arg_info): Add had_vla_unspec.
3180 (c_vla_unspec_p): Add.
3181 (c_vla_type_p): Add.
3182 * c-decl.c (struct c_scope): Add had_vla_unspec.
3183 (build_array_declarator): Add support for [*].
3184 (grokdeclarator): Likewise.
3185 (grokparms): Likewise.
3186 (get_parm_info): Likewise.
3187 * c-objc-common.c (c_vla_unspec_p): Likewise.
3188 * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
3189 * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
3190 typeof when argument is a variably modified type not inside sizeof or alignof.
3191 (c_parser_direct_declarator_inner): Propagate errors.
3192 (c_parser_sizeof_expression): Add support for [*].
3193 (c_parser_parms_declarator): Initialize had_vla_unspec.
3194 (c_parser_parms_list_declarator): Likewise.
3195 * c-typeck.c (c_vla_type_p): Add.
3196 (composite_type): Add support for vla compositing.
3197 (comptypes_internal): Add support for vla compatibility.
3198 (c_expr_sizeof_expr): Evaluate vla arguments.
3199 * tree.c (variably_modified_type_p): Update comment for [*].
3201 2006-05-18 Michael Matz <matz@suse.de>
3204 * config.host: Make assignments to host_xmake_file cumulative.
3205 * config.host (*-darwin*): Test $host, not $target.
3207 2006-05-12 Stuart Hastings <stuart@apple.com>
3209 * config/i386/i386.opt (-mstackrealign): New flag.
3210 * config/i386/i386.c (force_align_arg_pointer): New attribute.
3211 (ix86_handle_cconv_attribute): Emit error when
3212 force_align_arg_pointer attribute collides with too many regparms.
3213 (ix86_function_regparm): Limit regparms when used with
3214 force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
3215 Support stack-realigning prologue in non-main functions. Emit
3216 warning for nested functions under -mstackrealign, emit error for
3217 nested functions with force_align_arg_pointer attribute.
3218 * doc/extend.texi (force_align_arg_pointer): Document it.
3219 * doc/invoke.texi (-mstackrealign): Document it.
3221 2006-05-17 Kazu Hirata <kazu@codesourcery.com>
3223 PR rtl-optimization/27477
3224 * combine.c (try_combine): Don't split a parallel consisting
3225 of two sets into two individual sets if both sets reference
3228 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
3230 * config/arm/arm.opt (target_fpe_name): Remove VarExists.
3231 * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
3233 * doc/options.texi (VarExists): Updated.
3235 2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3237 * unwind-dw2.c: Add declarations for uw_update_context and
3239 * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
3240 detected, advance frame state and context once to skip over stub.
3242 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
3246 * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
3247 Call rewrite_into_loop_closed_ssa only when something changed.
3248 * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
3249 * lambda-code.c (can_convert_to_perfect_nest): Declared.
3250 (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
3251 Test for perfect_nest_p here. Fix formating.
3252 (replace_uses_equiv_to_x_with_y): Fix formating.
3253 (stmt_uses_op): Removed.
3254 (can_convert_to_perfect_nest): Removed loopivs parameter.
3255 Complete the test by checking the scalar dependences.
3256 (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
3259 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
3262 From Dan Kegel <dank@kegel.com>:
3263 * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
3265 2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
3267 * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
3268 if the element type is variably modified without recursing.
3270 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
3273 * tree-loop-linear.c (try_interchange_loops): Test for
3274 no data dependences.
3276 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
3278 PR tree-optimization/27548
3279 * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
3280 range of ssa names that appear on abnormal edges.
3281 * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
3282 * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
3284 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
3287 * expr.c (safe_from_p): Handle CONSTRUCTOR again.
3289 2006-05-17 Jakub Jelinek <jakub@redhat.com>
3292 * tree.h (OMP_PARALLEL_COMBINED): Define.
3293 * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
3294 (new_omp_context): Add is_combined_parallel argument.
3295 (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
3296 new_omp_context caller.
3297 (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
3298 Adjust gimplify_scan_omp_clauses callers.
3299 (omp_is_private): Issue errors if iteration variable is firstprivate
3300 or reduction in the current context.
3301 * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
3302 on combined parallel workshare constructs.
3304 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3306 * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
3307 (gcc-options.o): New rule.
3309 * optc-gen.awk: Protect variables for gcc-options.o with
3310 #ifdef GCC_DRIVER/#endif.
3312 2006-05-16 Daniel Berlin <dberlin@dberlin.org>
3314 Fix PR tree-optimization/27373
3315 * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
3316 (forward_propagate_addr_expr): Update call.
3318 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3320 * doc/options.texi: Move the Negative option.
3322 2006-05-16 Richard Guenther <rguenther@suse.de>
3324 PR tree-optimization/22303
3325 * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
3327 (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
3328 ccp_fold did not simplify the statement.
3330 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3333 * Makefile.in (GCC_OBJS): New.
3334 (OBJS-common): Add opts-common.o.
3335 (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
3336 (cpp$(exeext)): Likewise.
3337 (gcc.o): Also depend on opts.h.
3338 (opts-common.o): New.
3340 * common.opt (gcoff): Add Negative(gdwarf-2).
3341 (gdwarf-2): Add Negative(gstabs).
3342 (gstabs): Add Negative(gstabs+).
3343 (gstabs+): Add Negative(gvms).
3344 (gvms): Add Negative(gxcoff).
3345 (gxcoff): Add Negative(gxcoff+).
3346 (gxcoff+): Add Negative(gcoff).
3347 * config/i386/i386.opt (m32): Add Negative(m64).
3348 (m64): Add Negative(m32).
3350 * doc/options.texi: Document the Negative option.
3352 * gcc.c: Include "opts.h".
3353 (main): Call prune_options after expandargv.
3355 * optc-gen.awk: Generate common declarations for all flag
3356 variables in options.c. Output the neg_index field.
3358 * opts.c (find_opt): Moved to ...
3359 * opts-common.c: Here. New file.
3361 * opts.h (cl_option): Add a neg_index field.
3363 (prune_options): Likewise.
3365 2006-05-16 Jakub Jelinek <jakub@redhat.com>
3368 * omp-low.c (expand_omp_parallel): Don't assert
3369 .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
3370 instead search for it.
3373 * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
3376 2006-05-16 Andreas Schwab <schwab@suse.de>
3378 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
3381 2006-05-15 Roger Sayle <roger@eyesopen.com>
3384 * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
3385 integer constants other than zero are only legitimate on TARGET_64BIT.
3386 <CONST_VECTOR> Only zero vectors are legitimate.
3387 (ix86_cannot_force_const_mem): Integral and vector constants can
3388 always be put in the constant pool.
3390 2006-05-16 DJ Delorie <dj@redhat.com>
3392 * crtstuff.c (__dso_handle): Set section from
3393 TARGET_LBIGCC_SDATA_SECTION if defined.
3394 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
3395 * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
3397 2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3400 * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
3403 2006-05-16 Ben Elliston <bje@au.ibm.com>
3405 * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
3407 2006-05-15 Per Bothner <per@bothner.com>
3409 * tree.c: (last_annotated_node): Use source_locus typedef.
3410 This permits bootstrapping with --enable-mapped-location.
3412 2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
3414 PR tree-optimization/26830
3415 * tree-into-ssa.c (struct ssa_name_info): Add age field.
3416 (info_for_ssa_name, current_info_for_ssa_name_age,
3417 blocks_to_update): New variables.
3418 (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
3419 (clear_ssa_name_info, initialize_flags_in_bb,
3420 mark_block_for_update): New functions.
3421 (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
3422 (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
3423 prepare_def_site_for): Use mark_block_for_update.
3424 (mark_def_interesting): Assert that the processed block is marked in
3425 blocks_to_update. Do not take blocks argument.
3426 (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
3428 (rewrite_update_init_block, rewrite_update_stmt): Only process
3429 blocks with statements to rewrite.
3430 (delete_update_ssa): Do not clear SSA_NAME_AUX.
3431 (update_ssa): Initialize and free blocks_to_update. Do not
3432 clear flags on statements. Do not use blocks bitmap.
3433 * tree.h (SSA_NAME_AUX): Removed.
3434 (struct tree_ssa_name): Removed aux field.
3435 * print-tree.c (print_node): Do not print SSA_NAME_AUX.
3437 2006-05-15 Richard Guenther <rguenther@suse.de>
3439 PR tree-optimization/27603
3440 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
3441 Do computations in original type.
3443 2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
3445 * see.c: Code style changes such as redundant paranthesis,
3446 redundant intialization of local variables etc.
3447 (see_main): Declared now as static.
3448 * doc/invoke.texi: Update that -fsee is not enabled by
3451 2006-05-15 Jakub Jelinek <jakub@redhat.com>
3453 * omp-low.c (check_omp_nesting_restrictions): New function.
3454 (scan_omp_1): Call it.
3457 * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
3458 construct, return *VAR.
3460 2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
3462 PR rtl-optimization/27406
3463 * bt-load.c (migrate_btr_def): Skip the block having abnormal
3466 2006-05-14 Roger Sayle <roger@eyesopen.com>
3468 PR rtl-optimization/27538
3469 * combine.c (expand_compound_operation): Call gen_lowpart
3470 before calling simplify_shift_const.
3472 2006-05-14 Roger Sayle <roger@eyesopen.com>
3474 PR rtl-optimization/22563
3475 * expmed.c (store_fixed_bit_field): When using AND and IOR to store
3476 a fixed width bitfield, always force the intermediates into psuedos.
3478 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
3481 * mkconfig.sh: Use operator = instead of == for test.
3483 2006-05-13 Nick Clifton <nickc@redhat.com>
3485 * dwarf2out.c (dbx_reg_number): Check return value from
3486 LEAF_REG_REMAP and only use it if it is valid.
3487 (multiple_reg_loc_descriptor): Likewise.
3489 2006-05-13 Richard Guenther <rguenther@suse.de>
3491 * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
3494 2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
3496 * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
3497 information attached to non-INSNs such as NOTEs.
3498 (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
3500 2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
3502 * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
3504 * config/s390/s390.md: Adjust comment describing On constraint.
3506 2006-05-11 Jan Hubicka <jh@suse.cz>
3508 * cgraphunit.c (decide_is_function_needed): Don't force always_inline
3509 to be output at -O0.