1 2006-08-26 Bob Wilson <bob.wilson@acm.org>
3 * config/xtensa/xtensa.c (function_arg_boundary): New.
4 (function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to
6 * config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new
7 function_arg_boundary function that limits alignment to STACK_BOUNDARY.
9 2006-08-26 Jakub Jelinek <jakub@redhat.com>
12 * cfgexpand.c (add_reg_br_prob_note): Check if last has exactly
15 2006-08-25 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
17 * flow.c (verify_wide_reg): Use internal_error for consistency failure.
18 (verify_local_live_at_start): Likewise.
20 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
23 * gimplify.c (gimplify_decl_expr, gimplify_init_ctor_preeval,
24 omp_add_variable): Treat sizes as variable whenever not
27 2006-08-26 Richard Guenther <rguenther@suse.de>
30 * fold-const.c (fold_binary): Fold temporary to correct
31 type before constructing new comparison.
33 2006-08-25 Fariborz Jahanian <fjahanian@apple.com>
36 * c-gimplify.c (gimplify_compound_literal_expr): Don't add
37 variable again if DECL_SEEN_IN_BIND_EXPR_P.
39 2006-08-25 Joseph S. Myers <joseph@codesourcery.com>
42 * c-decl.c (start_function): Don't try to process prototype
43 information from old declaration that isn't a function.
45 2006-08-25 Jan Hubicka <jh@suse.cz>
48 * config/i386/crtfastmath.c (set_fast_math): Force stack alignment.
50 2006-08-25 Alan Modra <amodra@bigpond.net.au>
53 * config/rs6000/rs6000.c (print_operand): Only use e500 %y syntax
56 2006-08-25 J"orn Rennecke <joern.rennecke@st.com>
58 PR tree-optimization/16876
59 * c-typeck.c (c_convert_parm_for_inlining): Don't take early
60 exit if PARM doesn't match VALUE.
62 2006-08-25 Bob Wilson <bob.wilson@acm.org>
64 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Do not emit a
65 literal_prefix directive.
66 (XTENSA_DECLARE_FUNCTION_SIZE): Delete.
67 * config/xtensa/linux.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
68 * config/xtensa/elf.h (ASM_DECLARE_FUNCTION_SIZE): Delete.
70 2006-08-25 David Edelsohn <edelsohn@gnu.org>
73 * config/rs6000/rs6000.md (movcc_internal1): Change operand 1
74 predicate to general_operand. Add 0->y and I->r alternatives.
76 2006-08-25 Kazu Hirata <kazu@codesourcery.com>
78 * doc/tm.texi: Fix a typo.
79 * predict.c: Fix comment typos.
81 2006-08-25 Nick Clifton <nickc@redhat.com>
83 * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add
84 assertions of "cpu" and "machine".
86 2006-08-24 Andrew Pinski <pinskia@physics.uc.edu>
89 * tree-ssa-operands.c (access_can_touch_variable): Don't say
90 the access through a base which has an alias set of 0 cannot
93 2006-08-24 Bill Wendling <wendling@apple.com>
95 * doc/tm.texi (TARGET_DEFAULT_PACK_STRUCT): Fixed English.
97 2006-08-24 Jan Hubicka <jh@suse.cz>
99 * reload1.c (emit_reload_insns): Fix yet another typo in my patch.
101 2006-08-24 Jan Hubicka <jh@suse.cz>
104 * cgraph.c: Fix comments.
105 (cgraph_varpool_mark_needed_node): Mark only variables not already
107 * cgraphunit.c: Update comments; include gt-cgraphunit.h
108 (cgraph_varpool_assembled_nodes_queue): New static variable.
109 (cgraph_varpool_assemble_decl): Record output decls for debug out code.
110 (cgraph_varpool_output_debug_info): New function.
111 (cgraph_finalize_compilation_unit, cgraph_optimize): Call it.
112 * Makefile.in: Add gt-cgraphunit.h
114 2006-08-24 Jan Hubicka <jh@suse.cz>
116 * predict.c (probability_reliable_p): New predicate.
117 (edge_probability_reliable_p, br_prob_note_reliable_p): Likewise.
118 (predict_loops): Do not predict loop exit with less than 2%
120 * basic-block.h (edge_probability_reliable_p,
121 br_prob_note_reliable_p): Declare.
122 * ia64.h (ia64_print_operand): Do not disable on-chip branch
123 prediction when static predictor is not reliable.
124 * rs6000.c (output_cbranch): Likewise.
126 2006-08-23 Stuart Hastings <stuart@apple.com>
129 * gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
130 ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
132 2006-08-21 Geoffrey Keating <geoffk@apple.com>
135 * dwarf2out.c (rtl_for_decl_init): Don't try to create RTL for
136 complex values, nor for generic vector values.
138 2006-08-22 Richard Guenther <rguenther@suse.de>
141 * tree-scalar-evolution.c (fold_used_pointer): Add at_stmt
142 parameter. Convert arguments to arithmetic expression to the
144 (analyze_scalar_evolution_1): Adjust caller.
146 2006-08-22 Jan Hubicka <jh@suse.cz>
148 Patch by Paolo Bonzini
149 * reload1.c (emit_reload_insns): Fix incorrect bracketing introduced by
152 2006-08-22 Daniel Berlin <dberlin@dberlin.org>
154 PR tree-optimization/28003
155 * tree-ssa-alias.c (compute_may_aliases): Compute call clobbered
156 before grouping aliases.
158 2006-08-22 Roger Sayle <roger@eyesopen.com>
160 * config/i386/i386.c (ix86_value_regno): Don't return FIRST_MMX_REG
161 if !TARGET_MMX, and don't return FIRST_SSE_REG if !TARGET_SSE.
163 2006-08-21 Jason Merrill <jason@redhat.com>
166 * gimplify.c (voidify_wrapper_expr): Handle STATEMENT_LIST as a
167 wrapper. Loop to handle nested wrappers.
168 (gimplify_bind_expr): Remove temp parameter.
169 (gimplify_modify_expr_rhs): Handle CLEANUP_POINT_EXPR, BIND_EXPR
170 and STATEMENT_LIST on the rhs.
171 (gimplify_statement_list): Voidify the STATEMENT_LIST.
172 (gimplify_expr): Pass pre_p to gimplify_statement_list.
173 (gimplify_target_expr): Remove special BIND_EXPR handling.
175 2006-08-21 J"orn Rennecke <joern.rennecke@st.com>
177 * config/sh/lib1funcs-Os-4-200.asm: Guard entire file with
180 2006-08-21 Olivier Hainque <hainque@adacore.com>
182 * gimplify.c (gimplify_init_constructor) <RECORD,UNION,ARRAY types>:
183 Arrange for the temporary captures of components overlapping the lhs
184 to happen before the lhs is possibly cleared.
186 2006-08-21 Mark Shinwell <shinwell@codesourcery.com>
188 * config/arm/pr-support.c (__gnu_unwind_execute): Insert " + 1" in
189 necessary places to pass the correct "number of registers" values
192 2006-08-20 Jan Hubicka <jh@suse.cz>
194 * tree-ssa-alias.c (eq_ptr_info, ptr_info_hash): New function.
195 (create_name_tags): Instead of quadratic checking use hashtable.
196 * bitmap.h: Include hashtab.h.
197 (bitmap_hash): Declare.
198 * bitmap.c (bitmap_hash): New function.
200 2006-08-20 Jan Hubicka <jh@suse.cz>
202 PR rtl-optimization/28071
203 * tree-optimize.c (tree_rest_of_compilation): Do not remove edges
205 * tree-inline.c (copy_bb): Use cgraph_set_call_stmt.
206 * ipa-inline.c (cgraph_check_inline_limits): Add one_only argument.
207 (cgraph_decide_inlining, cgraph_decide_inlining_of_small_function,
208 cgraph_decide_inlining_incrementally): Update use of
209 cgraph_check_inline_limits.
210 * cgraph.c (edge_hash, edge_eq): New function.
211 (cgraph_edge, cgraph_set_call_stmt, cgraph_create_edge,
212 cgraph_edge_remove_caller, cgraph_node_remove_callees,
213 cgraph_remove_node): Maintain call site hash.
214 * cgraph.h (struct cgraph_node): Add call_site_hash.
215 (cgraph_set_call_stmt): New function.
217 2006-08-20 Jan Hubicka <jh@suse.cz>
219 PR rtl-optimization/28071
220 * reload1.c (reg_has_output_reload): Turn into regset.
221 (reload_as_needed, forget_old_reloads_1, forget_marked_reloads,
222 choose_reload_regs, emit_reload_insns): Update to new
223 reg_has_output_reload.
225 2006-08-20 Jan Hubicka <jh@suse.cz>
228 * ipa-inline.c (cgraph_decide_inlining, cgraph_early_inlining): Compute
230 * cgraphunit.c (cgraph_analyze_function): Don't do so.
232 2006-08-20 Danny Smith <dannysmith@users.sourceforge.net>
235 * tree.c (handle_dll_attribute): Return early if not a
236 var or function decl.
238 2006-08-18 Joseph Myers <joseph@codesourcery.com>
241 * config/rs6000/rs6000.h (LOCAL_ALIGNMENT): For SPE, only adjust
242 alignment of SPE vector types.
244 2006-08-18 Christophe Jaillet <christophe.jaillet@wanadoo.fr>
246 * tree.c (is_attribute_with_length_p): Remove a duplicated assert.
248 2006-08-17 Jakub Jelinek <jakub@redhat.com>
251 * cgraph.h (struct cgraph_node): Remove externally_visible
253 * cgraphunit.c (process_function_and_variable_attributes): Set
254 local.externally_visible rather than externally_visible.
257 * c-common.c (handle_externally_visible_attribute): First look
258 at TREE_CODE and only if it is function or var decl, check for
259 non-public objects. Don't warn for DECL_EXTERNAL.
260 * cgraphunit.c (process_function_and_variable_attributes): Warn
261 if externally_visible attribute is used on non-public object.
263 2006-08-17 Jan Hubicka <jh@suse.cz>
265 PR tree-optimization/27865
266 * reload1.c (forget_marked_reloads): New function.
267 (forget_old_reloads_1): When data are passed, just mark the registers
269 (reload_as_needed): Use the new mechanizm.
271 2006-08-17 Alexandre Oliva <aoliva@redhat.com>
274 * reload.h (reg_equiv_alt_mem_list): New declaration.
275 * reload1.c (reg_equiv_alt_mem_list): New definition.
276 (reload): Initialize it and release it.
277 (delete_output_reload): Use it.
278 * reload.c (push_reg_equiv_alt_mem): New function.
279 (find_reloads_toplev): Call it.
280 (find_reloads_address, find_reloads_address_1): Likewise.
281 (find_reloads_subreg_address): Likewise.
283 2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
285 PR rtl-optimization/28489
286 * sched-ebb.c (begin_schedule_ready): Create basic block
288 (advance_target_bb): Skip empty blocks.
289 * haifa-sched.c (bb_note): Make global.
290 * sched-int.h (bb_note): Add prototype.
292 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
294 PR tree-optimization/27865
295 * tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE
297 * tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p,
298 fold_used_pointer, pointer_used_p): New functions.
299 (analyze_scalar_evolution_1): Use fold_used_pointer.
300 * tree-chrec.c (convert_affine_scev): Convert no-op casts correctly.
301 * tree-ssa-loop-ivopts.c (generic_type_for): Return integral type
304 2006-08-17 Paolo Bonzini <bonzini@gnu.org>
307 * c-common.c (fold_offsetof_1): Add an argument and recurse down to it
308 or the INTEGER_CST. Fail on a CALL_EXPR.
309 (fold_offsetof): Pass new argument to fold_offsetof_1.
310 * c-parser.c (c_parser_postfix_expression): Don't include a NULL
311 operand into an INDIRECT_REF.
312 * c-typeck.c (build_unary_op): Adjust call to fold_offsetof.
314 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
316 PR gcov/profile/26570
317 * value-prof.c (static_values): Removed.
318 (tree_find_values_to_profile): Do not set static_values.
319 (find_values_to_profile): Do not free static_values.
320 * profile.c (instrument_values): Do not free the values.
321 (branch_prob): Free the values.
323 2006-08-16 Naveen.H.S <naveenh@kpitcummins.com>
325 * config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
327 2006-08-16 Joseph S. Myers <joseph@codesourcery.com>
330 * c-typeck.c (build_component_ref): Combine qualifiers of
331 structure or union and field.
333 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
335 PR rtl-optimization/28071
336 * basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
337 * dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
338 * tree-into-ssa.c (struct dom_dfsnum): New.
339 (cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
341 (insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
342 compute_global_livein.
343 (prepare_block_for_update, prepare_use_sites_for): Mark the uses
344 in phi nodes in the correct blocks.
346 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
348 PR tree-optimization/28364
349 * tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
351 (fold_affine_expr): New function.
352 (may_eliminate_iv): Use fold_affine_expr.
354 2006-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
357 * c-typeck.c (c_start_case): Handle invalid orig_type correctly.
360 2006-08-16 Mike Stump <mrs@apple.com>
362 * doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
363 * doc/cppopts.texi (-MD): Likewise.
365 2006-08-15 Danny Smith <dannysmith@users.sourceforge.net>
368 * c-common.c (handle_weak_attribute): Ignore and warn if
369 not a FUNCTION_ or VAR_DECL.
371 2006-07-15 Mike Stump <mrs@apple.com>
374 * c-parser.c (c_parser_typeof_specifier): Don't use
375 c_finish_expr_stmt, open code desired semantics instead.
377 2006-08-15 Nick Clifton <nickc@redhat.com>
379 * config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
380 fragment to tmake_file only if threads are enabled.
381 * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
382 * config/i386/t-gthr-win32: New file. ... here.
384 2006-08-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
387 * c-parser.c (c_parser_compound_statement_nostart): Reset
388 parser->error after each statement.
390 2006-08-15 Jakub Jelinek <jakub@redhat.com>
393 * omp-low.c (lower_omp_parallel): Convert t to
394 receiver_decl's type.
395 (expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
396 source before comparison.
399 * gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
400 to itype in assignment to oldival2.
402 2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
406 * c-typeck.c (build_compound_expr): If the second expression
407 is an error mark, then just return an error mark instead of
408 creating a COMPOUND_EXPR.
410 2006-07-14 Mike Stump <mrs@apple.com>
412 * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
414 2006-08-14 Kazu Hirata <kazu@codesourcery.com>
416 * c-decl.c, var-tracking.c: Fix comment typos.
418 2006-08-14 Richard Sandiford <richard@codesourcery.com>
420 PR rtl-optimization/28634
421 * reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
422 for floating-point modes unless flag_unsafe_math_optimizations.
424 2006-08-13 Alexandre Oliva <aoliva@redhat.com>
425 Andrew Pinski <pinskia@physics.uc.edu>
428 * tree.c (build_array_type): Unify array types with
429 unspecified index_type.
430 * c-decl.c (grokdeclarator): Make sure we do not modify a
431 unified incomplete array type.
432 * c-typeck.c (store_init_value): Create distinct type before
433 filling in the index type in an initializer from a compound
436 * c-decl.c (grokdeclarator): Remove code where we copy the
439 2006-08-13 Andrew Pinski <pinskia@physics.uc.edu>
441 * tree-pass.h (TODO_update_ssa): Fix which bit is used to take
442 into account for TODO_dump_cgraph.
443 (TODO_update_ssa_no_phi): Likewise.
444 (TODO_update_ssa_full_phi): Likewise.
445 (TODO_update_ssa_only_virtuals): Likewise.
446 (TODO_remove_unused_locals): Likewise.
447 (TODO_set_props): Likewise.
448 (TODO_update_stmt_usage): Likewise.
450 2006-08-13 Dirk Mueller <dmueller@suse.de>
452 * c-common.c (strict_aliasing_warning): Fix formatting.
454 2006-08-13 Matthias Klose <doko@debian.org>
456 * doc/invoke.texi: Fix spelling errors.
458 2006-08-11 Eric Botcazou <ebotcazou@libertysurf.fr>
460 PR rtl-optimization/23454
461 * reorg.c (relax_delay_slots): Update comment.
463 2006-08-11 Richard Guenther <rguenther@suse.de>
466 * simplify-rtx.c (simplify_const_relational_operation):
467 Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
470 2006-08-10 Eric Botcazou <ebotcazou@adacore.com>
472 * tree.c (build1_stat): Also propagate the TREE_CONSTANT and
473 TREE_INVARIANT flags for a VIEW_CONVERT_EXPR.
475 2006-08-10 Paul Brook <paul@codesourcery.com>
477 * final.c (final_scan_insn): Clear current_insn_predicate before
478 outputting inline asm.
480 2006-08-10 Dorit Nuzman <dorit@il.ibm.com>
482 PR tree-optimization/26197
483 * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls
484 get_ref_base_and_extent and overlap_subvar to add only relevant
485 subvars as may-aliases.
486 (add_may_alias_for_new_tag): New function, factored out of
488 * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias
489 with additional argument.
490 * tree-flow.h (new_type_alias): Takes additional argument.
492 2006-08-09 Nathan Sidwell <nathan@codesourcery.com>
494 * gcov.c (no_data_file): New flag.
495 (read_count_file): Set it if data file not present. Assume counts
497 (output_lines): Don't name the data file, if there wasn't one.
499 2006-08-09 Eric Botcazou <ebotcazou@adacore.com>
501 * config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
502 (rs6000_generate_compare): Tweak comments.
503 * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.
505 2006-08-09 Alexandre Oliva <aoliva@redhat.com>
507 * var-tracking.c (enum micro_operation_type): Add MO_COPY.
508 (var_debug_decl): New function.
509 (var_reg_set): Follow debug decl link. Add location even if
510 reg is already known to hold some other variable.
511 (var_mem_set): Follow debug decl link.
512 (var_reg_delete_and_set, var_mem_delete_and_set): Follow debug
513 decl link. Delete other known locations of the variable part
515 (var_reg_delete, var_mem_delete): Delete other known locations
516 of the variable part if requested.
517 (same_variable_part_p): New function.
518 (add_stores): Select MO_COPY when appropriate.
519 (vt_initialize): Handle it.
520 (compute_bb_dataflow, emit_notes_in_bb): Likewise. Delete
521 known locations for MO_SET and MO_CLOBBER.
522 (find_variable_location_part): New function.
523 (set_variable_part, delete_variable_part): Use it.
524 (clobber_variable_part): New function.
525 * dwarf2out.c (dwarf2out_var_location): Do not follow debug
528 2006-08-07 Victor Kaplansky <victork@il.ibm.com>
530 PR tree-optimization/26969
531 * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch
532 with an empty list of PHIs.
534 2006-08-06 Paolo Bonzini <bonzini@gnu.org>
538 * conffig/i386/i386.md: Add peephole2 to avoid "fld %st"
541 2006-08-06 Andreas Schwab <schwab@suse.de>
543 * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
544 string. Whitespace and comment fixup.
546 2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
549 * c-decl.c (validate_proto_after_old_defn): Return false on invalid
553 * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.
556 * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
558 2006-08-04 Jan Hubicka <jh@suse.cz>
562 * reload.c (push_reload): Patch out the mismatching instruction;
564 (find_reload): Bail out if the instruction was patched out.
566 2006-08-04 Jan Hubicka <jh@suse.cz>
568 PR tree-optimization/24888
569 * tree-inline.c (expand_call_inline): Do not re-record variables.
570 (declare_inline_vars): Add variable to unexpanded_var_list.
572 2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
573 Roger Sayle <roger@eyesopen.com>
575 PR rtl-optimization/26244
576 * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
577 inner_const are negative or greater than or equal to the bitsize of
578 MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
579 Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
580 Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
581 CONST0_RTX (mode) when the new shift count is greater than or equal to
582 to the bitsize of the object being shifted and XEXP (y, 0) has no side
585 2006-08-04 Kazu Hirata <kazu@codesourcery.com>
587 * tree-cfg.c: Fix a comment typo.
589 2006-08-03 Mark Mitchell <mark@codesourcery.com>
592 * varasm.c (output_constant): Give the front end another chance to
593 expand constants, after stripping NOPs.
595 2006-08-03 Jan Hubicka <jh@suse.cz>
597 * domwalk.c (walk_dominator_tree): Reorganize to non-recursive
600 2006-08-03 Dorit Nuzman <dorit@il.ibm.com>
602 PR tree-optimization/27770
603 * tree-vectorizer.h (get_vectype_for_scalar_type): Function
604 declaration removed (moved to tree-flow.h).
605 (vect_can_force_dr_alignment_p): Likewise.
606 * tree-flow.h (get_vectype_for_scalar_type): New function declaration
607 (moved from tree-vectorizer.h).
608 (vect_can_force_dr_alignment_p): Likewise.
609 * tree-vectorizer.c (vect_print_dump_info): Allow calling this function
610 from outside the vectorizer - in particular from cgraph stage.
611 * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase
612 the alignment of global arrays when -fsection-anchors is enabled.
613 * cgraphunit.c (cgraph_increase_alignment): New function.
614 (cgraph_optimize): Call cgraph_increase_alignment.
616 2006-08-03 David Edelsohn <edelsohn@gnu.org>
619 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
620 not reload a SPE symbol_ref into a lo_sum address.
622 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
625 * dwarf2out.c (prune_unused_types_prune): Move call to
626 prune_unused_types_update_strings to cover the parent DIE also.
628 2006-08-02 Jan Hubicka <jh@suse.cz>
630 PR gcov/profile/28480
631 * tree-cfg.c (change_bb_for_stmt): New function.
632 (tree_merge_blocks, tree_split_blocks): Use it.
634 2006-08-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
640 * toplev.c (compile_file): Return early on errorcount or sorrycount.
641 * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
642 (cgraph_optimize): Likewise.
644 2006-08-01 Stuart Hastings <stuart@apple.com>
646 * rtl.h (UINTVAL) New.
647 * config/rs6000/rs6000.c (SMALL_INT) Use it.
648 * testsuite/gcc.dg/20060801-1.c: New.
650 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
653 * c-typeck.c (build_external_type): Mark used enum types.
654 * dwarf2out.c (dwarf2out_abstract_function): Save and restore
656 (gen_subprogram_die): Whitespace fix.
658 2006-08-01 Jan Hubicka <jh@suse.cz>
660 * tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
661 bitmap when not needed.
662 * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
665 2006-08-01 Dirk Mueller <dmueller@suse.de>
667 * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
669 2006-07-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
671 * Makefile.in: Revert part of previous patch:
672 Replace $(VARRAY_H) by varray.h in definition of BASIC_BLOCK_H
675 2006-07-30 Eric Christopher <echristo@apple.com>
678 * doc/extend.texi (i386 Variable Attributes): Add anchor.
679 (PowerPC Variable Attributes): New section.
681 2006-07-30 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
683 PR target/28126 (partial fix)
684 * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
686 2006-07-28 Jan Hubicka <jh@suse.cz>
688 PR rtl-optimization/28071
689 * cfgrtl.c (rtl_delete_block): Free regsets.
690 * flow.c (allocate_bb_life_data): Re-use regsets if available.
692 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
694 * Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
695 and variables used in dependencies.
697 2006-07-27 Arjan van de Ven <arjan@linux.intel.com>
699 * config/i386/i386.md (stack_tls_protect_set_di) Use %gs rather than
700 %fs for -mcmodel=kernel.
701 (stack_tls_protect_test_di): Likewise.
703 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
705 * Makefile.in: Use mkinstalldirs.
707 2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
710 * opts-common.c (prune_options): Skip joined switches.
712 2006-07-27 Jan Hubicka <jh@suse.cz>
714 PR rtl-optimization/28071
715 * cselib.c (cselib_process_insn): Don't remove useless values too
716 often for very large hashtables.
718 2006-07-27 Jan Hubicka <jh@suse.cz>
720 PR rtl-optimization/28071
721 * global.c (greg_obstack): New obstack.
722 (allocate_bb_info): Use it.
723 (free_bb_info): Likewise.
724 (modify_reg_pav): Likewise.
726 2006-07-27 Roger Sayle <roger@eyesopen.com>
728 * builtins.c (fold_fixed_mathfn): When long and long long are the
729 same size, canonicalize llceil*, llfloor*, llround* and llrint*
730 functions to their lceil*, lfloor*, lround* and lrint* forms.
732 2006-07-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
735 * config/m32r/m32r.md (branch_insn): Reduce pc range for short
737 (rev_branch_insn): Likewise.
739 2006-07-27 Jan Hubicka <jh@suse.cz>
741 PR rtl-optimization/28071
742 * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
743 (reg_set_in_bb, max_reg_computed): New static variables.
744 (regmove_optimize): Free the new array.
745 (fixup_match_1): Update call of reg_is_remote_constant_p.
747 2006-07-26 Jan Hubicka <jh@suse.cz>
749 PR tree-optimization/27882
750 * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous
752 * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill
754 (cgraph_analyze_compilation_unit): Likewise.
755 * ipa.c (cgraph_remove_unreachable_nodes): Likewise.
756 * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise.
757 (cgraph_early_inlinine): Make order garbage collected.
758 * Makefile.in (gt-ipa-inline): New garbagecollected file.
760 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
762 * dbxout.c (output_types_sort): Add a comment.
763 (output_used_types): Free the VEC.
765 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
767 * function.c (reorder_fix_fragments): Delete.
768 (reorder_blocks): Don't call it.
769 (reorder_blocks_1): Put all subblocks under the origin block.
771 2006-07-26 Zdenek Dvorak <dvorakz@suse.cz>
773 PR rtl-optimization/27907
774 * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and
777 2006-07-25 Roger Sayle <roger@eyesopen.com>
780 * convert.c (convert_to_integer): When transforming (T)foo(x) into
781 bar(x) check that bar's result type can represent all the values of T.
783 2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
785 * tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
787 2006-07-25 Nick Clifton <nickc@redhat.com>
789 * ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
791 (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
792 (ggc_pch_count_object): Likewise.
793 (ggc_pch_alloc_object): Likewise.
794 (ggc_pch_write_object): Likewise.
795 (init_ggc): Do not attempt to initialize entries in the
796 size_lookup[] array for objects whose size is greater than than
797 the length of the array.
799 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
801 * dbxout.c (output_used_types_helper): Push queued types
803 (output_types_sort): New.
804 (output_used_types): Collect used types on a VEC and sort them
807 2006-07-24 Richard Guenther <rguenther@suse.de>
810 * cgraph.c (cgraph_remove_node): Do not check if dumps
812 * cgraphunit.c (cgraph_optimize): Likewise.
814 2006-07-24 Jan Hubicka <jh@suse.cz>
816 PR rtl-optimization/28071
817 * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes.
818 * tree-iterator.c (tsi_split_statement_list_before): Do not crash when
819 splitting before first stmt.
821 2006-07-24 Jan Hubicka <jh@suse.cz>
823 PR rtl-optimization/28071
824 * ipa-inline.c (update_caller_keys): Remove edges that
825 are no longer inline candidates.
827 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
830 * dbxout.c (output_used_types_helper, output_used_types): New.
831 (dbxout_symbol): Call output_used_types.
833 2006-07-23 Jan Hubicka <jh@suse.cz>
837 * cgraph.c (cgraph_varpool_nodes): Export.
838 (decide_is_variable_needed): Ignored "used" attribute in
840 * cgraph.h (cgraph_varpool_nodes): Declare.
841 * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
844 2006-07-23 Roger Sayle <roger@eyesopen.com>
847 * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
848 mutex_destroy even when !_LIBOOBJC. Remove duplicate prototype of
849 the __gthrw form of thr_keycreate.
850 (__gthread_key_delete): Silence the unused argument warning.
852 2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
855 * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
856 Cache the last found '\0' marker to avoid quadratic behavior.
858 2006-07-23 Jan Hubicka <jh@suse.cz>
860 * i386.md (subsi_3_zext): Fix output template.
862 2006-07-21 Mike Stump <mrs@apple.com>
864 * doc/invoke.texi (C++ Dialect Options): Note that
865 -fvisibility-inlines-hidden doesn't affect explicitly
866 instantiationed inline methods.
868 2006-07-20 Roger Sayle <roger@eyesopen.com>
870 * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
871 if the target assembler is GNU binutils' gas.
872 * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
873 whether to pass GNU gas or native as command line options.
875 2006-07-20 Jason Merrill <jason@redhat.com>
877 * tree.c (remove_attribute): New fn.
878 * tree.h: Declare it.
880 2006-07-20 Paul Brook <paul@codesourcery.com>
883 * cse.c (cse_insn): Add destination addresses to hash table. Check if
884 they are invalidated by this instruction.
886 2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
889 * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
891 2006-07-20 Eric Christopher <echristo@apple.com>
894 * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
896 2006-07-19 Eric Christopher <echristo@apple.com>
898 * config/t-slibgcc-darwin (stmp-lipo): Remove.
899 Rewrite dependencies for libgcc_s.1.dylib.
901 2006-07-19 Jakub Jelinek <jakub@redhat.com>
903 * except.c (duplicate_eh_regions_1): Clear next_peer.
905 2006-07-17 Nathan Sidwell <nathan@codesourcery.com>
907 * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
908 -mlongcall does not guarantee all calls will be long.
909 * doc/extend.texi (long_call/short_call): Document that longcall
910 does not guarantee a long call will be used.
911 (longcall/shortcall): Likewise.
913 2006-07-18 Roger Sayle <roger@eyesopen.com>
916 * expmed.c (expand_shift): Additionally check that the shift_cost
917 is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
918 before implementing a LSHIFT_EXPR as a sequence of additions.
919 * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
920 middle-end that DImode shifts need to be synthesized by expand.
922 2006-07-18 Diego Novillo <dnovillo@redhat.com>
925 * tree-ssa-operands.c (access_can_touch_variable): Update
927 Return true if ALIAS is .GLOBAL_VAR.
929 2006-07-18 David Daney <ddaney@avtrex.com>
931 * gcc.c (display_help): Fix typo in help text.
933 2006-07-18 Olivier Hainque <hainque@adacore.com>
935 * tree.h (categorize_ctor_elements): Adjust prototype and add
936 descriptive comment, both in accordance with the interface change
938 * varasm.c (constructor_static_from_elts_p): New function.
939 Whether a constructor node is a valid static constant initializer
940 if all its elements are.
941 (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
942 * output.h: Declare it.
943 * expr.c (categorize_ctor_elements_1): Return whether the constructor
944 is a valid constant initializer instead of computing the number of
945 non-constant elements. Use constructor_static_from_elts_p for this
946 purpose. Replace the head comment with an indication that this is a
947 helper for categorize_ctor_elements.
948 (categorize_ctor_elements): Same interface change as for the _1
949 helper. Former head comment from this helper moved here, adjusted to
950 account for the interface changes.
951 (mostly_zeros_p): Adjust call to categorize_ctor_elements.
952 (all_zeros_p): Likewise.
953 * gimplify.c (gimplify_init_constructor): Decide whether we can make
954 static versions of the constructor from the categorize_ctor_elements
955 return value instead of the formerly computed number of non-constant
958 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
960 * configure: Regenerate.
961 * Makefile.in (build_libsubdir): New configure substitution
962 (build_libobjdir): New variable.
963 (BUILD_LIBIBERTY): Use it.
965 2006-07-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
968 * c-pragma.c (handle_pragma_pack): Handle invalid constants.
970 2006-07-18 Alexandre Oliva <aoliva@redhat.com>
973 * c-common.c (handle_weakref_attribute): Ignore attribute in
974 the same conditions the alias attribute is ignored.
976 2006-07-17 Carlos O'Donell <carlos@codesourcery.com>
978 * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
979 (dbxout_begin_prologue): Increment scope_labelno.
981 2006-07-17 Richard Henderson <rth@redhat.com>
984 * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
987 2006-07-17 Roger Sayle <roger@eyesopen.com>
988 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
990 * config/i386/gmon-sol2.c: Silence compilation warnings by partially
991 synchronizing code with config/sparc/gmon-sol2.c. Remove #if 0
992 blocks. #include "tconfig.h" and "tsystem.h" to prototype system
993 functions such as sbrk, write, etc.. Add function prototypes.
994 Convert function declarations from K&R to ISO C. Cast pointers
995 to "long" and "unsigned long" instead of "int" and "unsigned int".
996 Convert tokens following #endif into comments.
998 2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
1000 * invoke.texi: Remove mention of f77; Reformat table for
1001 inline parameter options correctly; mention that -malign-double
1002 is default on x86-64 targets.
1004 2006-07-17 Zdenek Dvorak <dvorakz@suse.cz>
1006 * tree-chrec.c (avoid_arithmetics_in_type_p): New.
1007 (convert_affine_scev, chrec_convert_aggressive): Use
1008 avoid_arithmetics_in_type_p. Do not check for the subtypes
1011 2006-07-17 Richard Sandiford <richard@codesourcery.com>
1014 * optabs.c (expand_doubleword_shift): Wrap the call to
1015 do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
1017 2006-07-17 Richard Sandiford <richard@codesourcery.com>
1020 * optabs.c (expand_binop): Pass next_methods rather than methods
1021 to expand_doubleword_shift.
1023 2006-07-17 J"orn Rennecke <joern.rennecke@st.com>
1026 * tree.h (dump_addr): Declare.
1027 * print-tree.c (dump_addr): New function.
1028 (print_node_brief, print_node): Use it.
1029 * print-rtl.c (print_rtx): Likewise.
1030 * common.opt (-fdump-noaddr): New option.
1031 * doc/invoke.texi (-fdump-noaddr): Document.
1032 * loop-unroll.c (si_info_hash): Make hash independent of addresses.
1033 (ve_info_hash): Likewise.
1035 2006-07-13 Andrew Haley <aph@redhat.com>
1037 PR tree-optimization/19505
1038 * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
1039 edge leaving this block, make sure that the destination of this
1040 block has only one predecessor.
1042 2006-07-17 Richard Guenther <rguenther@suse.de>
1044 PR tree-optimization/28238
1045 * tree-inline.c (copy_bb): Check if we produced valid
1046 gimple copying and substituting a stmt. If not, gimplify
1049 2006-07-16 Eric Botcazou <ebotcazou@adacore.com>
1051 * optabs.c (maybe_encapsulate_block): New function extracted from...
1052 (emit_libcall_block): ...here. Invoke it on the block of insns to
1053 maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
1054 (emit_no_conflict_block): Likewise.
1056 2006-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
1058 * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
1060 2006-07-15 Roger Sayle <roger@eyesopen.com>
1062 * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
1063 a new NOP_EXPR case of the switch statement.
1065 2006-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
1068 * stor-layout.c (place_field): Take the bit field with
1069 an excessive size into account in the ms-bitfiled case.
1072 * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
1073 the previous bit field.
1075 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
1078 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
1080 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
1082 * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
1083 signal frames correctly even when the signal was installed with
1086 2006-07-14 Carlos O'Donell <carlos@codesourcery.com>
1088 * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
1089 (dbxout_function_end): Use local label LFBB. Remove hook
1091 (dbxout_source_line): Use local label LFBB.
1092 (dbxout_block): Likewise.
1093 (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
1094 (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
1095 * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
1096 and DBX_OUTPUT_NFUN.
1098 2006-07-13 Janis Johnson <janis187@us.ibm.com>
1100 * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
1102 2006-07-13 Jan Hubicka <jh@suse.cz>
1104 * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
1106 * output.h (align_variable): Declare.
1107 * varasm.c (align_variable): Export.
1108 * value-prof.c (tree_value_profile_transformations): Recompute iterator
1109 when basic block changed.
1111 2006-07-13 Nick Clifton <nickc@redhat.com>
1113 * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
1114 walking the LOG_LINKS chain.
1116 2006-07-12 Geoffrey Keating <geoffk@apple.com>
1118 * doc/invoke.texi (C++ Dialect Options): Explain difference
1119 between -fvisibility-inlines-hidden and setting hidden
1120 visibility explicitly.
1122 2006-07-12 Eric Christopher <echristo@apple.com>
1124 * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
1125 (stmp-lipo): Depend on libgcc.a.
1127 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
1129 * tree.c: Fix a comment typo.
1131 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
1133 * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
1135 (umulhisi3_r): Likewise.
1137 2006-07-12 Paolo Carlini <pcarlini@suse.de>
1140 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
1141 x < 19, vs wchar_t support.
1143 2006-07-12 Nick Clifton <nickc@redhat.com>
1145 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
1146 instead of -isa=sh4.
1148 2006-07-12 Mike Stump <mrs@apple.com>
1150 * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
1152 2006-07-10 Eric Christopher <echristo@apple.com>
1154 * config/t-slibgcc-darwin: Rewrite.
1156 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1159 * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
1162 2006-07-08 Matthias Klose <doko@debian.org>
1164 * doc/sourcebuild.texi: Fix typo.
1166 2006-07-07 Mike Stump <mrs@apple.com>
1168 * toplev.c (process_options): Don't give -ffunction-sections may
1169 affect debugging warning for Mach-O.
1171 2006-07-07 James E Wilson <wilson@specifix.com>
1173 * config/mips/mips.md (cpu): Add sb1a.
1174 * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
1175 addition to sb1. Adjust comments to clarify SB-1A differences from
1177 (ir_sb1a_load): New. Modify bypasses to use it.
1178 (ir_sb1a_simple_alu): Likewise.
1179 * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
1180 (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
1181 (mips_issue_rate): Add PROCESSOR_SB1A.
1182 (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
1183 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
1184 (TARGET_SB1): Add PROCESSOR_SB1A check.
1185 (TUNE_SB1): Likewise.
1187 * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
1188 * config/mips/mips.c (mips_store_data_bypass_p): New.
1189 * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
1190 store_data_bypass_p.
1192 2006-07-08 Paul Brook <paul@codesourcery.com>
1195 * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
1197 2006-07-07 Richard Guenther <rguenther@suse.de>
1200 * tree.h (build_one_cst): Declare.
1201 * tree.c (build_one_cst): New function.
1202 * tree-ssa-math-opts.c (get_constant_one): Remove.
1203 (insert_reciprocals): Use build_one_cst.
1204 * fold-const.c (fold_plusminus_mult): Likewise.
1206 2006-07-07 Roger Sayle <roger@eyesopen.com>
1208 * pointer-set.c (pointer_set_destroy): Correct whitespace.
1209 * cfgloopanal.c (dump_graph): Likewise.
1210 * dojump.c (discard_pending_stack_adjust): Likewise.
1211 * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
1213 * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
1214 * function.c (finalize_block_changes): Likewise.
1215 * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
1216 * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
1217 * rtl.c (dump_rtx_statistics): Likewise.
1218 * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
1220 * varray.c (dump_varray_statistics): Likewise.
1221 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
1222 decode_decimal64, encode_decimal128, decode_decimal128,
1223 decimal_real_to_decimal): Likewise.
1225 2006-07-07 Richard Guenther <rguenther@suse.de>
1227 PR tree-optimization/28187
1228 * tree-vrp.c (vrp_operand_equal_p): New function.
1229 (vrp_bitmap_equal_p): Likewise.
1230 (update_value_range): Use them to compare old and new
1233 2006-07-06 Roger Sayle <roger@eyesopen.com>
1235 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
1236 a default case to switch statement to silence compiler warnings.
1238 2006-07-06 Roger Sayle <roger@eyesopen.com>
1241 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
1242 the configured assembler supports the x87's ffreep mnemonic.
1243 * configure: Regenerate.
1244 * config.in: Regenerate.
1246 * config/i386/i386.c (output_387_ffreep): New function.
1247 (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
1248 (output_387_reg_move): Likewise.
1250 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
1252 Port to hosts whose 'sort' and 'tail' implementations
1253 treat operands with leading '+' as file names, as POSIX
1254 has required since 2001. However, make sure the code still
1255 works on pre-POSIX hosts.
1256 * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
1257 which says you should use "tail -c +N" rather than "tail +Nc".
1258 Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
1260 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
1262 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
1265 2006-07-06 David Edelsohn <edelsohn@gnu.org>
1268 * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
1269 PRE_{INC,DEC} of TFmode.
1271 2006-07-06 David Edelsohn <edelsohn@gnu.org>
1272 Alan Modra <amodra@bigpond.net.au>
1275 * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
1278 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1281 * config/alpha/predicates.md (alpha_swapped_comparison_operator):
1282 Remove duplicate gtu.
1284 2006-07-05 Jason Merrill <jason@redhat.com>
1288 * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
1289 * c-common.c (handle_packed_attribute): So don't copy it here.
1290 * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
1292 2006-07-05 Mike Stump <mrs@apple.com>
1294 * doc/invoke.texi (Invoking G++): Clarify prose for g++.
1296 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
1299 * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
1301 2006-07-05 Richard Guenther <rguenther@suse.de>
1304 * config/i386/i386.md (*negdf2_1): Restrict pattern to
1305 TARGET_SSE2 targets if using SSE math.
1306 (*absdf2_1): Likewise.
1308 2006-07-05 Richard Guenther <rguenther@suse.de>
1310 PR tree-optimization/28162
1311 * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
1312 make sure to convert the operands to the correct type.
1314 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
1316 PR tree-optimization/28218
1318 * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
1319 to calculate and free the dominator information.
1321 2006-07-04 Peter O'Gorman <peter@pogma.com>
1323 * mklibgcc.in: chmod 644 before ranlib during install.
1325 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
1326 J"orn Rennecke <joern.rennecke@st.com>
1328 * configure.ac (.eh_frame data check): Use diff -b.
1330 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
1333 * Makefile.in (BUILD_RTL): Add build/vec.o.
1334 (build/gencondmd.o): Filter out -fkeep-inline-functions.
1335 (build/genextract): Delete.
1336 (build/genautomata): Likewise.
1338 2006-07-04 Alan Modra <amodra@bigpond.net.au>
1341 * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
1342 128-bit IBM long doubles for ABI_V4.
1344 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
1346 * tree.c (range_in_array_bounds_p): New predicate.
1347 * tree.h (range_in_array_bounds_p): Declare it.
1348 * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
1349 return a less conservative answer.
1350 * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
1351 and flag 'is_group'.
1352 (IS_ELEMENT_FOR_GROUP): New macro.
1353 (FOR_EACH_ACTUAL_CHILD): Likewise.
1354 (next_child_for_group): New helper function.
1355 (can_completely_scalarize_p): Take into account groups.
1356 (sra_hash_tree): Handle RANGE_EXPR.
1357 (sra_elt_eq): Likewise.
1358 (lookup_element): Be prepared for handling groups.
1359 (is_valid_const_index): Delete.
1360 (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
1361 instead of is_valid_const_index.
1362 <ARRAY_RANGE_REF>: New case.
1363 (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
1364 is_valid_const_index.
1365 <ARRAY_RANGE_REF>: Do not unconditionally punt.
1366 (scan_dump): Dump info for groups too.
1367 (decide_instantiation_1): Likewise.
1368 (decide_block_copy): Assert that the element is not a group.
1369 Propagate decision to groups.
1370 (generate_one_element_ref): Handle RANGE_EXPR.
1371 (mark_no_warning): Iterate over actual childs.
1372 (generate_copy_inout): Likewise.
1373 (generate_element_copy): Likewise.
1374 (generate_element_zero): Likewise.
1375 (generate_element_init_1): Likewise.
1376 (dump_sra_elt_name): Handle RANGE_EXPR.
1378 2006-07-03 Roger Sayle <roger@eyesopen.com>
1380 PR tree-optimization/26251
1381 * tree-ssa-threadupdate.c (redirection_block_p): New function.
1382 (thread_block): When optimizing for size refuse to thread jumps
1383 that would require duplication of blocks other than redirection
1386 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1388 * configure.ac: Fix thinko in previous check-in.
1389 * configure: Regenerate.
1391 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1394 * configure.ac (for lang...): Simplify nesting of conditionals.
1395 Test subdir_requires for non-enabled languages. Move processing
1396 of lang_opt_files and lang_tree_fiels below that test.
1397 * configure: Regenerate.
1398 * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
1400 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
1402 * doc/gcov.texi (Invoking Gcov): Add a missing word.
1404 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
1406 * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
1409 2006-06-29 Jason Merrill <jason@redhat.com>
1416 * tree.c (build_decl_stat): Don't hande #pragma visibility here.
1417 * c-common.c (c_determine_visibility): Handle it here.
1418 * c-decl.c (finish_decl): Call c_determine_visibility for
1420 * flags.h (enum symbol_visibility): Sort from most to least visibility.
1422 * varasm.c (default_assemble_visibility): Likewise.
1423 * c-common.c (handle_visibility_attribute): Complain about trying
1424 to give visibility to an already defined class, or trying to change
1425 declared visibility. Always attach the attribute.
1430 * attribs.c (decl_attributes): Ignore type-in-place attributes
1431 once the type has been defined.
1433 2006-06-29 Roger Sayle <roger@eyesopen.com>
1436 * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
1437 to indicate the cpplib has issued an error message for us.
1439 2006-06-29 Asher Langton <langton2@llnl.gov>
1442 * config/i386/i386.c (ix86_output_function_epilogue): Don't
1443 insert a label at the end of an function under Mach-O.
1445 2006-06-29 Eric Christopher <echristo@apple.com>
1446 Evan Cheng <evan.cheng@apple.com>
1448 * predicates.md (vector_all_ones_operand): New.
1449 (nonimmediate_or_sse_const_operand): Ditto.
1450 * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
1451 * config/i386/i386.c (standard_sse_constant_opcode): Define.
1452 (standard_sse_mode_p): Ditto.
1453 (standard_sse_constant_p): Add case for -1 vector.
1454 (ix86_expand_vector_move): Try to use.
1455 * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
1456 Call standard_sse_constant_opcode.
1457 (*movv4sf_internal): Ditto.
1458 (*movv2df_internal): Ditto.
1460 2006-06-29 Roger Sayle <roger@eyesopen.com>
1462 * genpreds.c (write_match_code_switch): Correctly use XSTR instead
1463 of XEXP to extract the operands of a MATCH_CODE rtx.
1465 2006-06-28 Andrew Pinski <pinskia@gmail.com>
1467 * tree.c (tree_size): Do not waste tail padding in
1468 struct tree_string and make the size be the same as
1469 build_string will generate.
1471 2006-06-28 Jason Merrill <jason@redhat.com>
1474 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
1475 may_aliases already in the tag's annotations to the bitmap.
1477 2006-06-28 Roger Sayle <roger@eyesopen.com>
1479 * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
1481 2006-06-28 Roger Sayle <roger@eyesopen.com>
1483 * genpreds.c (generate_switch_p): New function.
1484 (add_mode_tests): Push the new mode test down inside an AND expr
1485 if this allows the switch-suitable MATCH_CODE to be near the root.
1486 (write_match_code_switch): New function to write a MATCH_CODE as
1488 (write_predicate_stmts): New function to write a predicate RTX
1489 expression as a sequence of statements.
1490 (write_one_predicate_function): Use write_predicate_stmts.
1491 (write_tm_constrs_h): Likewise.
1493 2006-06-26 Fred Fish <fnf@specifix.com>
1495 * config/mips/t-sb1: New file.
1496 * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
1499 2006-06-26 DJ Delorie <dj@redhat.com>
1501 * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
1503 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
1504 Jayant Sonar <jayants@kpitcummins.com>
1505 Jaydeep Vipradas <jaydeepv@kpitcummins.com>
1507 * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
1508 (subsi3, subsi3_1, subsi3_2): New.
1509 * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
1510 * config/m32c/mov.md (SI mov peephole): New.
1511 * config/m32c/m32.c (m32c_immd_dbl_mov): New.
1512 * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
1514 2006-06-26 Olivier Hainque <hainque@adacore.com>
1516 * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
1517 a CALL_EXPR target function declaration.
1519 2006-06-26 Richard Guenther <rguenther@suse.de>
1521 * tree.c (build_string): Do not waste tail padding in
1524 2006-06-26 Richard Guenther <rguenther@suse.de>
1526 * ggc-page.c (init_ggc): Add missing element to size_lookup
1530 2006-06-23 Richard Guenther <rguenther@suse.de>
1532 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1533 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1534 alignment requests instead. Add verification code.
1535 Add struct tree_function_decl and struct tree_binfo size to
1536 extra_order_size_table. Add missing element to size_lookup
1539 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
1542 * fold-const.c (const_binop): Be prepared for self returning zero.
1543 Simplify code handling complex values.
1545 2006-06-24 Olivier Hainque <hainque@adacore.com>
1547 * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
1548 (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
1551 2006-06-24 Olivier Hainque <hainque@adacore.com>
1553 * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
1554 ARRAY_REF, so have the callback called for the low bound expression.
1556 2006-06-23 Janis Johnson <janis187@us.ibm.com>
1558 * tree.h (DECIMAL_FLOAT_TYPE_P): New.
1559 * c-typeck.c (c_common_type): Disallow operations on decimal float
1560 types and other float types.
1561 * convert.c (convert_to_real): Don't ignore conversions involving
1562 decimal float types.
1564 2006-06-23 Olivier Hainque <hainque@adacore.com>
1566 * tree.c (max_int_size_in_bytes): New function, inspired from
1567 code in function.c:assign_temp.
1568 * tree.h (max_int_size_in_bytes): Declare.
1569 * function.c (assign_temp): Use it.
1570 * gimplify.c (create_tmp_var): Relax the assertions on the type
1571 properties, not mandating constant size any more.
1572 (force_constant_size): New static function.
1573 (gimple_add_tmp_var): Use it, forcing variable size to a
1574 constant upper bound if it is not constant on entry.
1576 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1579 * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
1580 for initialization and setting of one_only flag to ...
1581 (i386_pe_encode_section_info): ...here.
1582 (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
1583 Recheck that the symbol has not been defined.
1585 2006-06-23 Richard Guenther <rguenther@suse.de>
1587 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1588 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1589 alignment requests instead. Add verification code.
1590 Add struct tree_function_decl and struct tree_binfo size to
1591 extra_order_size_table. Add missing element to size_lookup
1594 2006-06-22 Roger Sayle <roger@eyesopen.com>
1595 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1598 * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
1599 call to lang_hooks.types.type_for_mode returned NULL_TREE.
1601 2006-06-23 Ben Elliston <bje@au.ibm.com>
1603 * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
1604 negate dn -- manipulate it directly.
1606 2006-06-22 Roger Sayle <roger@eyesopen.com>
1607 Steven Bosscher <stevenb.gcc@gmail.com>
1610 * reload1.c (gen_reload): Call mark_jump_label on the new insns
1611 generated by gen_move_insn to add REG_LABEL notes if necessary.
1613 2006-06-22 Bob Wilson <bob.wilson@acm.org>
1615 * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
1616 (leaf_entry): Remove use of MIN_ESA.
1618 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
1620 PR rtl-optimization/28121
1621 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
1624 2006-06-21 DJ Delorie <dj@redhat.com>
1626 * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
1628 (mulhisi3_r): Likewise.
1630 2006-06-21 Richard Sandiford <richard@codesourcery.com>
1633 * coverage.c (coverage_counter_alloc): Leave the index type
1635 (coverage_counter_alloc): Use null arguments for operands 2 and 3
1638 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
1640 * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
1641 section from the "Options for Code Generation Conventions".
1643 2006-06-21 Richard Henderson <rth@redhat.com>
1647 * config/alpha/predicates.md (small_symbolic_operand): Deny weak
1649 (global_symbolic_operand): Allow weak symbols, even if local_p.
1651 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
1653 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
1654 (find_interesting_uses_address): Punt if above function returns true.
1656 2006-06-21 Richard Guenther <rguenther@suse.de>
1658 * configure: Regenerated.
1660 2006-06-21 Joseph Myers <joseph@codesourcery.com>
1662 * config/mips/mips.c (function_arg): Where one part of a
1663 complex argument is in registers and the other part in the stack,
1664 return a REG not a PARALLEL.
1666 2006-06-21 Mark Mitchell <mark@codesourcery.com>
1668 * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
1669 when cross-compiling. Do not substitute libstdcxx_incdir.
1670 * configure: Regenerated.
1672 2006-06-21 Jakub Jelinek <jakub@redhat.com>
1674 * varasm.c (mergeable_string_section): Check for embedded NULs and
1675 NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
1676 rather than TREE_STRING_LENGTH bytes.
1678 2006-06-21 Richard Guenther <rguenther@suse.de>
1680 * ggc-page.c (extra_order_size_table): Add var_ann_d,
1681 tree_ssa_name, bitmap_element and phi_node with 4 arguments
1684 2006-06-21 Richrad Guenther <rguenther@suse.de>
1686 * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
1687 Limit iteration over the dominators.
1689 2006-06-20 Roger Sayle <roger@eyesopen.com>
1691 * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
1692 (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
1694 2006-06-20 Richard Guenther <rguenther@suse.de>
1695 Michael Matz <matz@suse.de>
1697 * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
1699 * alloc-pool.c (free_alloc_pool_if_empty): New function.
1700 * et-forest.h (et_free_pools): Prototype new function.
1701 * et-forest.c (et_free_tree_force): Free parent occurrence.
1702 (et_free_pools): New function.
1703 * dominance.c (free_dominance_info): Free et-forest alloc
1706 2006-06-20 Roger Sayle <roger@eyesopen.com>
1708 * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
1709 integer modes, attempt to directly construct an integer constant.
1711 * fold-const.c (native_encode_vector): Determine the size of each
1712 element from the vector type instead of the first vector element.
1714 * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
1715 if all of its elements/components are constant.
1716 (build_constructor_from_list): Likewise.
1718 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
1720 PR tree-optimization/27331
1721 * tree-data-ref.c (free_data_ref): New function.
1722 (create_data_ref): Fail if the data reference has unknown access
1724 (free_data_refs): Use free_data_ref.
1726 2006-06-19 Andrew Pinski <pinskia@gmail.com>
1729 * tree-inline.c (setup_one_parameter): Strip useless
1730 type conversion before adding it to the IR.
1731 (declare_return_variable): Likewise.
1733 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
1736 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
1738 2006-06-19 Mike Stump <mrs@apple.com>
1740 * tree.c (variably_modified_type_p): VM arguments don't make the
1743 2006-06-19 Richard Guenther <rguenther@suse.de>
1745 * tree-ssa-pre.c (try_combine_conversion): Strip useless
1746 type conversions after folding.
1748 2006-06-19 Richard Guenther <rguenther@suse.de>
1750 * ggc-page.c (extra_order_size_tab): Add entries with
1751 size of struct function and basic_block.
1752 (size_lookup): Extend to cover sizes up to 511.
1753 (ggc_alloc_stat): Adjust user.
1754 (ggc_pch_count_object): Likewise.
1755 (ggc_pch_alloc_object): Likewise.
1756 (ggc_pch_write_object): Likewise.
1758 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
1760 * tree-ssa-loop-niter.c (implies_ge_p): New function.
1761 (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
1764 2006-06-19 Denis Chertykov <denisc@overta.ru>
1766 * config/avr/libgcc.S : Correct my wrong previous commit.
1768 2006-06-19 Roger Sayle <roger@eyesopen.com>
1771 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
1772 have stripped a SUBREG from the shift count, so we may need to
1773 convert_to_mode back to the type's mode before calling make_tree.
1774 Use new_amount instead of amount to avoid expanding a tree twice.
1776 2006-06-19 Richard Guenther <rguenther@suse.de>
1779 * fold-const.c (operand_equal_p): Check if the argument types
1780 have the same precision before stripping NOPs.
1782 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
1784 Fix PR tree-optimization/27341
1785 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
1787 * tree-complex.c (pass_lower_complex): Update SMT usage.
1789 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
1791 * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
1792 Add a new alternative to the constraint strings. Add move of
1793 operand 1 to 3 to the splitter definition.
1794 ("doloop_si_long"): Second contraint alternative removed.
1796 2006-06-08 Anatoly Sokolov <aesok@post.ru>
1798 * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
1799 (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
1801 (AVR_HAVE_MOVW) Define.
1802 (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
1803 (ASM_SPEC): Add avr25.
1804 (LINK_SPEC): Add avr25.
1805 * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
1806 (base_arch_s): Add new member 'have_movw_lpmx'.
1807 (avr_arch_types): Init 'have_movw_lpmx'.
1808 (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
1809 attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
1810 attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
1811 (avr_override_options): Init 'avr_have_movw_lpmx_p'.
1812 (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
1814 (avr_file_start): Do not output '.arh' derective.
1815 * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
1816 (__do_copy_data): Use __AVR_HAVE_LPMX__.
1817 * config/avr/avr.md (mcu_enhanced): Delete.
1818 (mcu_have_movw): Define.
1819 (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
1820 (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
1821 * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
1822 (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
1823 attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
1824 attiny861 and at86rf401 devices.
1826 2006-06-18 Jie Zhang <jie.zhang@analog.com>
1828 * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
1831 2006-06-17 Karl Berry <karl@gnu.org>
1833 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
1834 doc/gccint.texi, doc/install.texi (@dircategory): Use
1835 "Software development" instead of "Programming", following
1836 the Free Software Directory.
1838 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
1840 * config/i386/i386.c (legitimate_tls_address)
1841 <TARGET_GNU2_TLS>: Add tp after DTPOFF.
1842 * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
1843 (*tls_dynamic_gnu2_combine_64): Likewise.
1845 2006-06-16 Richard Guenther <rguenther@suse.de>
1848 * fold-const.c (negate_expr_p): Do not introduce undefined
1849 overflow in negating INTEGER_CSTs.
1850 (fold_negate_expr): Rename from negate_expr. Revert last
1851 change for folding BIT_NOT_EXPR. Change semantics to
1852 return NULL_TREE for non-simplified negations. Do not
1853 strip type conversions and unify type handling.
1854 (negate_expr): New function, wrap around fold_negate_expr
1855 but ensure building a tree always. Strip type conversions
1856 here, fold to result type.
1857 (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
1859 2006-06-16 Roger Sayle <roger@eyesopen.com>
1862 * reg-stack.c (subst_stack_regs): Handle noreturn function calls
1863 that (would) return their results in stack registers.
1865 2006-06-16 Michael Matz <matz@suse.de>
1866 Richard Guenther <rguenther@suse.de>
1868 * fold-const.c (fold_truthop): Only return new tree node if
1869 we canonicalized something.
1871 2006-06-16 Richard Guenther <rguenther@suse.de>
1873 * function.h (enum function_frequency): Move declaration
1874 out of struct function.
1875 (struct function): Move bool fields and the enum to the bitfield
1876 section. Reorder elements to avoid padding. Remove unused
1877 fields left over from the RTL inliner removal.
1878 * function.c (free_after_compilation): Do not zero removed fields.
1879 * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
1880 (ipa-type-escape.o): Likewise.
1882 2006-06-16 Richard Guenther <rguenther@suse.de>
1884 * cgraph.h (struct cgraph_local_info): Turn bool elements
1886 (struct cgraph_node): Likewise.
1887 (struct cgraph_varpool_node): Likewise.
1889 2006-06-15 Richard Guenther <rguenther@suse.de>
1891 * fold-const.c (fold_truth_not_expr): Rename from
1892 invert_truthvalue. Give it fold_* semantics to avoid
1894 (invert_truthvalue): New function. Wrapper around
1895 fold_truth_not_expr.
1896 (optimize_minmax_comparison): Avoid creating garbage.
1897 (fold_unary): Use fold_truth_not_expr for folding
1899 (fold_ternary): Replace uses of invert_truthvalue with
1900 fold_truth_not_expr where applicable.
1901 * tree.h (fold_truth_not_expr): Prototype.
1903 2006-06-16 Richard Guenther <rguenther@suse.de>
1905 PR tree-optimization/27781
1906 * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
1907 * ipa-pure-const.c (target.h): Include.
1908 (analyze_function): Do not analyze functions that do not
1911 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
1914 * tree-dfa.c (referenced_vars_dup_list): Remove.
1915 (find_referenced_vars): Remove assert.
1916 (referenced_var_check_and_insert): Replace dup list with assert.
1917 * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
1918 * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
1920 2006-06-15 Richard Guenther <rguenther@suse.de>
1922 * tree-ssa-structalias.c (alias_get_name): Avoid creating
1923 extra unused identifiers if not dumping.
1924 (create_variable_info_for): Likewise.
1926 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
1928 * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
1929 (derive_constant_upper_bound): Derive more precise upper bound in
1930 common cases. Return type changed to double_int.
1931 (record_estimate): Reflect the changed return type of
1932 derive_constant_upper_bound.
1933 * double-int.c (double_int_zext, double_int_sext): Fix.
1935 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
1937 * configure.ac (CFLAGS): Get them from the toplevel or from the
1938 configure invocation.
1939 * configure: Regenerate.
1940 * Makefile.in (CFLAGS): Substitute value provided by configure.
1942 2006-06-14 Mark Mitchell <mark@codesourcery.com>
1945 * c-common.h (c_finish_omp_atomic): Adjust declaration.
1946 * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
1947 rather than calling add_stmt on it.
1948 * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
1950 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
1953 * reload1.c (reload): Remove registers returned by update_eliminables
1954 from used_spill_regs.
1956 2006-06-13 DJ Delorie <dj@redhat.com>
1958 * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
1960 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
1962 * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
1963 html__strip_dir, html__mkdir_p. Enhance install-html target.
1964 * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
1965 * configure: Regenerate.
1967 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
1969 * fold-const.c (fold_cond_expr_with_comparison): Check for
1970 Objective-C++ as language in deciding COND_EXPR transformation.
1972 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
1975 * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
1976 * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
1977 * config/sh/lib1funcs.h (SL, SL1): Define.
1978 * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
1979 * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
1980 * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
1981 (OBJS_Os_4_200): New variable.
1982 ($(T)libgcc-Os-4-200.a): Use it.
1983 * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
1984 when dividing 1 and/or by 0.
1986 2006-06-13 Roger Sayle <roger@eyesopen.com>
1988 * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
1989 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
1990 * configure: Regenerate.
1992 2006-06-13 Jie Zhang <jie.zhang@analog.com>
1994 * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
1995 for real instruction.
1997 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2000 * haifa-sched.c (check_cfg): Handle special case.
2002 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
2005 * gimplify.c (declare_tmp_vars): Rename into declare_vars.
2006 Add debug_info parameter. Chain the vars to the BLOCK instead
2007 of the BIND_EXPR if debug info are requested for them.
2008 (pop_gimplify_context): Adjust for above change.
2009 (gimple_add_tmp_var): Likewise.
2010 * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
2012 * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
2013 (convert_local_reference): Likewise.
2014 (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
2015 (finalize_nesting_tree_1): Request that debug info be emitted
2016 for debug_var_chain.
2018 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2020 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
2021 for PR target/27863.
2023 2006-06-13 Richard Guenther <rguenther@suse.de>
2026 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
2028 2006-06-13 Richard Guenther <rguenther@suse.de>
2030 PR tree-optimization/27830
2031 * tree-inline.c (copy_body_r): For copying the operand
2032 of an ADDR_EXPR make sure to fold &* afterwards.
2034 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
2036 * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
2037 lvalues in the fb_none case with side-effects.
2039 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
2041 * tree-flow.h: Remove the prototype for
2042 compute_phi_arg_on_exit.
2043 * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
2044 protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
2047 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
2049 * builtins.c (expand_builtin_return_addr): Only use
2050 frame_pointer_rtx when count == 0 and we are expanding
2051 __builtin_return_address.
2053 2006-06-12 Fred Fish <fnf@specifix.com>
2055 * config/mips/mips.c (mips_file_start): Create special section
2056 ".gcc_compiled_longXX" for o64 ABI as well as EABI.
2058 2006-06-11 Eric Christopher <echristo@apple.com>
2061 * stor-layout.c (place_field): Remove check for
2062 remaining_in_alignment when aligning at the end of a run.
2064 2006-06-11 Eric Christopher <echristo@apple.com>
2067 * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
2070 2006-06-11 Roger Sayle <roger@eyesopen.com>
2073 Revert incorrect fix for PR target/27158
2074 2006-05-08 Roger Sayle <roger@eyesopen.com>
2075 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
2076 of a reg_equiv_constant if the result is a legitimate constant.
2078 2006-06-11 Roger Sayle <roger@eyesopen.com>
2081 * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
2082 extract a CONST_VECTOR element and interpret it as an integer.
2083 (vspltis_constant): Use const_vector_elt_as_int instead of the
2084 macro CONST_VECTOR_ELT in order to handle FP vector modes.
2085 * config/rs6000/predicates.md (easy_vector_const): Consider
2086 floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
2088 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
2091 * stor-layout.c (update_alignment_for_field): Don't add extra
2092 alignment for packed non-bitfield fields in ms_bitfield_layout_p
2095 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
2097 * config/mips/t-rtems: Add EL/EB multilib variants.
2099 2006-06-09 Mike Stump <mrs@apple.com>
2101 * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
2103 2006-06-09 David Daney <ddaney@avtrex.com>
2105 * doc/install.texi: Add binutils version recommendation for mips-*-*.
2107 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
2109 * reload.c (find_reloads): Unset force_reload for 'X' constraint.
2111 2006-06-09 Richard Guenther <rguenther@suse.de>
2113 PR tree-optimization/26998
2114 * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
2115 of signed types, only TYPE_MIN_VALUE is special, but for both,
2116 minimum and maximum value. Likewise VR_ANTI_RANGE is special
2117 in this case, as is -fwrapv.
2119 2006-06-08 Mike Stump <mrs@apple.com>
2122 * config/darwin.c (darwin_asm_output_anchor): Disable
2123 -fsection-anchors on darwin for now.
2124 * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
2125 * rs6000/rs6000.c (optimization_options): Likewise.
2127 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2130 * config/i386/i386.c (classify_argument): Skip fields with invalid
2133 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
2135 * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
2136 (cse_insn): Likewise for the stack_pointer_rtx.
2138 2006-06-08 Roger Sayle <roger@eyesopen.com>
2140 * tree-ssa-dom.c (record_conditions): Only record "unordered"
2141 conditions from floating point comparisons.
2143 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
2146 * expmed.c (struct alg_hash_entry): Fix type of field T
2147 to match synth_mult argument.
2148 (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
2150 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2153 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
2156 2006-06-08 Richard Guenther <rguenther@suse.de>
2159 * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
2160 only, if overflow is defined and not trapping.
2161 (negate_expr): Likewise.
2163 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
2165 PR tree-optimization/27872
2166 * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
2167 flag on the new exit edge of the unrolled loop.
2169 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
2171 PR rtl-optimization/26449
2172 * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
2174 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
2177 * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
2178 referenced_variables with matching DECL_UID's.
2179 (find_referenced_vars): Make sure duplicate list is empty to start.
2180 (referenced_var_p): Remove.
2181 (referenced_var_check_and_insert): Renamed from referenced_var_insert.
2182 Check if var is in the list, and add if needed. Update the duplicate
2183 list if a different var is in the list with the same DECL_UID.
2184 (add_referenced_var): Call routine to check and insert.
2185 * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
2186 * tree-flow.h (referenced_vars_dup_list): External declaration.
2188 2006-06-07 Fred Fish <fnf@specifix.com>
2190 * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
2193 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
2196 * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
2197 the imaginary and real parts of a clobbered register.
2198 Emit insn to set the imaginary part.
2200 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
2202 * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
2203 in lieu of unwind-dw2-fde.c.
2205 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
2207 * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
2209 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
2212 * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
2213 ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
2214 ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
2215 V4SImode temporaries and operations instead.
2217 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
2219 * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
2222 2006-06-06 Mike Stump <mrs@apple.com>
2224 * Makefile.in: Rename to htmldir to build_htmldir to avoid
2225 installing during build.
2227 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
2229 * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
2231 * doc/invoke.texi (max-sched-extend-regions-iters): Document.
2232 * config/ia64/ia64.c (params.h): New header.
2233 (ia64_optimization_options): New function to adjust parameters.
2234 * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
2235 * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
2236 * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
2238 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
2240 * stor-layout.c (debug_rli): Fix a typo in a debug message.
2242 2006-06-05 Steve Ellcey <sje@cup.hp.com>
2245 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
2247 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
2248 Victor Kaplansky <victork@il.ibm.com>
2250 PR tree-optimization/26360
2251 * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
2254 2006-06-04 Roger Sayle <roger@eyesopen.com>
2255 Andrew Pinski <pinskia@physics.uc.edu>
2258 * c-common.c (c_common_truthvalue_conversion): Explicitly check
2259 for LABEL_DECL before calling DECL_WEAK.
2262 * c-typeck.c (build_binary_op): Likewise, explicitly check for
2263 LABEL_DECL and PARM_DECL.
2265 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
2269 * c-decl.c (grokdeclarator): Disallow variably modified types at
2270 file scope. Avoid marking shared array type of constant size as
2273 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2276 * c-common.c (fold_offsetof_1): Handle static members.
2278 2006-06-04 Eric Christopher <echristo@apple.com>
2280 * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
2281 (debug_rli): Output value for remaining_in_alignment.
2282 (update_alignment_for_field): Unconditionalize
2283 ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
2284 extra alignment code.
2285 (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
2286 ms_bitfield_layout_p code. Rewrite handling of structure fields.
2287 * tree.h (record_layout_info_s): Remove prev_packed.
2288 * doc/extend.texi (ms_struct): Add documentation of format.
2290 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
2292 * tree.h: Declare folding_initializer.
2293 * builtins.c (fold_builtin_constant_p): Give definite answer
2294 if folding inside an initializer.
2295 * fold-const.c: Define folding_initializer.
2296 (START_FOLD_INIT): Save and then set folding_initializer.
2297 (END_FOLD_INIT): Restore folding_initializer.
2299 2006-06-04 Richard Guenther <rguenther@suse.de>
2301 PR tree-optimization/27039
2302 * fold-const.c (fold_comparison): Handle pointer comparison
2303 again for all comparison codes. Compare offsets in signed
2305 (fold_binary): Move code from here.
2307 2006-06-03 Roger Sayle <roger@eyesopen.com>
2310 * config/i386/i386.c (construct_container): Split static issued_error
2311 flag into issued_sse_arg_error, issued_sse_ret_error and
2312 issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
2313 requires the use of x87 registers and the user explicitly
2314 specified the -mno-80387 command line option.
2316 2006-06-02 Geoffrey Keating <geoffk@apple.com>
2318 * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
2319 HAVE_DECL_SIGALTSTACK.
2321 (segv_handler): Use MC_FLD.
2322 * configure.ac: Check for a sigaltstack declaration.
2323 Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
2324 * configure: Regenerate.
2325 * config.in: Regenerate.
2327 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
2330 * Makefile.in (stmp-fixinc): Fix typo.
2332 2006-06-02 Roger Sayle <roger@eyesopen.com>
2334 * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
2335 are type correct. Clean-up.
2336 <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
2337 <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
2339 2006-06-01 DJ Delorie <dj@redhat.com>
2341 * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
2342 shift, as we've disabled the "switch" insn that needs it.
2344 2006-06-01 Per Bothner <bothner@bothner.com>
2346 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
2347 * c-opts.c (finish_options): Use internal line 0 for <command-line>.
2348 * c-ppoutput.c (cb_define): Don't increment line 0.
2350 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
2352 * doc/invoke.texi: Add cpu_type power6.
2353 * config.gcc: Add cpu_type power6.
2354 * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
2355 to power5+ with Altivec.
2356 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
2357 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
2359 2006-05-30 Anatoly Sokolov <aesok@post.ru>
2361 * config/avr/avr.h (SET_ASM_OP): Define.
2363 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
2365 * config/bfin/bfin.c: Fix comment typos.
2367 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
2370 * doc/install.texi: Document --enable-bootstrap and
2371 --disable-bootstrap.
2373 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
2375 * doc/install.texi: Document that InfoZIP can replace jar.
2377 2006-05-31 Roger Sayle <roger@eyesopen.com>
2379 * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
2380 isn't available, directly generate the simpler x87 patterns without
2381 the (use (const_int 0)).
2382 * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
2383 implementation isn't available.
2384 (*negdf2_1): Likewise.
2385 (*negxf2_1): XF mode negation is always done using the x87.
2386 (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
2388 2006-05-31 Roger Sayle <roger@eyesopen.com>
2390 * builtins.c (fold_builtin_cabs): Delete prototype. Require an
2391 additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
2393 (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
2395 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2397 * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
2398 * config/bfin/bfin.c (basic-block.h): Include.
2399 (struct machine_function): New.
2400 (bfin_init_machine_status): New.
2401 (override_options): Initialize init_machine_status.
2402 (bfin_hardware_loop): New.
2403 (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
2404 (DEF_VEC_P (loop_info)): New.
2405 (DEF_VEC_ALLOC_P (loop_info,heap)): New.
2406 (struct loop_info): New.
2407 (loop_info): New typedef.
2408 (struct loop_work): New.
2409 (loop_work): New typedef.
2410 (DEF_VEC_O (loop_work)): New.
2411 (DEF_VEC_ALLOC_O (loop_work,heap)): New.
2412 (bfin_dump_loops): New.
2413 (bfin_bb_in_loop): New.
2414 (bfin_scan_loop): New.
2415 (bfin_optimize_loop): New.
2416 (bfin_reorg_loops): New.
2417 (bfin_reorg): Use bfin_reorg_loops.
2418 * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
2420 (I_REGNO_P): Simplify.
2421 (DP_REGNO_P, DPREG_P): New macros.
2422 (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
2423 REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
2424 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
2425 Add LT_REGS, LC_REGS, LB_REGS.
2426 (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
2428 (REGNO_REG_CLASS): Deal with loop registers.
2429 * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
2431 (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
2432 New constants for loop registers.
2433 (UNSPEC_LSETUP_END): New.
2434 (seq_insns): New define_attr. Set it for appropriate insns.
2435 (movsi_insn): Add alternatives for move from/to
2436 loop count registers.
2437 (doloop_end): New define_expand.
2438 (loop_end): New define_insn.
2439 (define_split for bad doloop_end): New.
2440 (lsetup_with_autoinit): New define_insn.
2441 (lsetup_without_autoinit): New define_insn.
2442 (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
2443 * config/bfin/predicates.md (lc_register_operand): New.
2444 (lt_register_operand): New.
2445 (lb_register_operand): New.
2446 (nondp_register_operand): New.
2447 (nondp_reg_or_memory_operand): New.
2448 * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
2450 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2452 * config/bfin/bfin.c (bfin_delegitimize_address): New.
2453 (TARGET_DELEGITIMIZE_ADDRESS): Define.
2455 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
2457 * Makefile.in (CATALOGS): Add po/ prefix.
2458 * configure: Regenerated.
2460 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
2463 * arm.c (arm_print_operand case 'S'): Validate that the operand is
2464 a shift operand before calling shift_op. Avoid redundant call of
2467 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
2468 DJ Delorie <dj@redhat.com>
2470 * config/m32c/m32c.c (m32c_expand_insv): Check that the value
2471 we're inserting is a singlt-bit constant.
2473 2006-05-30 Roger Sayle <roger@eyesopen.com>
2475 * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
2476 width to HOST_WIDE_INT to avoid comparison warnings on some targets.
2478 2006-05-30 Roger Sayle <roger@eyesopen.com>
2480 PR tree-optimization/23452
2481 * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
2482 to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
2483 (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
2484 complex values and with -ffast-math for FP complex values.
2486 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
2488 * c-common.h: Remove the prototype for yyparse.
2489 * rtl.h: Remove the prototype for init_loop.
2491 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
2493 * cse.c (validate_canon_reg, cse_insn): Don't change insns without
2496 2006-05-30 Roger Sayle <roger@eyesopen.com>
2498 * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
2500 <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
2501 log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
2503 2006-05-30 Dirk Mueller <dmueller@suse.de>
2506 * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
2507 for CONSTANT_CLASS_P expresisons.
2509 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2512 * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
2514 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
2516 PR tree-optimization/27779
2517 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
2518 initial_condition instead of CHREC_LEFT.
2520 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
2522 * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
2523 * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
2524 Make prototypes ISO C90.
2526 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
2527 Leehod Baruch <leehod.baruch@weizmann.ac.il>
2529 * see.c (see_analyze_one_def): Correct check.
2530 (see_get_extension_data): Check if extension is parallel.
2531 (see_get_extension_reg): Likewise.
2533 2006-05-30 Uros Bizjak <uros@kss-loka.si>
2536 * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
2537 into register for (code == GTU).
2539 2006-05-29 Roger Sayle <roger@eyesopen.com>
2541 PR tree-optimization/24964
2542 * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
2543 <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
2544 signaling NaNs. Optimize -x*-x as x*x for all float modes, and
2545 abs(x)*abs(x) as x*x for scalar floating point modes.
2547 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
2550 * lambda-code.c (perfect_nestify): Don't copy statements
2551 in the inner loop: move them to the inner loop header.
2553 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2556 * c-tree.texi: Document OpenMP directives and clauses.
2558 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2560 * varasm.c (globalize_decl): Fix indentation.
2562 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2565 * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
2566 pass_fre, pass_store_ccp, pass_copy_prop,
2567 pass_store_copy_prop, pass_merge_phi, pass_nrv,
2568 pass_return_slot, pass_object_size, pass_lim,
2569 pass_linear_transform, pass_empty_loop, pass_complete_unroll,
2570 pass_loop_prefetch and pass_stdarg.
2572 2005-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
2574 * config/bfin/bfin.opt (mfdpic): New option.
2575 * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
2576 (EXTRA_MULTILIB_PARTS): Likewise.
2577 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
2578 (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
2580 * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
2581 (CRT_CALL_STATIC_FUNCTION): New.
2582 * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
2584 (CRT_CALL_STATIC_FUNCTION): New.
2585 * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
2587 (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
2588 (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
2589 (initialize_trampoline): Changed to handle FD-PIC code generation.
2590 (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
2591 (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
2592 (override_options): Disallow -mid-shared-library -mfdpic combination.
2593 Can't do unaligned ops if FD-PIC.
2594 Turn off flag_pic if trying to generate non-id-shared-library
2595 non-fdpic code, since it's not supported.
2596 (bfin_assemble_integer): New function.
2597 (TARGET_ASM_INTEGER): Define.
2598 * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
2600 * config/bfin/crtn.s: Restore them.
2601 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
2603 (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
2604 LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
2605 (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
2606 (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
2607 (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
2609 (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
2610 FDPIC_REGS and FDPIC_FPTR_REGS.
2611 (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
2612 * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
2613 UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
2614 (load_funcdescsi): New pattern.
2615 (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
2616 sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
2617 call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
2619 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2621 * gcse.c, rtlanal.c: Remove obsolete comments associated with
2624 * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
2626 * tree-flow.h: Remove the prototype for add_type_alias.
2627 * tree-ssa-alias.c (add_type_alias): Remove.
2629 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
2631 * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
2632 config/fr30/fr30.md, config/i386/i386-interix.h,
2633 config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
2634 config/sh/superh64.h, config/v850/v850.c, df-core.c,
2635 df-problems.c, df.h, except.c, final.c, haifa-sched.c,
2636 lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
2637 reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
2638 tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
2639 Follow spelling conventions.
2640 * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
2641 Follow spelling conventions.
2643 2006-05-27 Richard Guenther <rguenther@suse.de>
2646 * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
2647 to produce a constant of value 1 of generic type.
2649 2006-05-27 Dirk Mueller <dmueller@suse.de>
2651 * cgraphunit.c (decide_is_function_needed): Fix wrong
2654 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
2656 PR rtl-optimization/27661
2657 * reload.c (find_reloads): When reloading a VOIDmode constant
2658 as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
2659 use Pmode as mode of the reload register.
2661 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
2663 * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
2664 is enabled at -O and above.
2666 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
2669 * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
2672 2006-05-25 Mark Mitchell <mark@codesourcery.com>
2675 * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
2676 for anonymous variables explicitly declared by front ends.
2678 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2680 * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
2681 (struct alias_info): Add new field ref_all_symbol_mem_tag.
2682 * tree-ssa-alias.c (compute_may_aliases): If the program contains
2683 ref-all pointers, run a finalization pass for them.
2684 (compute_flow_insensitive_aliasing): Skip ref-all pointers.
2685 (finalize_ref_all_pointers): New function.
2686 (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a
2687 regular pointer type to a ref-all pointer type.
2688 (get_tmt_for): Return the special memory tag for ref-all pointers.
2690 2006-05-25 Richard Guenther <rguenther@suse.de>
2693 * fold-const.c (fold_binary): Do not look at the stripped
2694 op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.
2696 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2698 * tree-vrp.c (extract_range_from_assert): Set the range to VARYING
2699 for LT and GT if the computed range is effectively empty.
2701 2006-05-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2704 * pa/pa-modes.def: Use mips_single_format, mips_double_format and
2705 mips_quad_format formats instead of ieee_single_format,
2706 ieee_double_format and ieee_quad_format formats, respectively.
2708 2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
2710 PR tree-optimization/27639
2711 PR tree-optimization/26719
2712 * tree-vrp.c (adjust_range_with_scev): Use scev_direction and adjust
2713 call to scev_probably_wraps_p.
2714 * tree-ssa-loop-niter.c (compare_trees, convert_step_widening,
2715 used_in_pointer_arithmetic_p, convert_step): Removed.
2716 (nowrap_type_p): New function.
2717 (scev_probably_wraps_p): Rewritten.
2718 * tree-scalar-evolution.c (instantiate_parameters_1): Do not call
2719 chrec_convert if chrec_convert_aggressive might have been used.
2720 * tree-chrec.c (convert_affine_scev, chrec_convert_1,
2721 scev_direction): New functions.
2722 (chrec_convert): Changed to a wrapper over chrec_convert_1.
2723 * tree-ssa-loop-ivopts.c (idx_find_step): Use convert_affine_scev
2724 instead of convert_step.
2725 * tree-flow.h (scev_probably_wraps_p): Declaration changed.
2726 (convert_step): Declaration removed.
2727 (convert_affine_scev, nowrap_type_p, scev_direction): Declare.
2729 2006-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
2731 * df-core.c: Added to header comments.
2732 * df.h (df_ru_bb_info, df_rd_bb_info, df_lr_bb_info,
2733 df_ur_bb_info, df_urec_bb_info): Added comments.
2734 * df-problems (df_ref_bitmap, ru, rd, lr, ur,
2735 urec, ri problems): Fixed header comments.
2736 (df_ru_transfer_function): Fixed in-out set dyslexia when copying
2737 code from df_rd_transfer_function.
2739 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2741 * libgcc2.c (LIBGCC2_MAX_UNITS_PER_WORD): New macro.
2742 (LIBGCC2_UNITS_PER_WORD): Use LIBGCC2_MAX_UNITS_PER_WORD rather than
2743 MIN_UNITS_PER_WORD to set the default. Also use it in the guard.
2745 2006-05-23 Joseph Myers <joseph@codesourcery.com>
2747 * expr.c (undefined_operand_subword_p): New.
2748 (emit_move_multi_word): Do not generate move from undefined bits
2749 of a paradoxical subreg.
2751 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2753 PR rtl-optimization/27736
2754 * combine.c (replaced_rhs_value): New variable.
2755 (combine_instructions): Set it.
2756 (distribute_notes): When distributing a note in replaced_rhs_insn,
2757 check whether the value was used in replaced_rhs_value.
2759 2006-05-23 Andrew MacLeod <amacleod@redhat.com>
2762 * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
2763 add_referenced_var instead of add_referenced_tmp_var.
2764 * tree-complex.c (create_one_component_var): Use add_referenced_var.
2765 * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
2767 * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
2768 tree_optimize_tail_calls_1): Use add_referenced_var.
2769 * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
2770 * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
2771 Use add_referenced_var.
2772 * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
2773 * gimplify.c (force_gimple_operand): Use add_referenced_var.
2774 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
2775 Use add_referenced_var.
2776 * tree-dfa.c (struct walk_state): Remove.
2777 (find_referenced_vars): Remove walk state and vars_found hash table.
2778 (make_rename_temp): Use add_referenced_var.
2779 (find_vars_r): Pass less parameters to add_referenced_var.
2780 (referenced_var_p): New. Is var in referenced_var hash table.
2781 (referenced_var_insert): Assert var isn't already in hash table.
2782 (add_referenced_var): Don't need walk_state parameter. Add var if it
2783 isn't already in the hash table.
2784 (add_referenced_tmp_var): Remove.
2785 (find_new_referenced_vars_1): Use add_referenced_var.
2786 * tree-ssa-pre.c (create_expression_by_pieces,
2787 insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
2788 Use add_referenced_var.
2789 * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
2790 * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
2791 lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
2793 * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
2794 vect_create_data_ref_ptr, vect_create_destination_var,
2795 vect_init_vector, vect_build_loop_niters,
2796 vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
2797 vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
2798 Use add_referenced_var.
2799 * tree-outof-ssa.c (create_temp): Use add_referenced_var.
2800 * tree-flow.h (add_referenced_tmp_var): Remove prototype
2801 (add_referenced_var): Add prototype.
2802 * tree-ssa-structalias.c (get_constraint_for,
2803 intra_create_variable_infos): Use add_referenced_var.
2805 2006-05-23 Alexandre Oliva <aoliva@redhat.com>
2807 * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
2808 big-endian paradoxical subregs.
2809 * var-tracking.c (struct micro_operation_def): Document that,
2810 for modify micro operations, insn is the subsequent instruction.
2811 (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
2812 (var_reg_set, var_mem_set): ... new functions.
2813 (add_stores): Record subsequent insn.
2814 (compute_bb_dataflow): Use new functions for MO_USE.
2815 (emit_notes_in_bb): Use new functions for MO_USE. Emit use
2816 notes after the insn, and modify notes before the insn known
2817 to be the subsequent one.
2818 (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
2820 2006-05-23 Kazu Hirata <kazu@codesourcery.com>
2823 * config/i386/i386.c (ix86_expand_builtin): Use
2824 gen_sse3_monitor64 for TARGET_64BIT.
2826 2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
2828 PR rtl-optimization/26375
2829 PR rtl-optimization/26855
2830 * df-problems (df_ru_bb_local_compute_process_def): Removed update
2832 (df_ru_bb_local_compute): Reversed statements and removed bogus
2833 comment explaining why they should be in wrong order.
2834 (df_ru_dump, df_rd_dump): Enhanced debug info.
2835 * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
2837 * ddg.c (add_deps_for_def): Converted use of reaching defs to
2838 reaching uses and fixed space problem.
2840 2006-05-23 Jan Hubicka <jh@suse.cz>
2842 * cgraphunit.c (decide_is_function_needed): Also nested functions
2843 and functions declared inline can be optimized out at -O0.
2845 2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
2847 * doc/install.texi (Configuration): Remove reference to CrossGCC
2851 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2854 * config/i386/i386.c (ix86_expand_branch): Jump to simple if
2855 ix86_compare_emitted is non-NULL.
2857 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2860 * stmt.c (expand_asm_operands): Skip asm statement with erroneous
2863 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2865 PR rtl-optimization/25514
2866 * combine.c (replaced_rhs_insn): New variable.
2867 (combine_instructions): Set replaced_rhs_insn when trying to replace
2868 a SET_SRC with a REG_EQUAL note.
2869 (distribute_notes): Use replaced_rhs_insn when determining the live
2870 range of a REG_DEAD register.
2872 2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
2873 Anatoly Sokolov <aesok@post.ru>
2875 * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
2876 attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
2877 attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
2878 atmega164p, atmega324p, atmega644p, atmega644, atmega329,
2879 atmega3290, atmega649, atmega6490, atmega406, atmega640,
2880 atmega1280, atmega1281, at90can32, at90can64, at90usb646,
2881 at90usb647, at90usb1286 and at90usb1287 devices.
2882 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
2883 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
2885 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2887 * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
2889 2006-05-22 Richard Guenther <rguenther@suse.de>
2892 2006-01-31 Richard Guenther <rguenther@suse.de>
2893 Paolo Bonzini <bonzini@gnu.org>
2895 * doc/install.texi (--disable-libgcc-math): Document.
2897 2006-05-22 Richard Guenther <rguenther@suse.de>
2900 2006-01-31 Richard Guenther <rguenther@suse.de>
2902 * doc/invoke.texi (-msselibm): Document.
2903 * target.h (expand_library_builtin): New target hook.
2904 * builtins.c (expand_builtin): Use expand_library_builtin.
2905 (default_expand_library_builtin): New function.
2906 * gcc.c (LINK_GCC_MATH_SPEC): Define.
2907 (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
2908 (link_gcc_math_spec): Declare.
2909 (static_specs): Add link_gcc_math_spec.
2910 * expr.h (default_expand_library_builtin): Declare.
2911 * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2912 (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
2913 * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
2914 * config/i386/i386.opt (msselibm): New target option.
2915 * config/i386/i386.c (ix86_builtin_function_variants): New array.
2916 (ix86_init_sse_abi_builtins): New function.
2917 (ix86_expand_library_builtin): Likewise.
2918 (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2919 (override_options): Handle error conditions wrt -msselibm.
2920 (ix86_builtins): Add function codes for SSE2 ABI builtins.
2921 (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
2922 * doc/extend.texi (__builtin_sse2_*): Document new target specific
2925 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2928 * c-common.c (self_promoting_args_p): Skip erroneous args.
2931 * c-decl.c (finish_struct): Skip erroneous fields.
2933 2006-05-22 Nick Clifton <nickc@redhat.com>
2935 * config/cris/cris.opt (march): Remove VarExists attribute.
2936 (max-stackframe=): Likewise.
2938 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2940 * doc/rtl.texi: Fix a typo.
2941 * see.c: Fix comment typos.
2943 * tree-ssa-structalias.h (alias_info): Remove num_references.
2945 2006-05-21 Mike Stump <mrs@apple.com>
2947 * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
2949 (darwin_pragma_options): Use BAD instead.
2950 (darwin_pragma_unused): Likewise.
2951 (darwin_pragma_ms_struct): Likewise.
2953 2006-05-21 David Edelsohn <edelsohn@gnu.org>
2955 * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
2957 2006-05-21 Kazu Hirata <kazu@codesourcery.com>
2959 PR rtl-optimization/27671
2960 * simplify-rtx.c (simplify_relational_operation_1): Fix
2961 simplifications of (eq/ne (xor x y) y) and
2962 (eq/ne (xor x y) x).
2964 PR tree-optimization/26622.
2965 * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
2968 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2970 * tree-cfg.c: Prune whitespace.
2971 (debug_tree_cfg): Point to correct header containing the
2974 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2977 * cgraphunit.c (verify_cgraph_node): Typo in error message.
2979 2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
2982 * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
2983 or sorry count is non zero.
2985 2006-05-20 Andreas Schwab <schwab@suse.de>
2987 * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
2989 2006-05-19 Daniel Berlin <dberlin@dberlin.org>
2990 Kenneth Zadeck <zadeck@naturalbridge.com>
2992 PR rtl-optimization/26855
2994 * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
2996 (df_scan_alloc): Added code to properly handle multiword hard
2997 registers and add all_blocks parameter.
2998 (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
2999 code to properly handle multiword hard registers.
3000 (df_rescan_blocks): Added code to remove deleted blocks from
3002 (df_ref_create_structure, df_ref_record): Added code to properly
3004 (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
3005 and set DF_REF_PARTIAL.
3006 (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
3007 (df_uses_record): Added DF_REF_PARTIAL for subreg.
3008 (df_scan_add_problem): Added flags parameter.
3009 (df_ref_create_structure): Changed switching structure.
3010 (df_bb_refs_record): Fixed case where duplicate artificial refs
3011 were created. Changed location of flags.
3012 (df_record_entry_block_defs): Added code to make stack pointer
3013 live in entry block. Refined cases where frame pointer is needed.
3014 Changed location of flags.
3015 (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
3016 (df_set_state): Removed function.
3017 (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
3018 df_insn_create_insn_record, df_insn_refs_delete,
3019 df_ref_create_structure): Formatting changes.
3020 * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
3021 df_delete_basic_block): New function.
3022 (df_init): Changed location of flags.
3023 (df_add_problem): Added flags parameter and the way flags are
3025 (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
3026 debug_df_chain): Improved debugging output.
3027 (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
3028 (df_refs_chain_dump): Removed df parameter.
3029 (df_iterative_dataflow): Added consistency check.
3030 (df_prune_to_subcfg): Made public.
3031 (df_analyze_problem): Added blocks_to_init parameter and made
3033 (df_ref_record, df_bb_refs_record, df_mark_reg,
3034 df_record_exit_block_uses): Whitespace changes.
3035 (df_dump): Whitespace changes.
3036 * df.h: Some reordering to remove forward references.
3037 (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
3038 DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
3039 (df_ref_flags.DF_REF_CLOBBER): Deleted field.
3040 (dataflow.flags): New field.
3041 (df.flag): Deleted field.
3042 (df_alloc_function): Added additional bitmap parameter.
3043 (df_dependent_problem_function): New type.
3044 (df_problem.changeable_flags): New field.
3045 (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
3046 DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
3047 (df_mw_hardreg): New struct.
3048 (DF_INSN_UID_MWS): New macro.
3049 (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
3051 (df_add_problem, df_ru_add_problem, df_rd_add_problem,
3052 df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
3053 df_ri_add_problem, df_scan_add_problem): Added flags parameter.
3054 (df_set_state): Removed function.
3055 (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
3056 * df-problems.c (df_chain_dump): Removed df parameter.
3057 (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
3058 df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
3060 (df_ru_alloc, df_rd_alloc): Now resets all blocks.
3061 (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
3062 df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
3063 Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
3064 DF_REF_MUST_CLOBBER cases.
3065 (df_ru_bb_local_compute_process_def,
3066 df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
3067 df_lr_bb_local_compute, df_ur_bb_local_compute,
3068 df_chain_create_bb): Made subreg aware.
3069 (df_ru_bb_local_compute, df_rd_bb_local_compute,
3070 df_lr_bb_local_compute, df_lr_bb_local_compute,
3071 df_chain_create_bb): Cleanup to use proper macros.
3072 (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
3073 code to fixup bitvectors.
3074 (df_ri_alloc): Cleared lifetime.
3075 (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
3076 df_create_unused_note): New function.
3077 (df_ri_bb_compute, df_ri_compute): Added code to create/update
3078 REG_DEAD and REG_UNUSED notes as well as register information.
3079 (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
3080 df_chains_dump): Fixed crash if problem was never run.
3081 (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
3082 df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
3083 df_ri_add_problem): Processes flags in uniform manner.
3084 (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
3085 df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
3086 df_rd_dump, df_urec_free_bb_info): Formatting changes.
3087 (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
3088 df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
3089 df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
3090 df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
3091 df_ur_dump, df_urec_free_bb_info, df_urec_dump,
3092 df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
3093 * modulo-sched.c (sms_schedule): Added flag parameter to calls.
3094 * see.c (see_initialize_data): Ditto.
3095 * final.c (rest_of_clean_state) Added regstack_completed.
3096 * rtl.h (regstack_completed): Ditto.
3097 * reg-stack.c (regstack_completed): Ditto.
3099 2006-05-19 Mike Stump <mrs@apple.com>
3101 * c-tree.h (default_conversion): Remove.
3102 * c-common.h (default_conversion): Add.
3104 2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
3106 * tree-vrp.c (valid_value_p): New function.
3107 (adjust_range_with_scev): Fail if the value of bound is not
3110 2006-05-19 Richard Sandiford <richard@codesourcery.com>
3112 * config/mips/linux-unwind.h: Include <asm/unistd.h>
3113 (mips_fallback_frame_state): Use syscall numbers to determine
3114 the appropriate li instruction for the current ABI. Only use
3115 __NR_sigreturn for o32.
3117 2006-05-19 Nicolas Setton <setton@adacore.com>
3119 * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
3120 * langhooks.c (lhd_dwarf_name): New function.
3121 * langhooks-def.h (lhd_dwarf_name): Declare.
3122 (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
3123 * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
3124 * ada/misc.c (gnat_dwarf_name): New function.
3125 (LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
3127 2006-05-19 Richard Sandiford <richard@codesourcery.com>
3129 * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
3131 (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
3132 MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
3133 LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
3134 * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
3135 Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
3136 determine the size of Wtype, etc.
3137 * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
3138 (swfloatfuncs): New variable.
3139 (dwfloatfuncs): Likewise.
3140 (lib2funcs): Remove floating-point conversion functions from
3141 initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
3142 the set of conversion routines needed. Allow entries to specify
3143 an object name, filename and word size. Update users accordingly.
3144 * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
3145 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
3149 2006-02-08 Roger Sayle <roger@eyesopen.com>
3152 * config/fixtfdi.c: New libgcc source file.
3153 * config/fixunstfdi.c: New source file.
3154 * config/floatditf.c: New source file.
3155 * config/floatunditf.c: New souce file.
3156 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
3157 files above instead of config/mips/_tilib.c.
3158 * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
3160 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3162 * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
3163 * pa/pa-hpux11.h (LIB_SPEC): Update comment.
3165 2006-05-18 Mike Stump <mrs@apple.com>
3167 Fix up vla, vm and [*] sematics.
3173 * c-tree.h (struct c_arg_info): Add had_vla_unspec.
3174 (c_vla_unspec_p): Add.
3175 (c_vla_type_p): Add.
3176 * c-decl.c (struct c_scope): Add had_vla_unspec.
3177 (build_array_declarator): Add support for [*].
3178 (grokdeclarator): Likewise.
3179 (grokparms): Likewise.
3180 (get_parm_info): Likewise.
3181 * c-objc-common.c (c_vla_unspec_p): Likewise.
3182 * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
3183 * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
3184 typeof when argument is a variably modified type not inside sizeof or alignof.
3185 (c_parser_direct_declarator_inner): Propagate errors.
3186 (c_parser_sizeof_expression): Add support for [*].
3187 (c_parser_parms_declarator): Initialize had_vla_unspec.
3188 (c_parser_parms_list_declarator): Likewise.
3189 * c-typeck.c (c_vla_type_p): Add.
3190 (composite_type): Add support for vla compositing.
3191 (comptypes_internal): Add support for vla compatibility.
3192 (c_expr_sizeof_expr): Evaluate vla arguments.
3193 * tree.c (variably_modified_type_p): Update comment for [*].
3195 2006-05-18 Michael Matz <matz@suse.de>
3198 * config.host: Make assignments to host_xmake_file cumulative.
3199 * config.host (*-darwin*): Test $host, not $target.
3201 2006-05-12 Stuart Hastings <stuart@apple.com>
3203 * config/i386/i386.opt (-mstackrealign): New flag.
3204 * config/i386/i386.c (force_align_arg_pointer): New attribute.
3205 (ix86_handle_cconv_attribute): Emit error when
3206 force_align_arg_pointer attribute collides with too many regparms.
3207 (ix86_function_regparm): Limit regparms when used with
3208 force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
3209 Support stack-realigning prologue in non-main functions. Emit
3210 warning for nested functions under -mstackrealign, emit error for
3211 nested functions with force_align_arg_pointer attribute.
3212 * doc/extend.texi (force_align_arg_pointer): Document it.
3213 * doc/invoke.texi (-mstackrealign): Document it.
3215 2006-05-17 Kazu Hirata <kazu@codesourcery.com>
3217 PR rtl-optimization/27477
3218 * combine.c (try_combine): Don't split a parallel consisting
3219 of two sets into two individual sets if both sets reference
3222 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
3224 * config/arm/arm.opt (target_fpe_name): Remove VarExists.
3225 * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
3227 * doc/options.texi (VarExists): Updated.
3229 2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3231 * unwind-dw2.c: Add declarations for uw_update_context and
3233 * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
3234 detected, advance frame state and context once to skip over stub.
3236 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
3240 * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
3241 Call rewrite_into_loop_closed_ssa only when something changed.
3242 * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
3243 * lambda-code.c (can_convert_to_perfect_nest): Declared.
3244 (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
3245 Test for perfect_nest_p here. Fix formating.
3246 (replace_uses_equiv_to_x_with_y): Fix formating.
3247 (stmt_uses_op): Removed.
3248 (can_convert_to_perfect_nest): Removed loopivs parameter.
3249 Complete the test by checking the scalar dependences.
3250 (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
3253 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
3256 From Dan Kegel <dank@kegel.com>:
3257 * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
3259 2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
3261 * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
3262 if the element type is variably modified without recursing.
3264 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
3267 * tree-loop-linear.c (try_interchange_loops): Test for
3268 no data dependences.
3270 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
3272 PR tree-optimization/27548
3273 * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
3274 range of ssa names that appear on abnormal edges.
3275 * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
3276 * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
3278 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
3281 * expr.c (safe_from_p): Handle CONSTRUCTOR again.
3283 2006-05-17 Jakub Jelinek <jakub@redhat.com>
3286 * tree.h (OMP_PARALLEL_COMBINED): Define.
3287 * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
3288 (new_omp_context): Add is_combined_parallel argument.
3289 (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
3290 new_omp_context caller.
3291 (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
3292 Adjust gimplify_scan_omp_clauses callers.
3293 (omp_is_private): Issue errors if iteration variable is firstprivate
3294 or reduction in the current context.
3295 * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
3296 on combined parallel workshare constructs.
3298 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3300 * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
3301 (gcc-options.o): New rule.
3303 * optc-gen.awk: Protect variables for gcc-options.o with
3304 #ifdef GCC_DRIVER/#endif.
3306 2006-05-16 Daniel Berlin <dberlin@dberlin.org>
3308 Fix PR tree-optimization/27373
3309 * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
3310 (forward_propagate_addr_expr): Update call.
3312 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3314 * doc/options.texi: Move the Negative option.
3316 2006-05-16 Richard Guenther <rguenther@suse.de>
3318 PR tree-optimization/22303
3319 * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
3321 (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
3322 ccp_fold did not simplify the statement.
3324 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3327 * Makefile.in (GCC_OBJS): New.
3328 (OBJS-common): Add opts-common.o.
3329 (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
3330 (cpp$(exeext)): Likewise.
3331 (gcc.o): Also depend on opts.h.
3332 (opts-common.o): New.
3334 * common.opt (gcoff): Add Negative(gdwarf-2).
3335 (gdwarf-2): Add Negative(gstabs).
3336 (gstabs): Add Negative(gstabs+).
3337 (gstabs+): Add Negative(gvms).
3338 (gvms): Add Negative(gxcoff).
3339 (gxcoff): Add Negative(gxcoff+).
3340 (gxcoff+): Add Negative(gcoff).
3341 * config/i386/i386.opt (m32): Add Negative(m64).
3342 (m64): Add Negative(m32).
3344 * doc/options.texi: Document the Negative option.
3346 * gcc.c: Include "opts.h".
3347 (main): Call prune_options after expandargv.
3349 * optc-gen.awk: Generate common declarations for all flag
3350 variables in options.c. Output the neg_index field.
3352 * opts.c (find_opt): Moved to ...
3353 * opts-common.c: Here. New file.
3355 * opts.h (cl_option): Add a neg_index field.
3357 (prune_options): Likewise.
3359 2006-05-16 Jakub Jelinek <jakub@redhat.com>
3362 * omp-low.c (expand_omp_parallel): Don't assert
3363 .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
3364 instead search for it.
3367 * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
3370 2006-05-16 Andreas Schwab <schwab@suse.de>
3372 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
3375 2006-05-15 Roger Sayle <roger@eyesopen.com>
3378 * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
3379 integer constants other than zero are only legitimate on TARGET_64BIT.
3380 <CONST_VECTOR> Only zero vectors are legitimate.
3381 (ix86_cannot_force_const_mem): Integral and vector constants can
3382 always be put in the constant pool.
3384 2006-05-16 DJ Delorie <dj@redhat.com>
3386 * crtstuff.c (__dso_handle): Set section from
3387 TARGET_LBIGCC_SDATA_SECTION if defined.
3388 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
3389 * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
3391 2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3394 * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
3397 2006-05-16 Ben Elliston <bje@au.ibm.com>
3399 * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
3401 2006-05-15 Per Bothner <per@bothner.com>
3403 * tree.c: (last_annotated_node): Use source_locus typedef.
3404 This permits bootstrapping with --enable-mapped-location.
3406 2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
3408 PR tree-optimization/26830
3409 * tree-into-ssa.c (struct ssa_name_info): Add age field.
3410 (info_for_ssa_name, current_info_for_ssa_name_age,
3411 blocks_to_update): New variables.
3412 (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
3413 (clear_ssa_name_info, initialize_flags_in_bb,
3414 mark_block_for_update): New functions.
3415 (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
3416 (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
3417 prepare_def_site_for): Use mark_block_for_update.
3418 (mark_def_interesting): Assert that the processed block is marked in
3419 blocks_to_update. Do not take blocks argument.
3420 (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
3422 (rewrite_update_init_block, rewrite_update_stmt): Only process
3423 blocks with statements to rewrite.
3424 (delete_update_ssa): Do not clear SSA_NAME_AUX.
3425 (update_ssa): Initialize and free blocks_to_update. Do not
3426 clear flags on statements. Do not use blocks bitmap.
3427 * tree.h (SSA_NAME_AUX): Removed.
3428 (struct tree_ssa_name): Removed aux field.
3429 * print-tree.c (print_node): Do not print SSA_NAME_AUX.
3431 2006-05-15 Richard Guenther <rguenther@suse.de>
3433 PR tree-optimization/27603
3434 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
3435 Do computations in original type.
3437 2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
3439 * see.c: Code style changes such as redundant paranthesis,
3440 redundant intialization of local variables etc.
3441 (see_main): Declared now as static.
3442 * doc/invoke.texi: Update that -fsee is not enabled by
3445 2006-05-15 Jakub Jelinek <jakub@redhat.com>
3447 * omp-low.c (check_omp_nesting_restrictions): New function.
3448 (scan_omp_1): Call it.
3451 * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
3452 construct, return *VAR.
3454 2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
3456 PR rtl-optimization/27406
3457 * bt-load.c (migrate_btr_def): Skip the block having abnormal
3460 2006-05-14 Roger Sayle <roger@eyesopen.com>
3462 PR rtl-optimization/27538
3463 * combine.c (expand_compound_operation): Call gen_lowpart
3464 before calling simplify_shift_const.
3466 2006-05-14 Roger Sayle <roger@eyesopen.com>
3468 PR rtl-optimization/22563
3469 * expmed.c (store_fixed_bit_field): When using AND and IOR to store
3470 a fixed width bitfield, always force the intermediates into psuedos.
3472 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
3475 * mkconfig.sh: Use operator = instead of == for test.
3477 2006-05-13 Nick Clifton <nickc@redhat.com>
3479 * dwarf2out.c (dbx_reg_number): Check return value from
3480 LEAF_REG_REMAP and only use it if it is valid.
3481 (multiple_reg_loc_descriptor): Likewise.
3483 2006-05-13 Richard Guenther <rguenther@suse.de>
3485 * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
3488 2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
3490 * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
3491 information attached to non-INSNs such as NOTEs.
3492 (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
3494 2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
3496 * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
3498 * config/s390/s390.md: Adjust comment describing On constraint.
3500 2006-05-11 Jan Hubicka <jh@suse.cz>
3502 * cgraphunit.c (decide_is_function_needed): Don't force always_inline
3503 to be output at -O0.
3505 2006-05-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3508 * fold-const.c (size_binop): Move sanity check for arguments to
3509 the beginning of the function.