1 2006-08-17 Paolo Bonzini <bonzini@gnu.org>
4 * c-common.c (fold_offsetof_1): Add an argument and recurse down to it
5 or the INTEGER_CST. Fail on a CALL_EXPR.
6 (fold_offsetof): Pass new argument to fold_offsetof_1.
7 * c-parser.c (c_parser_postfix_expression): Don't include a NULL
8 operand into an INDIRECT_REF.
9 * c-typeck.c (build_unary_op): Adjust call to fold_offsetof.
11 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
14 * value-prof.c (static_values): Removed.
15 (tree_find_values_to_profile): Do not set static_values.
16 (find_values_to_profile): Do not free static_values.
17 * profile.c (instrument_values): Do not free the values.
18 (branch_prob): Free the values.
20 2006-08-16 Naveen.H.S <naveenh@kpitcummins.com>
22 * config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
24 2006-08-16 Joseph S. Myers <joseph@codesourcery.com>
27 * c-typeck.c (build_component_ref): Combine qualifiers of
28 structure or union and field.
30 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
32 PR rtl-optimization/28071
33 * basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare.
34 * dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions.
35 * tree-into-ssa.c (struct dom_dfsnum): New.
36 (cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New
38 (insert_phi_nodes_for): Use prune_unused_phi_nodes instead of
39 compute_global_livein.
40 (prepare_block_for_update, prepare_use_sites_for): Mark the uses
41 in phi nodes in the correct blocks.
43 2006-08-16 Zdenek Dvorak <dvorakz@suse.cz>
45 PR tree-optimization/28364
46 * tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
48 (fold_affine_expr): New function.
49 (may_eliminate_iv): Use fold_affine_expr.
51 2006-08-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
54 * c-typeck.c (c_start_case): Handle invalid orig_type correctly.
57 2006-08-16 Mike Stump <mrs@apple.com>
59 * doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref.
60 * doc/cppopts.texi (-MD): Likewise.
62 2006-08-15 Danny Smith <dannysmith@users.sourceforge.net>
65 * c-common.c (handle_weak_attribute): Ignore and warn if
66 not a FUNCTION_ or VAR_DECL.
68 2006-07-15 Mike Stump <mrs@apple.com>
71 * c-parser.c (c_parser_typeof_specifier): Don't use
72 c_finish_expr_stmt, open code desired semantics instead.
74 2006-08-15 Nick Clifton <nickc@redhat.com>
76 * config.gcc (x86-mingw32): Add a gthr-win32.h including makefile
77 fragment to tmake_file only if threads are enabled.
78 * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Move to...
79 * config/i386/t-gthr-win32: New file. ... here.
81 2006-08-15 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
84 * c-parser.c (c_parser_compound_statement_nostart): Reset
85 parser->error after each statement.
87 2006-08-15 Jakub Jelinek <jakub@redhat.com>
90 * omp-low.c (lower_omp_parallel): Convert t to
92 (expand_omp_parallel): STRIP_NOPS from the MODIFY_EXPR
93 source before comparison.
96 * gimplify.c (gimplify_omp_atomic_pipeline): Convert oldival
97 to itype in assignment to oldival2.
99 2006-07-14 Andrew Pinski <pinksia@physics.uc.edu>
103 * c-typeck.c (build_compound_expr): If the second expression
104 is an error mark, then just return an error mark instead of
105 creating a COMPOUND_EXPR.
107 2006-07-14 Mike Stump <mrs@apple.com>
109 * Makefile.in (LIBGCC_DEPS): Don't depend on LANGUAGES.
111 2006-08-14 Kazu Hirata <kazu@codesourcery.com>
113 * c-decl.c, var-tracking.c: Fix comment typos.
115 2006-08-14 Richard Sandiford <richard@codesourcery.com>
117 PR rtl-optimization/28634
118 * reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
119 for floating-point modes unless flag_unsafe_math_optimizations.
121 2006-08-13 Alexandre Oliva <aoliva@redhat.com>
122 Andrew Pinski <pinskia@physics.uc.edu>
125 * tree.c (build_array_type): Unify array types with
126 unspecified index_type.
127 * c-decl.c (grokdeclarator): Make sure we do not modify a
128 unified incomplete array type.
129 * c-typeck.c (store_init_value): Create distinct type before
130 filling in the index type in an initializer from a compound
133 * c-decl.c (grokdeclarator): Remove code where we copy the
136 2006-08-13 Andrew Pinski <pinskia@physics.uc.edu>
138 * tree-pass.h (TODO_update_ssa): Fix which bit is used to take
139 into account for TODO_dump_cgraph.
140 (TODO_update_ssa_no_phi): Likewise.
141 (TODO_update_ssa_full_phi): Likewise.
142 (TODO_update_ssa_only_virtuals): Likewise.
143 (TODO_remove_unused_locals): Likewise.
144 (TODO_set_props): Likewise.
145 (TODO_update_stmt_usage): Likewise.
147 2006-08-13 Dirk Mueller <dmueller@suse.de>
149 * c-common.c (strict_aliasing_warning): Fix formatting.
151 2006-08-13 Matthias Klose <doko@debian.org>
153 * doc/invoke.texi: Fix spelling errors.
155 2006-08-11 Eric Botcazou <ebotcazou@libertysurf.fr>
157 PR rtl-optimization/23454
158 * reorg.c (relax_delay_slots): Update comment.
160 2006-08-11 Richard Guenther <rguenther@suse.de>
163 * simplify-rtx.c (simplify_const_relational_operation):
164 Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
167 2006-08-10 Eric Botcazou <ebotcazou@adacore.com>
169 * tree.c (build1_stat): Also propagate the TREE_CONSTANT and
170 TREE_INVARIANT flags for a VIEW_CONVERT_EXPR.
172 2006-08-10 Paul Brook <paul@codesourcery.com>
174 * final.c (final_scan_insn): Clear current_insn_predicate before
175 outputting inline asm.
177 2006-08-10 Dorit Nuzman <dorit@il.ibm.com>
179 PR tree-optimization/26197
180 * tree-ssa-alias.c (new_type_alias): Takes additional argument. Calls
181 get_ref_base_and_extent and overlap_subvar to add only relevant
182 subvars as may-aliases.
183 (add_may_alias_for_new_tag): New function, factored out of
185 * tree-vect-transform.c (vect_create_data_ref_ptr): Call new_type_alias
186 with additional argument.
187 * tree-flow.h (new_type_alias): Takes additional argument.
189 2006-08-09 Nathan Sidwell <nathan@codesourcery.com>
191 * gcov.c (no_data_file): New flag.
192 (read_count_file): Set it if data file not present. Assume counts
194 (output_lines): Don't name the data file, if there wasn't one.
196 2006-08-09 Eric Botcazou <ebotcazou@adacore.com>
198 * config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
199 (rs6000_generate_compare): Tweak comments.
200 * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.
202 2006-08-09 Alexandre Oliva <aoliva@redhat.com>
204 * var-tracking.c (enum micro_operation_type): Add MO_COPY.
205 (var_debug_decl): New function.
206 (var_reg_set): Follow debug decl link. Add location even if
207 reg is already known to hold some other variable.
208 (var_mem_set): Follow debug decl link.
209 (var_reg_delete_and_set, var_mem_delete_and_set): Follow debug
210 decl link. Delete other known locations of the variable part
212 (var_reg_delete, var_mem_delete): Delete other known locations
213 of the variable part if requested.
214 (same_variable_part_p): New function.
215 (add_stores): Select MO_COPY when appropriate.
216 (vt_initialize): Handle it.
217 (compute_bb_dataflow, emit_notes_in_bb): Likewise. Delete
218 known locations for MO_SET and MO_CLOBBER.
219 (find_variable_location_part): New function.
220 (set_variable_part, delete_variable_part): Use it.
221 (clobber_variable_part): New function.
222 * dwarf2out.c (dwarf2out_var_location): Do not follow debug
225 2006-08-07 Victor Kaplansky <victork@il.ibm.com>
227 PR tree-optimization/26969
228 * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch
229 with an empty list of PHIs.
231 2006-08-06 Paolo Bonzini <bonzini@gnu.org>
235 * conffig/i386/i386.md: Add peephole2 to avoid "fld %st"
238 2006-08-06 Andreas Schwab <schwab@suse.de>
240 * config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
241 string. Whitespace and comment fixup.
243 2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
246 * c-decl.c (validate_proto_after_old_defn): Return false on invalid
250 * c-typeck.c (build_modify_expr): Test earlier for non-lvalues.
253 * c-parser.c (c_parser_postfix_expression_after_paren_type): Robustify.
255 2006-08-04 Jan Hubicka <jh@suse.cz>
259 * reload.c (push_reload): Patch out the mismatching instruction;
261 (find_reload): Bail out if the instruction was patched out.
263 2006-08-04 Jan Hubicka <jh@suse.cz>
265 PR tree-optimization/24888
266 * tree-inline.c (expand_call_inline): Do not re-record variables.
267 (declare_inline_vars): Add variable to unexpanded_var_list.
269 2006-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
270 Roger Sayle <roger@eyesopen.com>
272 PR rtl-optimization/26244
273 * cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
274 inner_const are negative or greater than or equal to the bitsize of
275 MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
276 Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
277 Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
278 CONST0_RTX (mode) when the new shift count is greater than or equal to
279 to the bitsize of the object being shifted and XEXP (y, 0) has no side
282 2006-08-04 Kazu Hirata <kazu@codesourcery.com>
284 * tree-cfg.c: Fix a comment typo.
286 2006-08-03 Mark Mitchell <mark@codesourcery.com>
289 * varasm.c (output_constant): Give the front end another chance to
290 expand constants, after stripping NOPs.
292 2006-08-03 Jan Hubicka <jh@suse.cz>
294 * domwalk.c (walk_dominator_tree): Reorganize to non-recursive
297 2006-08-03 Dorit Nuzman <dorit@il.ibm.com>
299 PR tree-optimization/27770
300 * tree-vectorizer.h (get_vectype_for_scalar_type): Function
301 declaration removed (moved to tree-flow.h).
302 (vect_can_force_dr_alignment_p): Likewise.
303 * tree-flow.h (get_vectype_for_scalar_type): New function declaration
304 (moved from tree-vectorizer.h).
305 (vect_can_force_dr_alignment_p): Likewise.
306 * tree-vectorizer.c (vect_print_dump_info): Allow calling this function
307 from outside the vectorizer - in particular from cgraph stage.
308 * tree-vect-analyze.c (vect_compute_data_ref_alignment): Don't increase
309 the alignment of global arrays when -fsection-anchors is enabled.
310 * cgraphunit.c (cgraph_increase_alignment): New function.
311 (cgraph_optimize): Call cgraph_increase_alignment.
313 2006-08-03 David Edelsohn <edelsohn@gnu.org>
316 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
317 not reload a SPE symbol_ref into a lo_sum address.
319 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
322 * dwarf2out.c (prune_unused_types_prune): Move call to
323 prune_unused_types_update_strings to cover the parent DIE also.
325 2006-08-02 Jan Hubicka <jh@suse.cz>
327 PR gcov/profile/28480
328 * tree-cfg.c (change_bb_for_stmt): New function.
329 (tree_merge_blocks, tree_split_blocks): Use it.
331 2006-08-01 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
337 * toplev.c (compile_file): Return early on errorcount or sorrycount.
338 * cgraphunit.c (cgraph_finalize_compilation_unit): Likewise.
339 (cgraph_optimize): Likewise.
341 2006-08-01 Stuart Hastings <stuart@apple.com>
343 * rtl.h (UINTVAL) New.
344 * config/rs6000/rs6000.c (SMALL_INT) Use it.
345 * testsuite/gcc.dg/20060801-1.c: New.
347 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
350 * c-typeck.c (build_external_type): Mark used enum types.
351 * dwarf2out.c (dwarf2out_abstract_function): Save and restore
353 (gen_subprogram_die): Whitespace fix.
355 2006-08-01 Jan Hubicka <jh@suse.cz>
357 * tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
358 bitmap when not needed.
359 * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary
362 2006-08-01 Dirk Mueller <dmueller@suse.de>
364 * tree-vrp.c (fix_equivalence_set): Avoid bitmap memory leak.
366 2006-07-31 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
368 * Makefile.in: Revert part of previous patch:
369 Replace $(VARRAY_H) by varray.h in definition of BASIC_BLOCK_H
372 2006-07-30 Eric Christopher <echristo@apple.com>
375 * doc/extend.texi (i386 Variable Attributes): Add anchor.
376 (PowerPC Variable Attributes): New section.
378 2006-07-30 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
380 PR target/28126 (partial fix)
381 * config/mips/mips.md (tls_get_tp_<mode>): Set can_delay to no.
383 2006-07-28 Jan Hubicka <jh@suse.cz>
385 PR rtl-optimization/28071
386 * cfgrtl.c (rtl_delete_block): Free regsets.
387 * flow.c (allocate_bb_life_data): Re-use regsets if available.
389 2006-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
391 * Makefile.in: Use $(HEADER_H) instead of header.h in dependencies
392 and variables used in dependencies.
394 2006-07-27 Arjan van de Ven <arjan@linux.intel.com>
396 * config/i386/i386.md (stack_tls_protect_set_di) Use %gs rather than
397 %fs for -mcmodel=kernel.
398 (stack_tls_protect_test_di): Likewise.
400 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
402 * Makefile.in: Use mkinstalldirs.
404 2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
407 * opts-common.c (prune_options): Skip joined switches.
409 2006-07-27 Jan Hubicka <jh@suse.cz>
411 PR rtl-optimization/28071
412 * cselib.c (cselib_process_insn): Don't remove useless values too
413 often for very large hashtables.
415 2006-07-27 Jan Hubicka <jh@suse.cz>
417 PR rtl-optimization/28071
418 * global.c (greg_obstack): New obstack.
419 (allocate_bb_info): Use it.
420 (free_bb_info): Likewise.
421 (modify_reg_pav): Likewise.
423 2006-07-27 Roger Sayle <roger@eyesopen.com>
425 * builtins.c (fold_fixed_mathfn): When long and long long are the
426 same size, canonicalize llceil*, llfloor*, llround* and llrint*
427 functions to their lceil*, lfloor*, lround* and lrint* forms.
429 2006-07-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
432 * config/m32r/m32r.md (branch_insn): Reduce pc range for short
434 (rev_branch_insn): Likewise.
436 2006-07-27 Jan Hubicka <jh@suse.cz>
438 PR rtl-optimization/28071
439 * regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
440 (reg_set_in_bb, max_reg_computed): New static variables.
441 (regmove_optimize): Free the new array.
442 (fixup_match_1): Update call of reg_is_remote_constant_p.
444 2006-07-26 Jan Hubicka <jh@suse.cz>
446 PR tree-optimization/27882
447 * cgraph.c (cgraph_remove_node): Clear needed, reachable, next, previous
449 * cgraphunit.c (cgraph_reset_node): Expect cgraph_remove_node to kill
451 (cgraph_analyze_compilation_unit): Likewise.
452 * ipa.c (cgraph_remove_unreachable_nodes): Likewise.
453 * ipa-inline.c (cgraph_decide_recursive_inlining): Likewise.
454 (cgraph_early_inlinine): Make order garbage collected.
455 * Makefile.in (gt-ipa-inline): New garbagecollected file.
457 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
459 * dbxout.c (output_types_sort): Add a comment.
460 (output_used_types): Free the VEC.
462 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
464 * function.c (reorder_fix_fragments): Delete.
465 (reorder_blocks): Don't call it.
466 (reorder_blocks_1): Put all subblocks under the origin block.
468 2006-07-26 Zdenek Dvorak <dvorakz@suse.cz>
470 PR rtl-optimization/27907
471 * expr.c (force_operand): Use convert_move to handle FLOAT_EXTEND and
474 2006-07-25 Roger Sayle <roger@eyesopen.com>
477 * convert.c (convert_to_integer): When transforming (T)foo(x) into
478 bar(x) check that bar's result type can represent all the values of T.
480 2006-07-25 Zdenek Dvorak <dvorakz@suse.cz>
482 * tree-chrec.c (chrec_convert_aggressive): Return NULL on failure.
484 2006-07-25 Nick Clifton <nickc@redhat.com>
486 * ggc-page.c (NUM_SIZE_LOOKUP): New constant - the length of the
488 (ggc_alloc_stat): Use NUM_SIZE_LOOKUP.
489 (ggc_pch_count_object): Likewise.
490 (ggc_pch_alloc_object): Likewise.
491 (ggc_pch_write_object): Likewise.
492 (init_ggc): Do not attempt to initialize entries in the
493 size_lookup[] array for objects whose size is greater than than
494 the length of the array.
496 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
498 * dbxout.c (output_used_types_helper): Push queued types
500 (output_types_sort): New.
501 (output_used_types): Collect used types on a VEC and sort them
504 2006-07-24 Richard Guenther <rguenther@suse.de>
507 * cgraph.c (cgraph_remove_node): Do not check if dumps
509 * cgraphunit.c (cgraph_optimize): Likewise.
511 2006-07-24 Jan Hubicka <jh@suse.cz>
513 PR rtl-optimization/28071
514 * tree-cfg.c (tree_split_block): Do not allocate new stmt_list nodes.
515 * tree-iterator.c (tsi_split_statement_list_before): Do not crash when
516 splitting before first stmt.
518 2006-07-24 Jan Hubicka <jh@suse.cz>
520 PR rtl-optimization/28071
521 * ipa-inline.c (update_caller_keys): Remove edges that
522 are no longer inline candidates.
524 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
527 * dbxout.c (output_used_types_helper, output_used_types): New.
528 (dbxout_symbol): Call output_used_types.
530 2006-07-23 Jan Hubicka <jh@suse.cz>
534 * cgraph.c (cgraph_varpool_nodes): Export.
535 (decide_is_variable_needed): Ignored "used" attribute in
537 * cgraph.h (cgraph_varpool_nodes): Declare.
538 * cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
541 2006-07-23 Roger Sayle <roger@eyesopen.com>
544 * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
545 mutex_destroy even when !_LIBOOBJC. Remove duplicate prototype of
546 the __gthrw form of thr_keycreate.
547 (__gthread_key_delete): Silence the unused argument warning.
549 2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
552 * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
553 Cache the last found '\0' marker to avoid quadratic behavior.
555 2006-07-23 Jan Hubicka <jh@suse.cz>
557 * i386.md (subsi_3_zext): Fix output template.
559 2006-07-21 Mike Stump <mrs@apple.com>
561 * doc/invoke.texi (C++ Dialect Options): Note that
562 -fvisibility-inlines-hidden doesn't affect explicitly
563 instantiationed inline methods.
565 2006-07-20 Roger Sayle <roger@eyesopen.com>
567 * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
568 if the target assembler is GNU binutils' gas.
569 * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
570 whether to pass GNU gas or native as command line options.
572 2006-07-20 Jason Merrill <jason@redhat.com>
574 * tree.c (remove_attribute): New fn.
575 * tree.h: Declare it.
577 2006-07-20 Paul Brook <paul@codesourcery.com>
580 * cse.c (cse_insn): Add destination addresses to hash table. Check if
581 they are invalidated by this instruction.
583 2006-07-21 Danny Smith <dannysmith@users.sourceforge.net>
586 * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
588 2006-07-20 Eric Christopher <echristo@apple.com>
591 * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
593 2006-07-19 Eric Christopher <echristo@apple.com>
595 * config/t-slibgcc-darwin (stmp-lipo): Remove.
596 Rewrite dependencies for libgcc_s.1.dylib.
598 2006-07-19 Jakub Jelinek <jakub@redhat.com>
600 * except.c (duplicate_eh_regions_1): Clear next_peer.
602 2006-07-17 Nathan Sidwell <nathan@codesourcery.com>
604 * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
605 -mlongcall does not guarantee all calls will be long.
606 * doc/extend.texi (long_call/short_call): Document that longcall
607 does not guarantee a long call will be used.
608 (longcall/shortcall): Likewise.
610 2006-07-18 Roger Sayle <roger@eyesopen.com>
613 * expmed.c (expand_shift): Additionally check that the shift_cost
614 is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
615 before implementing a LSHIFT_EXPR as a sequence of additions.
616 * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
617 middle-end that DImode shifts need to be synthesized by expand.
619 2006-07-18 Diego Novillo <dnovillo@redhat.com>
622 * tree-ssa-operands.c (access_can_touch_variable): Update
624 Return true if ALIAS is .GLOBAL_VAR.
626 2006-07-18 David Daney <ddaney@avtrex.com>
628 * gcc.c (display_help): Fix typo in help text.
630 2006-07-18 Olivier Hainque <hainque@adacore.com>
632 * tree.h (categorize_ctor_elements): Adjust prototype and add
633 descriptive comment, both in accordance with the interface change
635 * varasm.c (constructor_static_from_elts_p): New function.
636 Whether a constructor node is a valid static constant initializer
637 if all its elements are.
638 (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
639 * output.h: Declare it.
640 * expr.c (categorize_ctor_elements_1): Return whether the constructor
641 is a valid constant initializer instead of computing the number of
642 non-constant elements. Use constructor_static_from_elts_p for this
643 purpose. Replace the head comment with an indication that this is a
644 helper for categorize_ctor_elements.
645 (categorize_ctor_elements): Same interface change as for the _1
646 helper. Former head comment from this helper moved here, adjusted to
647 account for the interface changes.
648 (mostly_zeros_p): Adjust call to categorize_ctor_elements.
649 (all_zeros_p): Likewise.
650 * gimplify.c (gimplify_init_constructor): Decide whether we can make
651 static versions of the constructor from the categorize_ctor_elements
652 return value instead of the formerly computed number of non-constant
655 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
657 * configure: Regenerate.
658 * Makefile.in (build_libsubdir): New configure substitution
659 (build_libobjdir): New variable.
660 (BUILD_LIBIBERTY): Use it.
662 2006-07-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
665 * c-pragma.c (handle_pragma_pack): Handle invalid constants.
667 2006-07-18 Alexandre Oliva <aoliva@redhat.com>
670 * c-common.c (handle_weakref_attribute): Ignore attribute in
671 the same conditions the alias attribute is ignored.
673 2006-07-17 Carlos O'Donell <carlos@codesourcery.com>
675 * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
676 (dbxout_begin_prologue): Increment scope_labelno.
678 2006-07-17 Richard Henderson <rth@redhat.com>
681 * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
684 2006-07-17 Roger Sayle <roger@eyesopen.com>
685 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
687 * config/i386/gmon-sol2.c: Silence compilation warnings by partially
688 synchronizing code with config/sparc/gmon-sol2.c. Remove #if 0
689 blocks. #include "tconfig.h" and "tsystem.h" to prototype system
690 functions such as sbrk, write, etc.. Add function prototypes.
691 Convert function declarations from K&R to ISO C. Cast pointers
692 to "long" and "unsigned long" instead of "int" and "unsigned int".
693 Convert tokens following #endif into comments.
695 2006-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
697 * invoke.texi: Remove mention of f77; Reformat table for
698 inline parameter options correctly; mention that -malign-double
699 is default on x86-64 targets.
701 2006-07-17 Zdenek Dvorak <dvorakz@suse.cz>
703 * tree-chrec.c (avoid_arithmetics_in_type_p): New.
704 (convert_affine_scev, chrec_convert_aggressive): Use
705 avoid_arithmetics_in_type_p. Do not check for the subtypes
708 2006-07-17 Richard Sandiford <richard@codesourcery.com>
711 * optabs.c (expand_doubleword_shift): Wrap the call to
712 do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
714 2006-07-17 Richard Sandiford <richard@codesourcery.com>
717 * optabs.c (expand_binop): Pass next_methods rather than methods
718 to expand_doubleword_shift.
720 2006-07-17 J"orn Rennecke <joern.rennecke@st.com>
723 * tree.h (dump_addr): Declare.
724 * print-tree.c (dump_addr): New function.
725 (print_node_brief, print_node): Use it.
726 * print-rtl.c (print_rtx): Likewise.
727 * common.opt (-fdump-noaddr): New option.
728 * doc/invoke.texi (-fdump-noaddr): Document.
729 * loop-unroll.c (si_info_hash): Make hash independent of addresses.
730 (ve_info_hash): Likewise.
732 2006-07-13 Andrew Haley <aph@redhat.com>
734 PR tree-optimization/19505
735 * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
736 edge leaving this block, make sure that the destination of this
737 block has only one predecessor.
739 2006-07-17 Richard Guenther <rguenther@suse.de>
741 PR tree-optimization/28238
742 * tree-inline.c (copy_bb): Check if we produced valid
743 gimple copying and substituting a stmt. If not, gimplify
746 2006-07-16 Eric Botcazou <ebotcazou@adacore.com>
748 * optabs.c (maybe_encapsulate_block): New function extracted from...
749 (emit_libcall_block): ...here. Invoke it on the block of insns to
750 maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
751 (emit_no_conflict_block): Likewise.
753 2006-07-16 Eric Botcazou <ebotcazou@libertysurf.fr>
755 * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
757 2006-07-15 Roger Sayle <roger@eyesopen.com>
759 * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
760 a new NOP_EXPR case of the switch statement.
762 2006-07-15 Kaz Kojima <kkojima@gcc.gnu.org>
765 * stor-layout.c (place_field): Take the bit field with
766 an excessive size into account in the ms-bitfiled case.
769 * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
770 the previous bit field.
772 2006-07-14 Eliot Dresselhaus <eliot@sonic.net>
775 * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
777 2006-07-14 Ulrich Weigand <uweigand@de.ibm.com>
779 * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
780 signal frames correctly even when the signal was installed with
783 2006-07-14 Carlos O'Donell <carlos@codesourcery.com>
785 * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
786 (dbxout_function_end): Use local label LFBB. Remove hook
788 (dbxout_source_line): Use local label LFBB.
789 (dbxout_block): Likewise.
790 (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
791 (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
792 * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
795 2006-07-13 Janis Johnson <janis187@us.ibm.com>
797 * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
799 2006-07-13 Jan Hubicka <jh@suse.cz>
801 * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
803 * output.h (align_variable): Declare.
804 * varasm.c (align_variable): Export.
805 * value-prof.c (tree_value_profile_transformations): Recompute iterator
806 when basic block changed.
808 2006-07-13 Nick Clifton <nickc@redhat.com>
810 * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
811 walking the LOG_LINKS chain.
813 2006-07-12 Geoffrey Keating <geoffk@apple.com>
815 * doc/invoke.texi (C++ Dialect Options): Explain difference
816 between -fvisibility-inlines-hidden and setting hidden
817 visibility explicitly.
819 2006-07-12 Eric Christopher <echristo@apple.com>
821 * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
822 (stmp-lipo): Depend on libgcc.a.
824 2006-07-12 Kazu Hirata <kazu@codesourcery.com>
826 * tree.c: Fix a comment typo.
828 2006-07-12 Naveen.H.S <naveenh@kpitcummins.com>
830 * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
832 (umulhisi3_r): Likewise.
834 2006-07-12 Paolo Carlini <pcarlini@suse.de>
837 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
838 x < 19, vs wchar_t support.
840 2006-07-12 Nick Clifton <nickc@redhat.com>
842 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
845 2006-07-12 Mike Stump <mrs@apple.com>
847 * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
849 2006-07-10 Eric Christopher <echristo@apple.com>
851 * config/t-slibgcc-darwin: Rewrite.
853 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
856 * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
859 2006-07-08 Matthias Klose <doko@debian.org>
861 * doc/sourcebuild.texi: Fix typo.
863 2006-07-07 Mike Stump <mrs@apple.com>
865 * toplev.c (process_options): Don't give -ffunction-sections may
866 affect debugging warning for Mach-O.
868 2006-07-07 James E Wilson <wilson@specifix.com>
870 * config/mips/mips.md (cpu): Add sb1a.
871 * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
872 addition to sb1. Adjust comments to clarify SB-1A differences from
874 (ir_sb1a_load): New. Modify bypasses to use it.
875 (ir_sb1a_simple_alu): Likewise.
876 * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
877 (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
878 (mips_issue_rate): Add PROCESSOR_SB1A.
879 (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
880 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
881 (TARGET_SB1): Add PROCESSOR_SB1A check.
882 (TUNE_SB1): Likewise.
884 * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
885 * config/mips/mips.c (mips_store_data_bypass_p): New.
886 * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
889 2006-07-08 Paul Brook <paul@codesourcery.com>
892 * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
894 2006-07-07 Richard Guenther <rguenther@suse.de>
897 * tree.h (build_one_cst): Declare.
898 * tree.c (build_one_cst): New function.
899 * tree-ssa-math-opts.c (get_constant_one): Remove.
900 (insert_reciprocals): Use build_one_cst.
901 * fold-const.c (fold_plusminus_mult): Likewise.
903 2006-07-07 Roger Sayle <roger@eyesopen.com>
905 * pointer-set.c (pointer_set_destroy): Correct whitespace.
906 * cfgloopanal.c (dump_graph): Likewise.
907 * dojump.c (discard_pending_stack_adjust): Likewise.
908 * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
910 * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
911 * function.c (finalize_block_changes): Likewise.
912 * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
913 * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
914 * rtl.c (dump_rtx_statistics): Likewise.
915 * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
917 * varray.c (dump_varray_statistics): Likewise.
918 * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
919 decode_decimal64, encode_decimal128, decode_decimal128,
920 decimal_real_to_decimal): Likewise.
922 2006-07-07 Richard Guenther <rguenther@suse.de>
924 PR tree-optimization/28187
925 * tree-vrp.c (vrp_operand_equal_p): New function.
926 (vrp_bitmap_equal_p): Likewise.
927 (update_value_range): Use them to compare old and new
930 2006-07-06 Roger Sayle <roger@eyesopen.com>
932 * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
933 a default case to switch statement to silence compiler warnings.
935 2006-07-06 Roger Sayle <roger@eyesopen.com>
938 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
939 the configured assembler supports the x87's ffreep mnemonic.
940 * configure: Regenerate.
941 * config.in: Regenerate.
943 * config/i386/i386.c (output_387_ffreep): New function.
944 (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
945 (output_387_reg_move): Likewise.
947 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
949 Port to hosts whose 'sort' and 'tail' implementations
950 treat operands with leading '+' as file names, as POSIX
951 has required since 2001. However, make sure the code still
952 works on pre-POSIX hosts.
953 * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
954 which says you should use "tail -c +N" rather than "tail +Nc".
955 Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
957 2006-07-06 Zdenek Dvorak <dvorakz@suse.cz>
959 * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
962 2006-07-06 David Edelsohn <edelsohn@gnu.org>
965 * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
966 PRE_{INC,DEC} of TFmode.
968 2006-07-06 David Edelsohn <edelsohn@gnu.org>
969 Alan Modra <amodra@bigpond.net.au>
972 * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
975 2006-07-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
978 * config/alpha/predicates.md (alpha_swapped_comparison_operator):
979 Remove duplicate gtu.
981 2006-07-05 Jason Merrill <jason@redhat.com>
985 * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
986 * c-common.c (handle_packed_attribute): So don't copy it here.
987 * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
989 2006-07-05 Mike Stump <mrs@apple.com>
991 * doc/invoke.texi (Invoking G++): Clarify prose for g++.
993 2006-07-05 H.J. Lu <hongjiu.lu@intel.com>
996 * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
998 2006-07-05 Richard Guenther <rguenther@suse.de>
1001 * config/i386/i386.md (*negdf2_1): Restrict pattern to
1002 TARGET_SSE2 targets if using SSE math.
1003 (*absdf2_1): Likewise.
1005 2006-07-05 Richard Guenther <rguenther@suse.de>
1007 PR tree-optimization/28162
1008 * fold-const.c (fold_binary): For (-A) * (-B) -> A * B
1009 make sure to convert the operands to the correct type.
1011 2006-07-04 Paolo Bonzini <bonzini@gnu.org>
1013 PR tree-optimization/28218
1015 * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
1016 to calculate and free the dominator information.
1018 2006-07-04 Peter O'Gorman <peter@pogma.com>
1020 * mklibgcc.in: chmod 644 before ranlib during install.
1022 2006-07-04 Andrew Stubbs <andrew.stubbs@st.com>
1023 J"orn Rennecke <joern.rennecke@st.com>
1025 * configure.ac (.eh_frame data check): Use diff -b.
1027 2006-07-04 Eric Botcazou <ebotcazou@libertysurf.fr>
1030 * Makefile.in (BUILD_RTL): Add build/vec.o.
1031 (build/gencondmd.o): Filter out -fkeep-inline-functions.
1032 (build/genextract): Delete.
1033 (build/genautomata): Likewise.
1035 2006-07-04 Alan Modra <amodra@bigpond.net.au>
1038 * config/rs6000/rs6000.c (function_arg_boundary): Double-word align
1039 128-bit IBM long doubles for ABI_V4.
1041 2006-07-03 Eric Botcazou <ebotcazou@adacore.com>
1043 * tree.c (range_in_array_bounds_p): New predicate.
1044 * tree.h (range_in_array_bounds_p): Declare it.
1045 * tree-eh.c (tree_could_trap_p) <ARRAY_RANGE_REF>: Use it to
1046 return a less conservative answer.
1047 * tree-sra.c (struct sra_elt): Add new pointer field 'groups'
1048 and flag 'is_group'.
1049 (IS_ELEMENT_FOR_GROUP): New macro.
1050 (FOR_EACH_ACTUAL_CHILD): Likewise.
1051 (next_child_for_group): New helper function.
1052 (can_completely_scalarize_p): Take into account groups.
1053 (sra_hash_tree): Handle RANGE_EXPR.
1054 (sra_elt_eq): Likewise.
1055 (lookup_element): Be prepared for handling groups.
1056 (is_valid_const_index): Delete.
1057 (maybe_lookup_element_for_expr) <ARRAY_REF>: Use in_array_bounds_p
1058 instead of is_valid_const_index.
1059 <ARRAY_RANGE_REF>: New case.
1060 (sra_walk_expr) <ARRAY_REF>: Use in_array_bounds_p instead of
1061 is_valid_const_index.
1062 <ARRAY_RANGE_REF>: Do not unconditionally punt.
1063 (scan_dump): Dump info for groups too.
1064 (decide_instantiation_1): Likewise.
1065 (decide_block_copy): Assert that the element is not a group.
1066 Propagate decision to groups.
1067 (generate_one_element_ref): Handle RANGE_EXPR.
1068 (mark_no_warning): Iterate over actual childs.
1069 (generate_copy_inout): Likewise.
1070 (generate_element_copy): Likewise.
1071 (generate_element_zero): Likewise.
1072 (generate_element_init_1): Likewise.
1073 (dump_sra_elt_name): Handle RANGE_EXPR.
1075 2006-07-03 Roger Sayle <roger@eyesopen.com>
1077 PR tree-optimization/26251
1078 * tree-ssa-threadupdate.c (redirection_block_p): New function.
1079 (thread_block): When optimizing for size refuse to thread jumps
1080 that would require duplication of blocks other than redirection
1083 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1085 * configure.ac: Fix thinko in previous check-in.
1086 * configure: Regenerate.
1088 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
1091 * configure.ac (for lang...): Simplify nesting of conditionals.
1092 Test subdir_requires for non-enabled languages. Move processing
1093 of lang_opt_files and lang_tree_fiels below that test.
1094 * configure: Regenerate.
1095 * doc/sourcebuild.texi (Front End Config): Document subdir_requires.
1097 2006-07-01 Martin Michlmayr <tbm@cyrius.com>
1099 * doc/gcov.texi (Invoking Gcov): Add a missing word.
1101 2006-06-30 Kazu Hirata <kazu@codesourcery.com>
1103 * cfgexpand.c, config/i386/i386.c, genpreds.c, tree-cfg.c: Fix
1106 2006-06-29 Jason Merrill <jason@redhat.com>
1113 * tree.c (build_decl_stat): Don't hande #pragma visibility here.
1114 * c-common.c (c_determine_visibility): Handle it here.
1115 * c-decl.c (finish_decl): Call c_determine_visibility for
1117 * flags.h (enum symbol_visibility): Sort from most to least visibility.
1119 * varasm.c (default_assemble_visibility): Likewise.
1120 * c-common.c (handle_visibility_attribute): Complain about trying
1121 to give visibility to an already defined class, or trying to change
1122 declared visibility. Always attach the attribute.
1127 * attribs.c (decl_attributes): Ignore type-in-place attributes
1128 once the type has been defined.
1130 2006-06-29 Roger Sayle <roger@eyesopen.com>
1133 * c-lex.c (c_lex_with_flags) <CPP_N_INVALID>: Increment errorcount
1134 to indicate the cpplib has issued an error message for us.
1136 2006-06-29 Asher Langton <langton2@llnl.gov>
1139 * config/i386/i386.c (ix86_output_function_epilogue): Don't
1140 insert a label at the end of an function under Mach-O.
1142 2006-06-29 Eric Christopher <echristo@apple.com>
1143 Evan Cheng <evan.cheng@apple.com>
1145 * predicates.md (vector_all_ones_operand): New.
1146 (nonimmediate_or_sse_const_operand): Ditto.
1147 * config/i386/i386-protos.h (standard_sse_constant_opcode): Declare.
1148 * config/i386/i386.c (standard_sse_constant_opcode): Define.
1149 (standard_sse_mode_p): Ditto.
1150 (standard_sse_constant_p): Add case for -1 vector.
1151 (ix86_expand_vector_move): Try to use.
1152 * sse.md (*mov<mode>_internal): Use nonimmediate_or_sse_const_operand.
1153 Call standard_sse_constant_opcode.
1154 (*movv4sf_internal): Ditto.
1155 (*movv2df_internal): Ditto.
1157 2006-06-29 Roger Sayle <roger@eyesopen.com>
1159 * genpreds.c (write_match_code_switch): Correctly use XSTR instead
1160 of XEXP to extract the operands of a MATCH_CODE rtx.
1162 2006-06-28 Andrew Pinski <pinskia@gmail.com>
1164 * tree.c (tree_size): Do not waste tail padding in
1165 struct tree_string and make the size be the same as
1166 build_string will generate.
1168 2006-06-28 Jason Merrill <jason@redhat.com>
1171 * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
1172 may_aliases already in the tag's annotations to the bitmap.
1174 2006-06-28 Roger Sayle <roger@eyesopen.com>
1176 * genpreds.c (write_predicate_stmts) <IOR>: Add missing break.
1178 2006-06-28 Roger Sayle <roger@eyesopen.com>
1180 * genpreds.c (generate_switch_p): New function.
1181 (add_mode_tests): Push the new mode test down inside an AND expr
1182 if this allows the switch-suitable MATCH_CODE to be near the root.
1183 (write_match_code_switch): New function to write a MATCH_CODE as
1185 (write_predicate_stmts): New function to write a predicate RTX
1186 expression as a sequence of statements.
1187 (write_one_predicate_function): Use write_predicate_stmts.
1188 (write_tm_constrs_h): Likewise.
1190 2006-06-26 Fred Fish <fnf@specifix.com>
1192 * config/mips/t-sb1: New file.
1193 * config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
1196 2006-06-26 DJ Delorie <dj@redhat.com>
1198 * config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.
1200 2006-06-26 Naveen H.S <naveenh@kpitcummins.com>
1201 Jayant Sonar <jayants@kpitcummins.com>
1202 Jaydeep Vipradas <jaydeepv@kpitcummins.com>
1204 * config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
1205 (subsi3, subsi3_1, subsi3_2): New.
1206 * config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
1207 * config/m32c/mov.md (SI mov peephole): New.
1208 * config/m32c/m32.c (m32c_immd_dbl_mov): New.
1209 * config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.
1211 2006-06-26 Olivier Hainque <hainque@adacore.com>
1213 * function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
1214 a CALL_EXPR target function declaration.
1216 2006-06-26 Richard Guenther <rguenther@suse.de>
1218 * tree.c (build_string): Do not waste tail padding in
1221 2006-06-26 Richard Guenther <rguenther@suse.de>
1223 * ggc-page.c (init_ggc): Add missing element to size_lookup
1227 2006-06-23 Richard Guenther <rguenther@suse.de>
1229 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1230 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1231 alignment requests instead. Add verification code.
1232 Add struct tree_function_decl and struct tree_binfo size to
1233 extra_order_size_table. Add missing element to size_lookup
1236 2006-06-25 Eric Botcazou <ebotcazou@adacore.com>
1239 * fold-const.c (const_binop): Be prepared for self returning zero.
1240 Simplify code handling complex values.
1242 2006-06-24 Olivier Hainque <hainque@adacore.com>
1244 * gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
1245 (gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
1248 2006-06-24 Olivier Hainque <hainque@adacore.com>
1250 * tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
1251 ARRAY_REF, so have the callback called for the low bound expression.
1253 2006-06-23 Janis Johnson <janis187@us.ibm.com>
1255 * tree.h (DECIMAL_FLOAT_TYPE_P): New.
1256 * c-typeck.c (c_common_type): Disallow operations on decimal float
1257 types and other float types.
1258 * convert.c (convert_to_real): Don't ignore conversions involving
1259 decimal float types.
1261 2006-06-23 Olivier Hainque <hainque@adacore.com>
1263 * tree.c (max_int_size_in_bytes): New function, inspired from
1264 code in function.c:assign_temp.
1265 * tree.h (max_int_size_in_bytes): Declare.
1266 * function.c (assign_temp): Use it.
1267 * gimplify.c (create_tmp_var): Relax the assertions on the type
1268 properties, not mandating constant size any more.
1269 (force_constant_size): New static function.
1270 (gimple_add_tmp_var): Use it, forcing variable size to a
1271 constant upper bound if it is not constant on entry.
1273 2006-06-23 Danny Smith <dannysmith@users.sourceforge.net>
1276 * config/i386/winnt.c (ix86_handle_selectany_attribute): Move check
1277 for initialization and setting of one_only flag to ...
1278 (i386_pe_encode_section_info): ...here.
1279 (i386_pe_dllimport_p): Check for DECL_DLLIMPORT_P also.
1280 Recheck that the symbol has not been defined.
1282 2006-06-23 Richard Guenther <rguenther@suse.de>
1284 * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
1285 sizes to MAX_ALIGNMENT. Fix the size_lookup table to honour
1286 alignment requests instead. Add verification code.
1287 Add struct tree_function_decl and struct tree_binfo size to
1288 extra_order_size_table. Add missing element to size_lookup
1291 2006-06-22 Roger Sayle <roger@eyesopen.com>
1292 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1295 * expr.c (expand_expr_real_1) <VECTOR_CST>: Check whether the
1296 call to lang_hooks.types.type_for_mode returned NULL_TREE.
1298 2006-06-23 Ben Elliston <bje@au.ibm.com>
1300 * dfp.c (decimal_to_decnumber): Do not use decNumberNegate to
1301 negate dn -- manipulate it directly.
1303 2006-06-22 Roger Sayle <roger@eyesopen.com>
1304 Steven Bosscher <stevenb.gcc@gmail.com>
1307 * reload1.c (gen_reload): Call mark_jump_label on the new insns
1308 generated by gen_move_insn to add REG_LABEL notes if necessary.
1310 2006-06-22 Bob Wilson <bob.wilson@acm.org>
1312 * config/xtensa/lib1funcs.asm (MIN_ESA): Delete.
1313 (leaf_entry): Remove use of MIN_ESA.
1315 2006-06-22 Zdenek Dvorak <dvorakz@suse.cz>
1317 PR rtl-optimization/28121
1318 * cfgexpand.c (tree_expand_cfg): Clean EDGE_EXECUTABLE flag from
1321 2006-06-21 DJ Delorie <dj@redhat.com>
1323 * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
1325 (mulhisi3_r): Likewise.
1327 2006-06-21 Richard Sandiford <richard@codesourcery.com>
1330 * coverage.c (coverage_counter_alloc): Leave the index type
1332 (coverage_counter_alloc): Use null arguments for operands 2 and 3
1335 2006-06-21 Andrew Pinski <pinskia@physics.uc.edu>
1337 * doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
1338 section from the "Options for Code Generation Conventions".
1340 2006-06-21 Richard Henderson <rth@redhat.com>
1344 * config/alpha/predicates.md (small_symbolic_operand): Deny weak
1346 (global_symbolic_operand): Allow weak symbols, even if local_p.
1348 2006-06-21 Eric Botcazou <ebotcazou@adacore.com>
1350 * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): New function.
1351 (find_interesting_uses_address): Punt if above function returns true.
1353 2006-06-21 Richard Guenther <rguenther@suse.de>
1355 * configure: Regenerated.
1357 2006-06-21 Joseph Myers <joseph@codesourcery.com>
1359 * config/mips/mips.c (function_arg): Where one part of a
1360 complex argument is in registers and the other part in the stack,
1361 return a REG not a PARALLEL.
1363 2006-06-21 Mark Mitchell <mark@codesourcery.com>
1365 * configure.ac: Set gcc_gxx_include_dir to $target/include/c++
1366 when cross-compiling. Do not substitute libstdcxx_incdir.
1367 * configure: Regenerated.
1369 2006-06-21 Jakub Jelinek <jakub@redhat.com>
1371 * varasm.c (mergeable_string_section): Check for embedded NULs and
1372 NUL termination in the first int_size_in_bytes (TREE_TYPE (decl))
1373 rather than TREE_STRING_LENGTH bytes.
1375 2006-06-21 Richard Guenther <rguenther@suse.de>
1377 * ggc-page.c (extra_order_size_table): Add var_ann_d,
1378 tree_ssa_name, bitmap_element and phi_node with 4 arguments
1381 2006-06-21 Richrad Guenther <rguenther@suse.de>
1383 * tree-ssa-loop-niter.c (simplify_using_initial_conditions):
1384 Limit iteration over the dominators.
1386 2006-06-20 Roger Sayle <roger@eyesopen.com>
1388 * config/mips/iris6.h (LIB_SPEC): Add support for -pthread.
1389 (SUBTARGET_CPP_SPEC): Define _REENTERANT if -pthread specified.
1391 2006-06-20 Richard Guenther <rguenther@suse.de>
1392 Michael Matz <matz@suse.de>
1394 * alloc-pool.h (free_alloc_pool_if_empty): Prototype new
1396 * alloc-pool.c (free_alloc_pool_if_empty): New function.
1397 * et-forest.h (et_free_pools): Prototype new function.
1398 * et-forest.c (et_free_tree_force): Free parent occurrence.
1399 (et_free_pools): New function.
1400 * dominance.c (free_dominance_info): Free et-forest alloc
1403 2006-06-20 Roger Sayle <roger@eyesopen.com>
1405 * expr.c (expand_expr_real_1) <VECTOR_CST>: For vector constants with
1406 integer modes, attempt to directly construct an integer constant.
1408 * fold-const.c (native_encode_vector): Determine the size of each
1409 element from the vector type instead of the first vector element.
1411 * tree.c (build_constructor_single): Mark a CONSTRUCTOR as constant,
1412 if all of its elements/components are constant.
1413 (build_constructor_from_list): Likewise.
1415 2006-06-20 Zdenek Dvorak <dvorakz@suse.cz>
1417 PR tree-optimization/27331
1418 * tree-data-ref.c (free_data_ref): New function.
1419 (create_data_ref): Fail if the data reference has unknown access
1421 (free_data_refs): Use free_data_ref.
1423 2006-06-19 Andrew Pinski <pinskia@gmail.com>
1426 * tree-inline.c (setup_one_parameter): Strip useless
1427 type conversion before adding it to the IR.
1428 (declare_return_variable): Likewise.
1430 2006-06-19 Martin Michlmayr <tbm@cyrius.com>
1433 * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
1435 2006-06-19 Mike Stump <mrs@apple.com>
1437 * tree.c (variably_modified_type_p): VM arguments don't make the
1440 2006-06-19 Richard Guenther <rguenther@suse.de>
1442 * tree-ssa-pre.c (try_combine_conversion): Strip useless
1443 type conversions after folding.
1445 2006-06-19 Richard Guenther <rguenther@suse.de>
1447 * ggc-page.c (extra_order_size_tab): Add entries with
1448 size of struct function and basic_block.
1449 (size_lookup): Extend to cover sizes up to 511.
1450 (ggc_alloc_stat): Adjust user.
1451 (ggc_pch_count_object): Likewise.
1452 (ggc_pch_alloc_object): Likewise.
1453 (ggc_pch_write_object): Likewise.
1455 2006-06-19 Zdenek Dvorak <dvorakz@suse.cz>
1457 * tree-ssa-loop-niter.c (implies_ge_p): New function.
1458 (derive_constant_upper_bound): Handle OP0 - CST in unsigned types
1461 2006-06-19 Denis Chertykov <denisc@overta.ru>
1463 * config/avr/libgcc.S : Correct my wrong previous commit.
1465 2006-06-19 Roger Sayle <roger@eyesopen.com>
1468 * expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
1469 have stripped a SUBREG from the shift count, so we may need to
1470 convert_to_mode back to the type's mode before calling make_tree.
1471 Use new_amount instead of amount to avoid expanding a tree twice.
1473 2006-06-19 Richard Guenther <rguenther@suse.de>
1476 * fold-const.c (operand_equal_p): Check if the argument types
1477 have the same precision before stripping NOPs.
1479 2006-06-19 Daniel Berlin <dberlin@dberlin.org>
1481 Fix PR tree-optimization/27341
1482 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the
1484 * tree-complex.c (pass_lower_complex): Update SMT usage.
1486 2006-06-19 Andreas Krebbel <krebbel1@de.ibm.com>
1488 * config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"):
1489 Add a new alternative to the constraint strings. Add move of
1490 operand 1 to 3 to the splitter definition.
1491 ("doloop_si_long"): Second contraint alternative removed.
1493 2006-06-08 Anatoly Sokolov <aesok@post.ru>
1495 * config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
1496 (TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and
1498 (AVR_HAVE_MOVW) Define.
1499 (ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
1500 (ASM_SPEC): Add avr25.
1501 (LINK_SPEC): Add avr25.
1502 * config/avr/avr.c (avr_have_movw_lpmx_p): Add.
1503 (base_arch_s): Add new member 'have_movw_lpmx'.
1504 (avr_arch_types): Init 'have_movw_lpmx'.
1505 (avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
1506 attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
1507 attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
1508 (avr_override_options): Init 'avr_have_movw_lpmx_p'.
1509 (output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use
1511 (avr_file_start): Do not output '.arh' derective.
1512 * config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
1513 (__do_copy_data): Use __AVR_HAVE_LPMX__.
1514 * config/avr/avr.md (mcu_enhanced): Delete.
1515 (mcu_have_movw): Define.
1516 (negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
1517 (call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
1518 * config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
1519 (MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
1520 attiny84, attiny25, attiny45, attiny85, attiny261, attiny461,
1521 attiny861 and at86rf401 devices.
1523 2006-06-18 Jie Zhang <jie.zhang@analog.com>
1525 * config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
1528 2006-06-17 Karl Berry <karl@gnu.org>
1530 * doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
1531 doc/gccint.texi, doc/install.texi (@dircategory): Use
1532 "Software development" instead of "Programming", following
1533 the Free Software Directory.
1535 2006-06-17 Alexandre Oliva <aoliva@redhat.com>
1537 * config/i386/i386.c (legitimate_tls_address)
1538 <TARGET_GNU2_TLS>: Add tp after DTPOFF.
1539 * config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
1540 (*tls_dynamic_gnu2_combine_64): Likewise.
1542 2006-06-16 Richard Guenther <rguenther@suse.de>
1545 * fold-const.c (negate_expr_p): Do not introduce undefined
1546 overflow in negating INTEGER_CSTs.
1547 (fold_negate_expr): Rename from negate_expr. Revert last
1548 change for folding BIT_NOT_EXPR. Change semantics to
1549 return NULL_TREE for non-simplified negations. Do not
1550 strip type conversions and unify type handling.
1551 (negate_expr): New function, wrap around fold_negate_expr
1552 but ensure building a tree always. Strip type conversions
1553 here, fold to result type.
1554 (fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.
1556 2006-06-16 Roger Sayle <roger@eyesopen.com>
1559 * reg-stack.c (subst_stack_regs): Handle noreturn function calls
1560 that (would) return their results in stack registers.
1562 2006-06-16 Michael Matz <matz@suse.de>
1563 Richard Guenther <rguenther@suse.de>
1565 * fold-const.c (fold_truthop): Only return new tree node if
1566 we canonicalized something.
1568 2006-06-16 Richard Guenther <rguenther@suse.de>
1570 * function.h (enum function_frequency): Move declaration
1571 out of struct function.
1572 (struct function): Move bool fields and the enum to the bitfield
1573 section. Reorder elements to avoid padding. Remove unused
1574 fields left over from the RTL inliner removal.
1575 * function.c (free_after_compilation): Do not zero removed fields.
1576 * Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
1577 (ipa-type-escape.o): Likewise.
1579 2006-06-16 Richard Guenther <rguenther@suse.de>
1581 * cgraph.h (struct cgraph_local_info): Turn bool elements
1583 (struct cgraph_node): Likewise.
1584 (struct cgraph_varpool_node): Likewise.
1586 2006-06-15 Richard Guenther <rguenther@suse.de>
1588 * fold-const.c (fold_truth_not_expr): Rename from
1589 invert_truthvalue. Give it fold_* semantics to avoid
1591 (invert_truthvalue): New function. Wrapper around
1592 fold_truth_not_expr.
1593 (optimize_minmax_comparison): Avoid creating garbage.
1594 (fold_unary): Use fold_truth_not_expr for folding
1596 (fold_ternary): Replace uses of invert_truthvalue with
1597 fold_truth_not_expr where applicable.
1598 * tree.h (fold_truth_not_expr): Prototype.
1600 2006-06-16 Richard Guenther <rguenther@suse.de>
1602 PR tree-optimization/27781
1603 * Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
1604 * ipa-pure-const.c (target.h): Include.
1605 (analyze_function): Do not analyze functions that do not
1608 2006-06-15 Andrew MacLeod <amacleod@redhat.com>
1611 * tree-dfa.c (referenced_vars_dup_list): Remove.
1612 (find_referenced_vars): Remove assert.
1613 (referenced_var_check_and_insert): Replace dup list with assert.
1614 * tree-ssa.c (delete_tree_ssa): Remove dup list processing.
1615 * tree-flow.h (referenced_vars_dup_list): Remove extern decl.
1617 2006-06-15 Richard Guenther <rguenther@suse.de>
1619 * tree-ssa-structalias.c (alias_get_name): Avoid creating
1620 extra unused identifiers if not dumping.
1621 (create_variable_info_for): Likewise.
1623 2006-06-15 Zdenek Dvorak <dvorakz@suse.cz>
1625 * tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
1626 (derive_constant_upper_bound): Derive more precise upper bound in
1627 common cases. Return type changed to double_int.
1628 (record_estimate): Reflect the changed return type of
1629 derive_constant_upper_bound.
1630 * double-int.c (double_int_zext, double_int_sext): Fix.
1632 2006-06-15 Paolo Bonzini <bonzini@gnu.org>
1634 * configure.ac (CFLAGS): Get them from the toplevel or from the
1635 configure invocation.
1636 * configure: Regenerate.
1637 * Makefile.in (CFLAGS): Substitute value provided by configure.
1639 2006-06-14 Mark Mitchell <mark@codesourcery.com>
1642 * c-common.h (c_finish_omp_atomic): Adjust declaration.
1643 * c-omp.c (c_finish_omp_atomic): Return the expression to perform,
1644 rather than calling add_stmt on it.
1645 * c-parser.c (c_parser_omp_atomic): Adjust accordingly.
1647 2006-06-14 Andreas Krebbel <krebbel1@de.ibm.com>
1650 * reload1.c (reload): Remove registers returned by update_eliminables
1651 from used_spill_regs.
1653 2006-06-13 DJ Delorie <dj@redhat.com>
1655 * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
1657 2006-06-13 Carlos O'Donell <carlos@codesourcery.com>
1659 * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL,
1660 html__strip_dir, html__mkdir_p. Enhance install-html target.
1661 * configure.ac: AC_SUBST datarootdir, docdir and htmldir.
1662 * configure: Regenerate.
1664 2006-06-13 Fariborz Jahanian <fjahanian@apple.com>
1666 * fold-const.c (fold_cond_expr_with_comparison): Check for
1667 Objective-C++ as language in deciding COND_EXPR transformation.
1669 2006-06-06 J"orn Rennecke <joern.rennecke@st.com>
1672 * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
1673 * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
1674 * config/sh/lib1funcs.h (SL, SL1): Define.
1675 * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
1676 * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
1677 * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
1678 (OBJS_Os_4_200): New variable.
1679 ($(T)libgcc-Os-4-200.a): Use it.
1680 * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
1681 when dividing 1 and/or by 0.
1683 2006-06-13 Roger Sayle <roger@eyesopen.com>
1685 * configure.ac (HAS_MCONTEXT_T_UNDERSCORES): Include <sys/signal.h>
1686 before <ucontext.h> to define sigset_t required by <sys/ucontext.h>.
1687 * configure: Regenerate.
1689 2006-06-13 Jie Zhang <jie.zhang@analog.com>
1691 * config/bfin/bfin.c (bfin_reorg_loops): Only call recog_memoized ()
1692 for real instruction.
1694 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1697 * haifa-sched.c (check_cfg): Handle special case.
1699 2006-06-13 Eric Botcazou <ebotcazou@adacore.com>
1702 * gimplify.c (declare_tmp_vars): Rename into declare_vars.
1703 Add debug_info parameter. Chain the vars to the BLOCK instead
1704 of the BIND_EXPR if debug info are requested for them.
1705 (pop_gimplify_context): Adjust for above change.
1706 (gimple_add_tmp_var): Likewise.
1707 * tree-gimple.h (declare_tmp_vars): Rename into declare_vars.
1709 * tree-nested.c (convert_nonlocal_reference): Adjust for above change.
1710 (convert_local_reference): Likewise.
1711 (get_local_debug_decl): Set DECL_IGNORED_P on the original variable.
1712 (finalize_nesting_tree_1): Request that debug info be emitted
1713 for debug_var_chain.
1715 2006-06-13 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1717 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Fix the patch
1718 for PR target/27863.
1720 2006-06-13 Richard Guenther <rguenther@suse.de>
1723 * except.c (output_ttype): Expand type with EXPAND_INITIALIZER.
1725 2006-06-13 Richard Guenther <rguenther@suse.de>
1727 PR tree-optimization/27830
1728 * tree-inline.c (copy_body_r): For copying the operand
1729 of an ADDR_EXPR make sure to fold &* afterwards.
1731 2006-06-12 Eric Botcazou <ebotcazou@adacore.com>
1733 * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
1734 lvalues in the fb_none case with side-effects.
1736 2006-06-12 Kazu Hirata <kazu@codesourcery.com>
1738 * tree-flow.h: Remove the prototype for
1739 compute_phi_arg_on_exit.
1740 * tree-ssa-loop-ivopts.c (protect_loop_closed_ssa_form_use,
1741 protect_loop_closed_ssa_form, compute_phi_arg_on_exit):
1744 2006-06-12 Mark Shinwell <shinwell@codesourcery.com>
1746 * builtins.c (expand_builtin_return_addr): Only use
1747 frame_pointer_rtx when count == 0 and we are expanding
1748 __builtin_return_address.
1750 2006-06-12 Fred Fish <fnf@specifix.com>
1752 * config/mips/mips.c (mips_file_start): Create special section
1753 ".gcc_compiled_longXX" for o64 ABI as well as EABI.
1755 2006-06-11 Eric Christopher <echristo@apple.com>
1758 * stor-layout.c (place_field): Remove check for
1759 remaining_in_alignment when aligning at the end of a run.
1761 2006-06-11 Eric Christopher <echristo@apple.com>
1764 * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
1767 2006-06-11 Roger Sayle <roger@eyesopen.com>
1770 Revert incorrect fix for PR target/27158
1771 2006-05-08 Roger Sayle <roger@eyesopen.com>
1772 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
1773 of a reg_equiv_constant if the result is a legitimate constant.
1775 2006-06-11 Roger Sayle <roger@eyesopen.com>
1778 * config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
1779 extract a CONST_VECTOR element and interpret it as an integer.
1780 (vspltis_constant): Use const_vector_elt_as_int instead of the
1781 macro CONST_VECTOR_ELT in order to handle FP vector modes.
1782 * config/rs6000/predicates.md (easy_vector_const): Consider
1783 floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
1785 2006-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
1788 * stor-layout.c (update_alignment_for_field): Don't add extra
1789 alignment for packed non-bitfield fields in ms_bitfield_layout_p
1792 2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
1794 * config/mips/t-rtems: Add EL/EB multilib variants.
1796 2006-06-09 Mike Stump <mrs@apple.com>
1798 * c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
1800 2006-06-09 David Daney <ddaney@avtrex.com>
1802 * doc/install.texi: Add binutils version recommendation for mips-*-*.
1804 2006-06-09 Andreas Krebbel <krebbel1@de.ibm.com>
1806 * reload.c (find_reloads): Unset force_reload for 'X' constraint.
1808 2006-06-09 Richard Guenther <rguenther@suse.de>
1810 PR tree-optimization/26998
1811 * tree-vrp.c (extract_range_from_unary_expr): For NEGATE_EXPR
1812 of signed types, only TYPE_MIN_VALUE is special, but for both,
1813 minimum and maximum value. Likewise VR_ANTI_RANGE is special
1814 in this case, as is -fwrapv.
1816 2006-06-08 Mike Stump <mrs@apple.com>
1819 * config/darwin.c (darwin_asm_output_anchor): Disable
1820 -fsection-anchors on darwin for now.
1821 * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Likewise.
1822 * rs6000/rs6000.c (optimization_options): Likewise.
1824 2006-06-08 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1827 * config/i386/i386.c (classify_argument): Skip fields with invalid
1830 2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
1832 * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
1833 (cse_insn): Likewise for the stack_pointer_rtx.
1835 2006-06-08 Roger Sayle <roger@eyesopen.com>
1837 * tree-ssa-dom.c (record_conditions): Only record "unordered"
1838 conditions from floating point comparisons.
1840 2006-06-08 Paolo Bonzini <bonzini@gnu.org>
1843 * expmed.c (struct alg_hash_entry): Fix type of field T
1844 to match synth_mult argument.
1845 (NUM_ALG_HASH_ENTRIES): Make it bigger for 64-bit HOST_WIDE_INT.
1847 2006-06-08 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1850 * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
1853 2006-06-08 Richard Guenther <rguenther@suse.de>
1856 * fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
1857 only, if overflow is defined and not trapping.
1858 (negate_expr): Likewise.
1860 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1862 PR tree-optimization/27872
1863 * tree-ssa-loop-manip.c (tree_unroll_loop): Set EDGE_IRREDUCIBLE_LOOP
1864 flag on the new exit edge of the unrolled loop.
1866 2006-06-07 Zdenek Dvorak <dvorakz@suse.cz>
1868 PR rtl-optimization/26449
1869 * loop-invariant.c (move_invariant_reg): Fail if force_operand fails.
1871 2006-06-07 Andrew MacLeod <amacleod@redhat.com>
1874 * tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
1875 referenced_variables with matching DECL_UID's.
1876 (find_referenced_vars): Make sure duplicate list is empty to start.
1877 (referenced_var_p): Remove.
1878 (referenced_var_check_and_insert): Renamed from referenced_var_insert.
1879 Check if var is in the list, and add if needed. Update the duplicate
1880 list if a different var is in the list with the same DECL_UID.
1881 (add_referenced_var): Call routine to check and insert.
1882 * tree-ssa.c (delete_tree_ssa): Clear var_ann's on duplicates.
1883 * tree-flow.h (referenced_vars_dup_list): External declaration.
1885 2006-06-07 Fred Fish <fnf@specifix.com>
1887 * config/mips/t-elf (MULTILIB_MATCHES): Combine two entries
1890 2006-06-07 Paolo Bonzini <bonzini@gnu.org>
1893 * reg-stack.c (subst_stack_regs_pat): Reorder resetting of
1894 the imaginary and real parts of a clobbered register.
1895 Emit insn to set the imaginary part.
1897 2006-06-06 Peter Lemieszewski <lemie@us.ibm.com>
1899 * config/s390/t-tpf (LIB2ADDEH): Include unwind-dw2-fde-glibc.c
1900 in lieu of unwind-dw2-fde.c.
1902 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1904 * config/i386/mingw32.h (GOMP_SELF_SPECS): Define.
1906 2006-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1909 * config/rs6000/altivec.md (UNSPEC_VSLW): Remove.
1910 ("altivec_vspltisw_v4sf", "altivec_vslw_v4sf"): Remove.
1911 ("mulv4sf3", "absv4sf3", "negv4sf3"): Adapt users to use
1912 V4SImode temporaries and operations instead.
1914 2006-06-06 Joseph S. Myers <joseph@codesourcery.com>
1916 * config/mips/t-linux64 (tp-bit.c): Append to tp-bit.c, not
1919 2006-06-06 Mike Stump <mrs@apple.com>
1921 * Makefile.in: Rename to htmldir to build_htmldir to avoid
1922 installing during build.
1924 2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
1926 * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
1928 * doc/invoke.texi (max-sched-extend-regions-iters): Document.
1929 * config/ia64/ia64.c (params.h): New header.
1930 (ia64_optimization_options): New function to adjust parameters.
1931 * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
1932 * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
1933 * config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
1935 2006-06-05 Kazu Hirata <kazu@codesourcery.com>
1937 * stor-layout.c (debug_rli): Fix a typo in a debug message.
1939 2006-06-05 Steve Ellcey <sje@cup.hp.com>
1942 * config/ia64/ia64.c (ia64_select_rtx_section): Check TARGET_NO_SDATA.
1944 2006-06-05 Dorit Nuzman <dorit@il.ibm.com>
1945 Victor Kaplansky <victork@il.ibm.com>
1947 PR tree-optimization/26360
1948 * tree-vectorizer.c (destroy_loop_vec_info): Remove (dead) pattern
1951 2006-06-04 Roger Sayle <roger@eyesopen.com>
1952 Andrew Pinski <pinskia@physics.uc.edu>
1955 * c-common.c (c_common_truthvalue_conversion): Explicitly check
1956 for LABEL_DECL before calling DECL_WEAK.
1959 * c-typeck.c (build_binary_op): Likewise, explicitly check for
1960 LABEL_DECL and PARM_DECL.
1962 2006-06-05 Joseph S. Myers <joseph@codesourcery.com>
1966 * c-decl.c (grokdeclarator): Disallow variably modified types at
1967 file scope. Avoid marking shared array type of constant size as
1970 2006-06-04 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1973 * c-common.c (fold_offsetof_1): Handle static members.
1975 2006-06-04 Eric Christopher <echristo@apple.com>
1977 * stor-layout.c (start_record_layout): Initialize remaining_in_alignment.
1978 (debug_rli): Output value for remaining_in_alignment.
1979 (update_alignment_for_field): Unconditionalize
1980 ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
1981 extra alignment code.
1982 (place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
1983 ms_bitfield_layout_p code. Rewrite handling of structure fields.
1984 * tree.h (record_layout_info_s): Remove prev_packed.
1985 * doc/extend.texi (ms_struct): Add documentation of format.
1987 2006-06-04 Mark Shinwell <shinwell@codesourcery.com>
1989 * tree.h: Declare folding_initializer.
1990 * builtins.c (fold_builtin_constant_p): Give definite answer
1991 if folding inside an initializer.
1992 * fold-const.c: Define folding_initializer.
1993 (START_FOLD_INIT): Save and then set folding_initializer.
1994 (END_FOLD_INIT): Restore folding_initializer.
1996 2006-06-04 Richard Guenther <rguenther@suse.de>
1998 PR tree-optimization/27039
1999 * fold-const.c (fold_comparison): Handle pointer comparison
2000 again for all comparison codes. Compare offsets in signed
2002 (fold_binary): Move code from here.
2004 2006-06-03 Roger Sayle <roger@eyesopen.com>
2007 * config/i386/i386.c (construct_container): Split static issued_error
2008 flag into issued_sse_arg_error, issued_sse_ret_error and
2009 issued_x87_ret_error. Issue a daignostic if the x86-64 ABI
2010 requires the use of x87 registers and the user explicitly
2011 specified the -mno-80387 command line option.
2013 2006-06-02 Geoffrey Keating <geoffk@apple.com>
2015 * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with
2016 HAVE_DECL_SIGALTSTACK.
2018 (segv_handler): Use MC_FLD.
2019 * configure.ac: Check for a sigaltstack declaration.
2020 Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin.
2021 * configure: Regenerate.
2022 * config.in: Regenerate.
2024 2006-06-03 J"orn Rennecke <joern.rennecke@st.com>
2027 * Makefile.in (stmp-fixinc): Fix typo.
2029 2006-06-02 Roger Sayle <roger@eyesopen.com>
2031 * fold-const.c (fold_unary) <CONJ_EXPR>: Ensure folded expressions
2032 are type correct. Clean-up.
2033 <REALPART_EXPR>: Likewise. Optimize creal(~z) as creal(z).
2034 <IMAGPART_EXPR>: Likewise. Optimize cimag(~z) as -cimag(z).
2036 2006-06-01 DJ Delorie <dj@redhat.com>
2038 * config/v850/v850.h (ASM_OUTPUT_ADDR_DIFF_ELT): Disabled the
2039 shift, as we've disabled the "switch" insn that needs it.
2041 2006-06-01 Per Bothner <bothner@bothner.com>
2043 Suppress extra '#1 <built-in> or '#1 <command line>' on -dD output.
2044 * c-opts.c (finish_options): Use internal line 0 for <command-line>.
2045 * c-ppoutput.c (cb_define): Don't increment line 0.
2047 2006-06-01 Pete Steinmetz <steinmtz@us.ibm.com>
2049 * doc/invoke.texi: Add cpu_type power6.
2050 * config.gcc: Add cpu_type power6.
2051 * config/rs6000/rs6000.c (rs6000_override_options): Alias power6
2052 to power5+ with Altivec.
2053 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6.
2054 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add power6.
2056 2006-05-30 Anatoly Sokolov <aesok@post.ru>
2058 * config/avr/avr.h (SET_ASM_OP): Define.
2060 2006-06-01 Kazu Hirata <kazu@codesourcery.com>
2062 * config/bfin/bfin.c: Fix comment typos.
2064 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
2067 * doc/install.texi: Document --enable-bootstrap and
2068 --disable-bootstrap.
2070 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
2072 * doc/install.texi: Document that InfoZIP can replace jar.
2074 2006-05-31 Roger Sayle <roger@eyesopen.com>
2076 * config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
2077 isn't available, directly generate the simpler x87 patterns without
2078 the (use (const_int 0)).
2079 * config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
2080 implementation isn't available.
2081 (*negdf2_1): Likewise.
2082 (*negxf2_1): XF mode negation is always done using the x87.
2083 (*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.
2085 2006-05-31 Roger Sayle <roger@eyesopen.com>
2087 * builtins.c (fold_builtin_cabs): Delete prototype. Require an
2088 additional FNDECL argument. Optimize cabs(-z) and cabs(~z) as
2090 (fold_builtin_decl) <BUILT_IN_CABS>: Update fold_builtin_cabs call.
2092 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2094 * config/bfin/bfin-protos.h (bfin_hardware_loop): Declare.
2095 * config/bfin/bfin.c (basic-block.h): Include.
2096 (struct machine_function): New.
2097 (bfin_init_machine_status): New.
2098 (override_options): Initialize init_machine_status.
2099 (bfin_hardware_loop): New.
2100 (MAX_LOOP_DEPTH, MAX_LOOP_LENGTH): Define.
2101 (DEF_VEC_P (loop_info)): New.
2102 (DEF_VEC_ALLOC_P (loop_info,heap)): New.
2103 (struct loop_info): New.
2104 (loop_info): New typedef.
2105 (struct loop_work): New.
2106 (loop_work): New typedef.
2107 (DEF_VEC_O (loop_work)): New.
2108 (DEF_VEC_ALLOC_O (loop_work,heap)): New.
2109 (bfin_dump_loops): New.
2110 (bfin_bb_in_loop): New.
2111 (bfin_scan_loop): New.
2112 (bfin_optimize_loop): New.
2113 (bfin_reorg_loops): New.
2114 (bfin_reorg): Use bfin_reorg_loops.
2115 * config/bfin/bfin.h (FIRST_PSEUDO_REGISTER): Adjust for adding
2117 (I_REGNO_P): Simplify.
2118 (DP_REGNO_P, DPREG_P): New macros.
2119 (REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
2120 REG_ALLOC_ORDER): Add LT0, LT1, LC0, LC1, LB0, LB1.
2121 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
2122 Add LT_REGS, LC_REGS, LB_REGS.
2123 (REG_CLASS_FROM_LETTER): Add 't' for LT_REGS, 'k' for LC_REGS,
2125 (REGNO_REG_CLASS): Deal with loop registers.
2126 * config/bfin/bfin.md: Add comment for 't', 'k', 'l' constraint
2128 (REG_LT0, REG_LT1, REG_LC0, REG_LC1, REG_LB0, REG_LB1):
2129 New constants for loop registers.
2130 (UNSPEC_LSETUP_END): New.
2131 (seq_insns): New define_attr. Set it for appropriate insns.
2132 (movsi_insn): Add alternatives for move from/to
2133 loop count registers.
2134 (doloop_end): New define_expand.
2135 (loop_end): New define_insn.
2136 (define_split for bad doloop_end): New.
2137 (lsetup_with_autoinit): New define_insn.
2138 (lsetup_without_autoinit): New define_insn.
2139 (rep_movsi, rep_movhi): Clobber LT1, LC1, LB1.
2140 * config/bfin/predicates.md (lc_register_operand): New.
2141 (lt_register_operand): New.
2142 (lb_register_operand): New.
2143 (nondp_register_operand): New.
2144 (nondp_reg_or_memory_operand): New.
2145 * doc/md.texi: Document Blackfin new 't', 'k', 'l' constraint letters.
2147 2006-05-31 Jie Zhang <jie.zhang@analog.com>
2149 * config/bfin/bfin.c (bfin_delegitimize_address): New.
2150 (TARGET_DELEGITIMIZE_ADDRESS): Define.
2152 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
2154 * Makefile.in (CATALOGS): Add po/ prefix.
2155 * configure: Regenerated.
2157 2006-05-31 Richard Earnshaw <richard.earnshaw@arm.com>
2160 * arm.c (arm_print_operand case 'S'): Validate that the operand is
2161 a shift operand before calling shift_op. Avoid redundant call of
2164 2006-05-30 Naveen.H.S <naveenh@kpitcummins.com>
2165 DJ Delorie <dj@redhat.com>
2167 * config/m32c/m32c.c (m32c_expand_insv): Check that the value
2168 we're inserting is a singlt-bit constant.
2170 2006-05-30 Roger Sayle <roger@eyesopen.com>
2172 * simplify-rtx.c (simplify_binary_operation_1) <LSHIFTRT>: Cast
2173 width to HOST_WIDE_INT to avoid comparison warnings on some targets.
2175 2006-05-30 Roger Sayle <roger@eyesopen.com>
2177 PR tree-optimization/23452
2178 * fold-const.c (fold_mult_zconjz): New subroutine of fold_binary,
2179 to optimize z * conj(z) as realpart(z)^2 + imagpart(z)^2.
2180 (fold_binary) <MULT_EXPR>: Call fold_mult_zconjz for integral
2181 complex values and with -ffast-math for FP complex values.
2183 2006-05-30 Kazu Hirata <kazu@codesourcery.com>
2185 * c-common.h: Remove the prototype for yyparse.
2186 * rtl.h: Remove the prototype for init_loop.
2188 2006-05-30 Andreas Krebbel <krebbel1@de.ibm.com>
2190 * cse.c (validate_canon_reg, cse_insn): Don't change insns without
2193 2006-05-30 Roger Sayle <roger@eyesopen.com>
2195 * simplify-rtx.c (simplify_binary_operation): Unfactor the shift
2197 <LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
2198 log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
2200 2006-05-30 Dirk Mueller <dmueller@suse.de>
2203 * c-common.c (convert_and_check): Only track TREE_CONSTANT_OVERFLOW
2204 for CONSTANT_CLASS_P expresisons.
2206 2006-05-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2209 * c-typeck.c (c_expr_sizeof_type): Handle invalid types.
2211 2006-05-30 Zdenek Dvorak <dvorakz@suse.cz>
2213 PR tree-optimization/27779
2214 * tree-data-ref.c (analyze_siv_subscript_cst_affine): Use
2215 initial_condition instead of CHREC_LEFT.
2217 2006-05-30 Steven Bosscher <stevenb.gcc@gmail.com>
2219 * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Fix type of begin_label.
2220 * config/m32r/initfini.c (__do_global_dtors, __do_global_ctors):
2221 Make prototypes ISO C90.
2223 2006-05-30 Mircea Namolaru <namolaru@il.ibm.com>
2224 Leehod Baruch <leehod.baruch@weizmann.ac.il>
2226 * see.c (see_analyze_one_def): Correct check.
2227 (see_get_extension_data): Check if extension is parallel.
2228 (see_get_extension_reg): Likewise.
2230 2006-05-30 Uros Bizjak <uros@kss-loka.si>
2233 * config/i386/i386.c (ix86_expand_int_vcond): Force cop0
2234 into register for (code == GTU).
2236 2006-05-29 Roger Sayle <roger@eyesopen.com>
2238 PR tree-optimization/24964
2239 * simplify-rtx.c (simplify_binary_operation_1): Add function comment.
2240 <MULT>: Minor clean-up. Don't convert x*-1.0 into -x if we honor
2241 signaling NaNs. Optimize -x*-x as x*x for all float modes, and
2242 abs(x)*abs(x) as x*x for scalar floating point modes.
2244 2006-05-29 Sebastian Pop <pop@cri.ensmp.fr>
2247 * lambda-code.c (perfect_nestify): Don't copy statements
2248 in the inner loop: move them to the inner loop header.
2250 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2253 * c-tree.texi: Document OpenMP directives and clauses.
2255 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2257 * varasm.c (globalize_decl): Fix indentation.
2259 2006-05-29 Diego Novillo <dnovillo@redhat.com>
2262 * doc/passes.texi: Add documentation for pass_vrp, pass_ipa_pta,
2263 pass_fre, pass_store_ccp, pass_copy_prop,
2264 pass_store_copy_prop, pass_merge_phi, pass_nrv,
2265 pass_return_slot, pass_object_size, pass_lim,
2266 pass_linear_transform, pass_empty_loop, pass_complete_unroll,
2267 pass_loop_prefetch and pass_stdarg.
2269 2005-05-29 Bernd Schmidt <bernd.schmidt@analog.com>
2271 * config/bfin/bfin.opt (mfdpic): New option.
2272 * config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
2273 (EXTRA_MULTILIB_PARTS): Likewise.
2274 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
2275 (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
2277 * config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
2278 (CRT_CALL_STATIC_FUNCTION): New.
2279 * config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
2281 (CRT_CALL_STATIC_FUNCTION): New.
2282 * config/bfin/bfin.c (legitimize_pic_address): Now static. Handle
2284 (n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
2285 (print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
2286 (initialize_trampoline): Changed to handle FD-PIC code generation.
2287 (expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
2288 (bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
2289 (override_options): Disallow -mid-shared-library -mfdpic combination.
2290 Can't do unaligned ops if FD-PIC.
2291 Turn off flag_pic if trying to generate non-id-shared-library
2292 non-fdpic code, since it's not supported.
2293 (bfin_assemble_integer): New function.
2294 (TARGET_ASM_INTEGER): Define.
2295 * config/bfin/crti.s (__init, __fini): Save P3 on the stack if
2297 * config/bfin/crtn.s: Restore them.
2298 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
2300 (DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
2301 LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
2302 (FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
2303 (TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
2304 (CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
2306 (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
2307 FDPIC_REGS and FDPIC_FPTR_REGS.
2308 (REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
2309 * config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
2310 UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
2311 (load_funcdescsi): New pattern.
2312 (call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
2313 sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
2314 call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.
2316 2006-05-29 Kazu Hirata <kazu@codesourcery.com>
2318 * gcse.c, rtlanal.c: Remove obsolete comments associated with
2321 * config/bfin/bfin.h (PARM_BOUNDRY, STACK_BOUNDRY): Remove.
2323 * tree-flow.h: Remove the prototype for add_type_alias.
2324 * tree-ssa-alias.c (add_type_alias): Remove.
2326 2006-05-28 Kazu Hirata <kazu@codesourcery.com>
2328 * cfgcleanup.c, cfgexpand.c, cgraphunit.c, config/arm/arm.c,
2329 config/fr30/fr30.md, config/i386/i386-interix.h,
2330 config/i386/i386.c, config/i386/i386.md, config/sh/superh.h,
2331 config/sh/superh64.h, config/v850/v850.c, df-core.c,
2332 df-problems.c, df.h, except.c, final.c, haifa-sched.c,
2333 lambda-code.c, libgcc2.h, omp-low.c, optabs.c, predict.c,
2334 reload.c, tree-flow.h, tree-outof-ssa.c, tree-ssa-dce.c,
2335 tree-ssa-pre.c, tree-vect-transform.c: Fix comment typos.
2336 Follow spelling conventions.
2337 * doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix typos.
2338 Follow spelling conventions.
2340 2006-05-27 Richard Guenther <rguenther@suse.de>
2343 * fold-const.c (fold_plusminus_mult_expr): Use fold_convert
2344 to produce a constant of value 1 of generic type.
2346 2006-05-27 Dirk Mueller <dmueller@suse.de>
2348 * cgraphunit.c (decide_is_function_needed): Fix wrong
2351 2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
2353 PR rtl-optimization/27661
2354 * reload.c (find_reloads): When reloading a VOIDmode constant
2355 as address due to an EXTRA_MEMORY_CONSTRAINT or 'o' constraint,
2356 use Pmode as mode of the reload register.
2358 2006-05-26 Eric Botcazou <ebotcazou@adacore.com>
2360 * doc/invoke.texi (Optimize Options): Document that -funit-at-a-time
2361 is enabled at -O and above.
2363 2006-05-26 Steven Bosscher <steven@gcc.gnu.org>
2366 * config/alpha/alpha.c (alpha_does_function_need_gp): Skip jump
2369 2006-05-25 Mark Mitchell <mark@codesourcery.com>
2372 * gimplify.c (gimplify_decl_expr): Do not call gimple_add_tmp_var
2373 for anonymous variables explicitly declared by front ends.
2375 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2377 * tree-ssa-structalias.h (PTR_IS_REF_ALL): New macro.
2378 (struct alias_info): Add new field ref_all_symbol_mem_tag.
2379 * tree-ssa-alias.c (compute_may_aliases): If the program contains
2380 ref-all pointers, run a finalization pass for them.
2381 (compute_flow_insensitive_aliasing): Skip ref-all pointers.
2382 (finalize_ref_all_pointers): New function.
2383 (is_escape_site): Return ESCAPE_BAD_CAST for conversion from a
2384 regular pointer type to a ref-all pointer type.
2385 (get_tmt_for): Return the special memory tag for ref-all pointers.
2387 2006-05-25 Richard Guenther <rguenther@suse.de>
2390 * fold-const.c (fold_binary): Do not look at the stripped
2391 op0 for (a OP c1) OP c2 to a OP (c1+c2) shift optimization.
2393 2006-05-25 Eric Botcazou <ebotcazou@adacore.com>
2395 * tree-vrp.c (extract_range_from_assert): Set the range to VARYING
2396 for LT and GT if the computed range is effectively empty.
2398 2006-05-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2401 * pa/pa-modes.def: Use mips_single_format, mips_double_format and
2402 mips_quad_format formats instead of ieee_single_format,
2403 ieee_double_format and ieee_quad_format formats, respectively.
2405 2006-05-24 Zdenek Dvorak <dvorakz@suse.cz>
2407 PR tree-optimization/27639
2408 PR tree-optimization/26719
2409 * tree-vrp.c (adjust_range_with_scev): Use scev_direction and adjust
2410 call to scev_probably_wraps_p.
2411 * tree-ssa-loop-niter.c (compare_trees, convert_step_widening,
2412 used_in_pointer_arithmetic_p, convert_step): Removed.
2413 (nowrap_type_p): New function.
2414 (scev_probably_wraps_p): Rewritten.
2415 * tree-scalar-evolution.c (instantiate_parameters_1): Do not call
2416 chrec_convert if chrec_convert_aggressive might have been used.
2417 * tree-chrec.c (convert_affine_scev, chrec_convert_1,
2418 scev_direction): New functions.
2419 (chrec_convert): Changed to a wrapper over chrec_convert_1.
2420 * tree-ssa-loop-ivopts.c (idx_find_step): Use convert_affine_scev
2421 instead of convert_step.
2422 * tree-flow.h (scev_probably_wraps_p): Declaration changed.
2423 (convert_step): Declaration removed.
2424 (convert_affine_scev, nowrap_type_p, scev_direction): Declare.
2426 2006-05-23 Kenneth Zadeck <zadeck@naturalbridge.com>
2428 * df-core.c: Added to header comments.
2429 * df.h (df_ru_bb_info, df_rd_bb_info, df_lr_bb_info,
2430 df_ur_bb_info, df_urec_bb_info): Added comments.
2431 * df-problems (df_ref_bitmap, ru, rd, lr, ur,
2432 urec, ri problems): Fixed header comments.
2433 (df_ru_transfer_function): Fixed in-out set dyslexia when copying
2434 code from df_rd_transfer_function.
2436 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2438 * libgcc2.c (LIBGCC2_MAX_UNITS_PER_WORD): New macro.
2439 (LIBGCC2_UNITS_PER_WORD): Use LIBGCC2_MAX_UNITS_PER_WORD rather than
2440 MIN_UNITS_PER_WORD to set the default. Also use it in the guard.
2442 2006-05-23 Joseph Myers <joseph@codesourcery.com>
2444 * expr.c (undefined_operand_subword_p): New.
2445 (emit_move_multi_word): Do not generate move from undefined bits
2446 of a paradoxical subreg.
2448 2006-05-23 Richard Sandiford <richard@codesourcery.com>
2450 PR rtl-optimization/27736
2451 * combine.c (replaced_rhs_value): New variable.
2452 (combine_instructions): Set it.
2453 (distribute_notes): When distributing a note in replaced_rhs_insn,
2454 check whether the value was used in replaced_rhs_value.
2456 2006-05-23 Andrew MacLeod <amacleod@redhat.com>
2459 * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
2460 add_referenced_var instead of add_referenced_tmp_var.
2461 * tree-complex.c (create_one_component_var): Use add_referenced_var.
2462 * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
2464 * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
2465 tree_optimize_tail_calls_1): Use add_referenced_var.
2466 * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
2467 * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
2468 Use add_referenced_var.
2469 * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
2470 * gimplify.c (force_gimple_operand): Use add_referenced_var.
2471 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
2472 Use add_referenced_var.
2473 * tree-dfa.c (struct walk_state): Remove.
2474 (find_referenced_vars): Remove walk state and vars_found hash table.
2475 (make_rename_temp): Use add_referenced_var.
2476 (find_vars_r): Pass less parameters to add_referenced_var.
2477 (referenced_var_p): New. Is var in referenced_var hash table.
2478 (referenced_var_insert): Assert var isn't already in hash table.
2479 (add_referenced_var): Don't need walk_state parameter. Add var if it
2480 isn't already in the hash table.
2481 (add_referenced_tmp_var): Remove.
2482 (find_new_referenced_vars_1): Use add_referenced_var.
2483 * tree-ssa-pre.c (create_expression_by_pieces,
2484 insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
2485 Use add_referenced_var.
2486 * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
2487 * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
2488 lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
2490 * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
2491 vect_create_data_ref_ptr, vect_create_destination_var,
2492 vect_init_vector, vect_build_loop_niters,
2493 vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
2494 vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
2495 Use add_referenced_var.
2496 * tree-outof-ssa.c (create_temp): Use add_referenced_var.
2497 * tree-flow.h (add_referenced_tmp_var): Remove prototype
2498 (add_referenced_var): Add prototype.
2499 * tree-ssa-structalias.c (get_constraint_for,
2500 intra_create_variable_infos): Use add_referenced_var.
2502 2006-05-23 Alexandre Oliva <aoliva@redhat.com>
2504 * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
2505 big-endian paradoxical subregs.
2506 * var-tracking.c (struct micro_operation_def): Document that,
2507 for modify micro operations, insn is the subsequent instruction.
2508 (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
2509 (var_reg_set, var_mem_set): ... new functions.
2510 (add_stores): Record subsequent insn.
2511 (compute_bb_dataflow): Use new functions for MO_USE.
2512 (emit_notes_in_bb): Use new functions for MO_USE. Emit use
2513 notes after the insn, and modify notes before the insn known
2514 to be the subsequent one.
2515 (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
2517 2006-05-23 Kazu Hirata <kazu@codesourcery.com>
2520 * config/i386/i386.c (ix86_expand_builtin): Use
2521 gen_sse3_monitor64 for TARGET_64BIT.
2523 2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
2525 PR rtl-optimization/26375
2526 PR rtl-optimization/26855
2527 * df-problems (df_ru_bb_local_compute_process_def): Removed update
2529 (df_ru_bb_local_compute): Reversed statements and removed bogus
2530 comment explaining why they should be in wrong order.
2531 (df_ru_dump, df_rd_dump): Enhanced debug info.
2532 * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
2534 * ddg.c (add_deps_for_def): Converted use of reaching defs to
2535 reaching uses and fixed space problem.
2537 2006-05-23 Jan Hubicka <jh@suse.cz>
2539 * cgraphunit.c (decide_is_function_needed): Also nested functions
2540 and functions declared inline can be optimized out at -O0.
2542 2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
2544 * doc/install.texi (Configuration): Remove reference to CrossGCC
2548 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2551 * config/i386/i386.c (ix86_expand_branch): Jump to simple if
2552 ix86_compare_emitted is non-NULL.
2554 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2557 * stmt.c (expand_asm_operands): Skip asm statement with erroneous
2560 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2562 PR rtl-optimization/25514
2563 * combine.c (replaced_rhs_insn): New variable.
2564 (combine_instructions): Set replaced_rhs_insn when trying to replace
2565 a SET_SRC with a REG_EQUAL note.
2566 (distribute_notes): Use replaced_rhs_insn when determining the live
2567 range of a REG_DEAD register.
2569 2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
2570 Anatoly Sokolov <aesok@post.ru>
2572 * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
2573 attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
2574 attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
2575 atmega164p, atmega324p, atmega644p, atmega644, atmega329,
2576 atmega3290, atmega649, atmega6490, atmega406, atmega640,
2577 atmega1280, atmega1281, at90can32, at90can64, at90usb646,
2578 at90usb647, at90usb1286 and at90usb1287 devices.
2579 * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
2580 * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
2582 2006-05-22 Richard Sandiford <richard@codesourcery.com>
2584 * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
2586 2006-05-22 Richard Guenther <rguenther@suse.de>
2589 2006-01-31 Richard Guenther <rguenther@suse.de>
2590 Paolo Bonzini <bonzini@gnu.org>
2592 * doc/install.texi (--disable-libgcc-math): Document.
2594 2006-05-22 Richard Guenther <rguenther@suse.de>
2597 2006-01-31 Richard Guenther <rguenther@suse.de>
2599 * doc/invoke.texi (-msselibm): Document.
2600 * target.h (expand_library_builtin): New target hook.
2601 * builtins.c (expand_builtin): Use expand_library_builtin.
2602 (default_expand_library_builtin): New function.
2603 * gcc.c (LINK_GCC_MATH_SPEC): Define.
2604 (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
2605 (link_gcc_math_spec): Declare.
2606 (static_specs): Add link_gcc_math_spec.
2607 * expr.h (default_expand_library_builtin): Declare.
2608 * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2609 (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
2610 * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
2611 * config/i386/i386.opt (msselibm): New target option.
2612 * config/i386/i386.c (ix86_builtin_function_variants): New array.
2613 (ix86_init_sse_abi_builtins): New function.
2614 (ix86_expand_library_builtin): Likewise.
2615 (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
2616 (override_options): Handle error conditions wrt -msselibm.
2617 (ix86_builtins): Add function codes for SSE2 ABI builtins.
2618 (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
2619 * doc/extend.texi (__builtin_sse2_*): Document new target specific
2622 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2625 * c-common.c (self_promoting_args_p): Skip erroneous args.
2628 * c-decl.c (finish_struct): Skip erroneous fields.
2630 2006-05-22 Nick Clifton <nickc@redhat.com>
2632 * config/cris/cris.opt (march): Remove VarExists attribute.
2633 (max-stackframe=): Likewise.
2635 2006-05-22 Kazu Hirata <kazu@codesourcery.com>
2637 * doc/rtl.texi: Fix a typo.
2638 * see.c: Fix comment typos.
2640 * tree-ssa-structalias.h (alias_info): Remove num_references.
2642 2006-05-21 Mike Stump <mrs@apple.com>
2644 * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
2646 (darwin_pragma_options): Use BAD instead.
2647 (darwin_pragma_unused): Likewise.
2648 (darwin_pragma_ms_struct): Likewise.
2650 2006-05-21 David Edelsohn <edelsohn@gnu.org>
2652 * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
2654 2006-05-21 Kazu Hirata <kazu@codesourcery.com>
2656 PR rtl-optimization/27671
2657 * simplify-rtx.c (simplify_relational_operation_1): Fix
2658 simplifications of (eq/ne (xor x y) y) and
2659 (eq/ne (xor x y) x).
2661 PR tree-optimization/26622.
2662 * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
2665 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2667 * tree-cfg.c: Prune whitespace.
2668 (debug_tree_cfg): Point to correct header containing the
2671 2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
2674 * cgraphunit.c (verify_cgraph_node): Typo in error message.
2676 2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
2679 * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
2680 or sorry count is non zero.
2682 2006-05-20 Andreas Schwab <schwab@suse.de>
2684 * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
2686 2006-05-19 Daniel Berlin <dberlin@dberlin.org>
2687 Kenneth Zadeck <zadeck@naturalbridge.com>
2689 PR rtl-optimization/26855
2691 * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
2693 (df_scan_alloc): Added code to properly handle multiword hard
2694 registers and add all_blocks parameter.
2695 (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
2696 code to properly handle multiword hard registers.
2697 (df_rescan_blocks): Added code to remove deleted blocks from
2699 (df_ref_create_structure, df_ref_record): Added code to properly
2701 (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
2702 and set DF_REF_PARTIAL.
2703 (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
2704 (df_uses_record): Added DF_REF_PARTIAL for subreg.
2705 (df_scan_add_problem): Added flags parameter.
2706 (df_ref_create_structure): Changed switching structure.
2707 (df_bb_refs_record): Fixed case where duplicate artificial refs
2708 were created. Changed location of flags.
2709 (df_record_entry_block_defs): Added code to make stack pointer
2710 live in entry block. Refined cases where frame pointer is needed.
2711 Changed location of flags.
2712 (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
2713 (df_set_state): Removed function.
2714 (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
2715 df_insn_create_insn_record, df_insn_refs_delete,
2716 df_ref_create_structure): Formatting changes.
2717 * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
2718 df_delete_basic_block): New function.
2719 (df_init): Changed location of flags.
2720 (df_add_problem): Added flags parameter and the way flags are
2722 (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
2723 debug_df_chain): Improved debugging output.
2724 (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
2725 (df_refs_chain_dump): Removed df parameter.
2726 (df_iterative_dataflow): Added consistency check.
2727 (df_prune_to_subcfg): Made public.
2728 (df_analyze_problem): Added blocks_to_init parameter and made
2730 (df_ref_record, df_bb_refs_record, df_mark_reg,
2731 df_record_exit_block_uses): Whitespace changes.
2732 (df_dump): Whitespace changes.
2733 * df.h: Some reordering to remove forward references.
2734 (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
2735 DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
2736 (df_ref_flags.DF_REF_CLOBBER): Deleted field.
2737 (dataflow.flags): New field.
2738 (df.flag): Deleted field.
2739 (df_alloc_function): Added additional bitmap parameter.
2740 (df_dependent_problem_function): New type.
2741 (df_problem.changeable_flags): New field.
2742 (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
2743 DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
2744 (df_mw_hardreg): New struct.
2745 (DF_INSN_UID_MWS): New macro.
2746 (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
2748 (df_add_problem, df_ru_add_problem, df_rd_add_problem,
2749 df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
2750 df_ri_add_problem, df_scan_add_problem): Added flags parameter.
2751 (df_set_state): Removed function.
2752 (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
2753 * df-problems.c (df_chain_dump): Removed df parameter.
2754 (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
2755 df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
2757 (df_ru_alloc, df_rd_alloc): Now resets all blocks.
2758 (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
2759 df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
2760 Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
2761 DF_REF_MUST_CLOBBER cases.
2762 (df_ru_bb_local_compute_process_def,
2763 df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
2764 df_lr_bb_local_compute, df_ur_bb_local_compute,
2765 df_chain_create_bb): Made subreg aware.
2766 (df_ru_bb_local_compute, df_rd_bb_local_compute,
2767 df_lr_bb_local_compute, df_lr_bb_local_compute,
2768 df_chain_create_bb): Cleanup to use proper macros.
2769 (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
2770 code to fixup bitvectors.
2771 (df_ri_alloc): Cleared lifetime.
2772 (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
2773 df_create_unused_note): New function.
2774 (df_ri_bb_compute, df_ri_compute): Added code to create/update
2775 REG_DEAD and REG_UNUSED notes as well as register information.
2776 (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
2777 df_chains_dump): Fixed crash if problem was never run.
2778 (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
2779 df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
2780 df_ri_add_problem): Processes flags in uniform manner.
2781 (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
2782 df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
2783 df_rd_dump, df_urec_free_bb_info): Formatting changes.
2784 (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
2785 df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
2786 df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
2787 df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
2788 df_ur_dump, df_urec_free_bb_info, df_urec_dump,
2789 df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
2790 * modulo-sched.c (sms_schedule): Added flag parameter to calls.
2791 * see.c (see_initialize_data): Ditto.
2792 * final.c (rest_of_clean_state) Added regstack_completed.
2793 * rtl.h (regstack_completed): Ditto.
2794 * reg-stack.c (regstack_completed): Ditto.
2796 2006-05-19 Mike Stump <mrs@apple.com>
2798 * c-tree.h (default_conversion): Remove.
2799 * c-common.h (default_conversion): Add.
2801 2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
2803 * tree-vrp.c (valid_value_p): New function.
2804 (adjust_range_with_scev): Fail if the value of bound is not
2807 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2809 * config/mips/linux-unwind.h: Include <asm/unistd.h>
2810 (mips_fallback_frame_state): Use syscall numbers to determine
2811 the appropriate li instruction for the current ABI. Only use
2812 __NR_sigreturn for o32.
2814 2006-05-19 Nicolas Setton <setton@adacore.com>
2816 * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
2817 * langhooks.c (lhd_dwarf_name): New function.
2818 * langhooks-def.h (lhd_dwarf_name): Declare.
2819 (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
2820 * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
2821 * ada/misc.c (gnat_dwarf_name): New function.
2822 (LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
2824 2006-05-19 Richard Sandiford <richard@codesourcery.com>
2826 * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
2828 (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
2829 MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
2830 LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
2831 * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
2832 Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
2833 determine the size of Wtype, etc.
2834 * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
2835 (swfloatfuncs): New variable.
2836 (dwfloatfuncs): Likewise.
2837 (lib2funcs): Remove floating-point conversion functions from
2838 initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
2839 the set of conversion routines needed. Allow entries to specify
2840 an object name, filename and word size. Update users accordingly.
2841 * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
2842 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
2846 2006-02-08 Roger Sayle <roger@eyesopen.com>
2849 * config/fixtfdi.c: New libgcc source file.
2850 * config/fixunstfdi.c: New source file.
2851 * config/floatditf.c: New source file.
2852 * config/floatunditf.c: New souce file.
2853 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
2854 files above instead of config/mips/_tilib.c.
2855 * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
2857 2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2859 * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
2860 * pa/pa-hpux11.h (LIB_SPEC): Update comment.
2862 2006-05-18 Mike Stump <mrs@apple.com>
2864 Fix up vla, vm and [*] sematics.
2870 * c-tree.h (struct c_arg_info): Add had_vla_unspec.
2871 (c_vla_unspec_p): Add.
2872 (c_vla_type_p): Add.
2873 * c-decl.c (struct c_scope): Add had_vla_unspec.
2874 (build_array_declarator): Add support for [*].
2875 (grokdeclarator): Likewise.
2876 (grokparms): Likewise.
2877 (get_parm_info): Likewise.
2878 * c-objc-common.c (c_vla_unspec_p): Likewise.
2879 * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
2880 * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
2881 typeof when argument is a variably modified type not inside sizeof or alignof.
2882 (c_parser_direct_declarator_inner): Propagate errors.
2883 (c_parser_sizeof_expression): Add support for [*].
2884 (c_parser_parms_declarator): Initialize had_vla_unspec.
2885 (c_parser_parms_list_declarator): Likewise.
2886 * c-typeck.c (c_vla_type_p): Add.
2887 (composite_type): Add support for vla compositing.
2888 (comptypes_internal): Add support for vla compatibility.
2889 (c_expr_sizeof_expr): Evaluate vla arguments.
2890 * tree.c (variably_modified_type_p): Update comment for [*].
2892 2006-05-18 Michael Matz <matz@suse.de>
2895 * config.host: Make assignments to host_xmake_file cumulative.
2896 * config.host (*-darwin*): Test $host, not $target.
2898 2006-05-12 Stuart Hastings <stuart@apple.com>
2900 * config/i386/i386.opt (-mstackrealign): New flag.
2901 * config/i386/i386.c (force_align_arg_pointer): New attribute.
2902 (ix86_handle_cconv_attribute): Emit error when
2903 force_align_arg_pointer attribute collides with too many regparms.
2904 (ix86_function_regparm): Limit regparms when used with
2905 force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
2906 Support stack-realigning prologue in non-main functions. Emit
2907 warning for nested functions under -mstackrealign, emit error for
2908 nested functions with force_align_arg_pointer attribute.
2909 * doc/extend.texi (force_align_arg_pointer): Document it.
2910 * doc/invoke.texi (-mstackrealign): Document it.
2912 2006-05-17 Kazu Hirata <kazu@codesourcery.com>
2914 PR rtl-optimization/27477
2915 * combine.c (try_combine): Don't split a parallel consisting
2916 of two sets into two individual sets if both sets reference
2919 2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
2921 * config/arm/arm.opt (target_fpe_name): Remove VarExists.
2922 * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
2924 * doc/options.texi (VarExists): Updated.
2926 2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2928 * unwind-dw2.c: Add declarations for uw_update_context and
2930 * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
2931 detected, advance frame state and context once to skip over stub.
2933 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2937 * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
2938 Call rewrite_into_loop_closed_ssa only when something changed.
2939 * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
2940 * lambda-code.c (can_convert_to_perfect_nest): Declared.
2941 (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
2942 Test for perfect_nest_p here. Fix formating.
2943 (replace_uses_equiv_to_x_with_y): Fix formating.
2944 (stmt_uses_op): Removed.
2945 (can_convert_to_perfect_nest): Removed loopivs parameter.
2946 Complete the test by checking the scalar dependences.
2947 (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
2950 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2953 From Dan Kegel <dank@kegel.com>:
2954 * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
2956 2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
2958 * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
2959 if the element type is variably modified without recursing.
2961 2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
2964 * tree-loop-linear.c (try_interchange_loops): Test for
2965 no data dependences.
2967 2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
2969 PR tree-optimization/27548
2970 * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
2971 range of ssa names that appear on abnormal edges.
2972 * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
2973 * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
2975 2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
2978 * expr.c (safe_from_p): Handle CONSTRUCTOR again.
2980 2006-05-17 Jakub Jelinek <jakub@redhat.com>
2983 * tree.h (OMP_PARALLEL_COMBINED): Define.
2984 * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
2985 (new_omp_context): Add is_combined_parallel argument.
2986 (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
2987 new_omp_context caller.
2988 (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
2989 Adjust gimplify_scan_omp_clauses callers.
2990 (omp_is_private): Issue errors if iteration variable is firstprivate
2991 or reduction in the current context.
2992 * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
2993 on combined parallel workshare constructs.
2995 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
2997 * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
2998 (gcc-options.o): New rule.
3000 * optc-gen.awk: Protect variables for gcc-options.o with
3001 #ifdef GCC_DRIVER/#endif.
3003 2006-05-16 Daniel Berlin <dberlin@dberlin.org>
3005 Fix PR tree-optimization/27373
3006 * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
3007 (forward_propagate_addr_expr): Update call.
3009 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3011 * doc/options.texi: Move the Negative option.
3013 2006-05-16 Richard Guenther <rguenther@suse.de>
3015 PR tree-optimization/22303
3016 * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
3018 (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
3019 ccp_fold did not simplify the statement.
3021 2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
3024 * Makefile.in (GCC_OBJS): New.
3025 (OBJS-common): Add opts-common.o.
3026 (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
3027 (cpp$(exeext)): Likewise.
3028 (gcc.o): Also depend on opts.h.
3029 (opts-common.o): New.
3031 * common.opt (gcoff): Add Negative(gdwarf-2).
3032 (gdwarf-2): Add Negative(gstabs).
3033 (gstabs): Add Negative(gstabs+).
3034 (gstabs+): Add Negative(gvms).
3035 (gvms): Add Negative(gxcoff).
3036 (gxcoff): Add Negative(gxcoff+).
3037 (gxcoff+): Add Negative(gcoff).
3038 * config/i386/i386.opt (m32): Add Negative(m64).
3039 (m64): Add Negative(m32).
3041 * doc/options.texi: Document the Negative option.
3043 * gcc.c: Include "opts.h".
3044 (main): Call prune_options after expandargv.
3046 * optc-gen.awk: Generate common declarations for all flag
3047 variables in options.c. Output the neg_index field.
3049 * opts.c (find_opt): Moved to ...
3050 * opts-common.c: Here. New file.
3052 * opts.h (cl_option): Add a neg_index field.
3054 (prune_options): Likewise.
3056 2006-05-16 Jakub Jelinek <jakub@redhat.com>
3059 * omp-low.c (expand_omp_parallel): Don't assert
3060 .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
3061 instead search for it.
3064 * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
3067 2006-05-16 Andreas Schwab <schwab@suse.de>
3069 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
3072 2006-05-15 Roger Sayle <roger@eyesopen.com>
3075 * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
3076 integer constants other than zero are only legitimate on TARGET_64BIT.
3077 <CONST_VECTOR> Only zero vectors are legitimate.
3078 (ix86_cannot_force_const_mem): Integral and vector constants can
3079 always be put in the constant pool.
3081 2006-05-16 DJ Delorie <dj@redhat.com>
3083 * crtstuff.c (__dso_handle): Set section from
3084 TARGET_LBIGCC_SDATA_SECTION if defined.
3085 * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
3086 * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
3088 2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
3091 * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
3094 2006-05-16 Ben Elliston <bje@au.ibm.com>
3096 * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
3098 2006-05-15 Per Bothner <per@bothner.com>
3100 * tree.c: (last_annotated_node): Use source_locus typedef.
3101 This permits bootstrapping with --enable-mapped-location.
3103 2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
3105 PR tree-optimization/26830
3106 * tree-into-ssa.c (struct ssa_name_info): Add age field.
3107 (info_for_ssa_name, current_info_for_ssa_name_age,
3108 blocks_to_update): New variables.
3109 (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
3110 (clear_ssa_name_info, initialize_flags_in_bb,
3111 mark_block_for_update): New functions.
3112 (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
3113 (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
3114 prepare_def_site_for): Use mark_block_for_update.
3115 (mark_def_interesting): Assert that the processed block is marked in
3116 blocks_to_update. Do not take blocks argument.
3117 (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
3119 (rewrite_update_init_block, rewrite_update_stmt): Only process
3120 blocks with statements to rewrite.
3121 (delete_update_ssa): Do not clear SSA_NAME_AUX.
3122 (update_ssa): Initialize and free blocks_to_update. Do not
3123 clear flags on statements. Do not use blocks bitmap.
3124 * tree.h (SSA_NAME_AUX): Removed.
3125 (struct tree_ssa_name): Removed aux field.
3126 * print-tree.c (print_node): Do not print SSA_NAME_AUX.
3128 2006-05-15 Richard Guenther <rguenther@suse.de>
3130 PR tree-optimization/27603
3131 * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
3132 Do computations in original type.
3134 2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
3136 * see.c: Code style changes such as redundant paranthesis,
3137 redundant intialization of local variables etc.
3138 (see_main): Declared now as static.
3139 * doc/invoke.texi: Update that -fsee is not enabled by
3142 2006-05-15 Jakub Jelinek <jakub@redhat.com>
3144 * omp-low.c (check_omp_nesting_restrictions): New function.
3145 (scan_omp_1): Call it.
3148 * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
3149 construct, return *VAR.
3151 2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
3153 PR rtl-optimization/27406
3154 * bt-load.c (migrate_btr_def): Skip the block having abnormal
3157 2006-05-14 Roger Sayle <roger@eyesopen.com>
3159 PR rtl-optimization/27538
3160 * combine.c (expand_compound_operation): Call gen_lowpart
3161 before calling simplify_shift_const.
3163 2006-05-14 Roger Sayle <roger@eyesopen.com>
3165 PR rtl-optimization/22563
3166 * expmed.c (store_fixed_bit_field): When using AND and IOR to store
3167 a fixed width bitfield, always force the intermediates into psuedos.
3169 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
3172 * mkconfig.sh: Use operator = instead of == for test.
3174 2006-05-13 Nick Clifton <nickc@redhat.com>
3176 * dwarf2out.c (dbx_reg_number): Check return value from
3177 LEAF_REG_REMAP and only use it if it is valid.
3178 (multiple_reg_loc_descriptor): Likewise.
3180 2006-05-13 Richard Guenther <rguenther@suse.de>
3182 * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
3185 2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
3187 * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
3188 information attached to non-INSNs such as NOTEs.
3189 (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
3191 2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
3193 * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
3195 * config/s390/s390.md: Adjust comment describing On constraint.
3197 2006-05-11 Jan Hubicka <jh@suse.cz>
3199 * cgraphunit.c (decide_is_function_needed): Don't force always_inline
3200 to be output at -O0.
3202 2006-05-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3205 * fold-const.c (size_binop): Move sanity check for arguments to
3206 the beginning of the function.
3209 * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
3212 2006-05-11 Richard Guenther <rguenther@suse.de>
3215 * fold-const.c (fold_unary): Handle intermediate conversion
3216 to a pointer type like intermediate conversion to an integer
3217 type in folding of (T1)(T2)var to var.
3218 Match the code to the comment in the final conversion for
3219 (T1)(T2)var to (T1)var regarding to type precision. Rather
3220 than disallow T1 being of pointer type, assert that both T1
3221 and var are of pointer type or not. Make sure not to fall
3222 over the frontends lazyness wrt array to pointer decay though.
3224 2006-05-10 Richard Earnshaw <rearnsha@arm.com>
3226 * arm.c (arm_struct_value_rtx): Delete.
3227 (TARGET_STRUCT_VALUE_RTX): Use the default definition.
3228 (arm_init_cumulative_args): Always initialize nregs to zero.
3230 2006-05-10 Richard Guenther <rguenther@suse.de>
3232 PR tree-optimization/27532
3233 * tree-object-size.c (plus_expr_object_size): Fix typo.
3235 2006-05-10 Kazu Hirata <kazu@codesourcery.com>
3238 * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
3239 ashrdi_const, ashrdi3): Use a scratch register.
3241 2006-05-10 Richard Guenther <rguenther@suse.de>
3243 PR tree-optimization/27302
3244 * fold-const.c (operand_equal_p): For two comparisons,
3245 try comparison of one comparison code swapped if that yields
3248 2006-05-10 Ben Elliston <bje@au.ibm.com>
3250 * tree-pretty-print.c (pretty_print_string): No need to handle
3251 '\0' as a special character.
3253 * tree.h: Include "hashtab.h".
3254 (iterative_hash_expr): Use hashval_t in its prototype.
3255 * Makefile.in (TREE_H): Add $(HASHTAB_H).
3257 2006-05-09 Steve Ellcey <sje@cup.hp.com>
3260 * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
3261 (hppa*64*-*-hpux11*): Ditto.
3262 (hppa[12]*-*-hpux11*): Ditto.
3264 2006-05-09 David Edelsohn <edelsohn@gnu.org>
3267 * config/rs6000/aix41.h (TARGET_64BIT): Define.
3269 2006-05-09 Michael Matz <matz@suse.de>
3271 * config.host (<i[34567]86-*-*, x86_64-*-*>): Set
3272 host_extra_gcc_objs and host_xmake_file.
3273 (<*-*-linux*>): Don't overwrite host_xmake_file.
3274 * gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
3275 * config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
3276 (host_detect_local_cpu): Declare.
3277 (CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
3278 * config/i386/i386.c (override_options): Handle -mtune=native
3280 * config/i386/x-i386: New file.
3281 * config/i386/driver-i386.c: New file.
3282 * doc/invoke.texi (<i386 and x86-64 Options>): Describe
3285 2006-05-09 Dirk Mueller <dmueller@suse.de>
3286 Richard Guenther <rguenther@suse.de>
3289 * fold-const.c (fold_read_from_constant_string): Relax check
3290 for matching types to matching modes.
3292 2006-05-09 Zdenek Dvorak <dvorakz@suse.cz>
3294 PR rtl-optimization/27335
3295 * loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
3298 2006-05-08 Chao-ying Fu <fu@mips.com>
3299 Richard Sandiford <richard@codesourcery.com>
3301 * config/mips/mips-ps-3d.md (scc_ps, s<code>_ps): New patterns.
3302 (vcondv2sf, sminv2sf3, smaxv2sf3): Likewise.
3303 * config/mips/mips.md (UNSPEC_SCC): New constant.
3304 * config/mips/mips-protos.h (mips_expand_vcondv2sf): Declare.
3305 * config/mips/mips.c (mips_reverse_fp_cond_p): New function.
3306 (mips_emit_compare): Use it.
3307 (mips_expand_vcondv2sf): New function.
3309 2006-05-08 Daniel Berlin <dberlin@dberlin.org>
3311 Fix PR tree-optimization/27093
3312 * tree-ssa-alias.c (recalculate_used_alone): Mark variables for
3313 renaming when they become not-used_alone.
3315 2006-05-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3317 * hpux-unwind.h (pa_fallback_frame_state): Handle return parameter
3318 relocation and relocation stubs.
3320 2006-05-08 Eric Christopher <echristo@apple.com>
3322 * unwind-dw2-fde-darwin.c (examine_objects): Only check data
3325 2006-05-08 Jan Hubicka <jh@suse.cz>
3328 * cgraphunit.c (decide_is_function_needed): When not optimizing even
3329 unused static functions are needed.
3331 2006-05-08 Roger Sayle <roger@eyesopen.com>
3334 * reload.c (find_reloads_toplev): Only return the simplified SUBREG
3335 of a reg_equiv_constant if the result is a legitimate constant.
3337 2006-05-08 Uros Bizjak <uros@kss-loka.si>
3340 * config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
3341 standard 80387 constants, raise the cost to prevent
3342 compress_float_constant() to generate load from memory.
3344 2006-05-08 Kazu Hirata <kazu@codesourcery.com>
3346 * config/arm/constraints.md (c): Fix a typo.
3348 * see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
3351 2006-05-07 H.J. Lu <hongjiu.lu@intel.com>
3354 * config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use
3356 (_mm_mwait): Likewise.
3358 * config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with
3360 (sse3_monitor): Make it 32bit only.
3361 (sse3_monitor64): New. 64bit monitor.
3363 2006-05-07 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3366 * config/i386/i386.c (classify_argument): Skip fields with invalid
3369 2006-05-07 Richard Guenther <rguenther@suse.de>
3371 PR tree-optimization/27409
3372 * tree-ssa-structalias.c (get_constraint_for_component_ref):
3373 Do not try to find zero-sized subvars.
3375 2006-05-07 Richard Guenther <rguenther@suse.de>
3377 PR tree-optimization/27136
3378 * tree-ssa-loop-niter.c (get_val_for): Correct function
3379 comment, assert requirements.
3380 (loop_niter_by_eval): Stop processing if the iterated
3381 value did not simplify.
3383 2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
3385 * opts.c (flag_see): remove its setting at -O3.
3387 2006-05-07 Richard Earnshaw <rearnsha@arm.com>
3389 * genpeep.c (main): Make insn-peep.c depend on flags.h.
3390 * arm/constraints.md: New file.
3391 * arm.h (REG_CLASS_FROM_LETTER_P): Delete.
3392 (CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER)
3393 (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER)
3394 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM)
3395 (CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR)
3396 (EXTRA_MEMORY_CONSTRAINT): Likewise.
3397 * arm.md: Include constraints.md.
3398 (thumb_movsi_insn): Use satisfies_constraint_J.
3399 (movhi, movqi): Use satisfies_constraint_I.
3401 2006-04-29 Anatoly Sokolov <aesok@post.ru>
3403 * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name
3404 for atmeg a645 device.
3406 2006-05-06 Richard Guenther <rguenther@suse.de>
3408 PR tree-optimization/27151
3409 * tree-vect-transform.c (vectorizable_condition): Punt on
3410 values that have a different type than the condition.
3412 2006-05-03 Aldy Hernandez <aldyh@redhat.com>
3415 * c-parser.c (c_parser_cast_expression): Only insert casts into
3416 hash table if pointer.
3417 * function.c (used_types_insert_helper): Rename from
3419 (used_types_insert): Call used_types_insert_helper.
3420 * function.h (used_types_insert): Accept only one argument.
3422 2006-05-05 David Edelsohn <edesohn@gnu.org>
3424 * config/rs6000/rs6000.md: Mark all "X" constraints for clobbered
3425 scratch with output modifier.
3427 2006-05-04 David Edelsohn <edelsohn@gnu.org>
3430 * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
3431 with output modifier.
3433 2006-05-04 Richard Sandiford <richard@codesourcery.com>
3436 * config/mips/mips.c (mips_symbolic_address_p): Return true
3437 for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
3438 SYMBOL_GOTTPREL, and SYMBOL_TLS.
3440 2006-05-04 Richard Guenther <rguenther@suse.de>
3442 PR tree-optimization/14287
3443 PR tree-optimization/14844
3444 PR tree-optimization/19792
3445 PR tree-optimization/21608
3446 PR tree-optimization/27090
3447 * tree-ssa-pre.c (try_combine_conversion): New function.
3448 (compute_avail): After constructing the value-handle
3449 expression, use try_combine_conversion to combine NOP_EXPRs
3450 with previous value-handle expressions and use the result if it
3453 2006-05-04 Joseph S. Myers <joseph@codesourcery.com>
3455 * config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.
3457 2006-05-04 Jan Hubicka <jh@suse.cz>
3460 * cgraphunit.c (verify_cgraph_node): Fix cgraph_hash testing.
3462 2006-05-04 Bernd Schmidt <bernd.schmidt@analog.com>
3464 * config/bfin/predicates.md (const01_rtx): Tell generator programs
3465 that this only matches CONST_INTs. All users changed to VOIDmode
3468 * config/bfin/bfin.c: Include "optabs.h".
3469 (bfin_rtx_costs): Some costs for vector operations, to allow combine
3471 (enum bfin_builtins): Add a number of fractional and vector builtins.
3472 (bfin_init_builtins): Likewise.
3473 (struct builtin_description, bdesc_2arg, bdesc_1arg): New.
3474 (safe_vector_operand, bfin_expand_binop_builtin,
3475 bfin_expand_unop_builtin): New functions.
3476 (bfin_expand_builtin): Handle the new builtins.
3477 * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
3480 2006-05-04 Leehod Baruch <leehod@il.ibm.com>
3483 * Makefile.in (OBJS-common): Add see.o.
3484 (see.o): Add dependencies.
3485 * common.opt (fsee): New flag for the see optimization was added.
3486 * opts.c (flag_see): Initialized.
3487 * passes.c (init_optimization_passes, pass_see): New pass.
3488 * rtl.h (see_main): Declaration as extern.
3489 * timevar.def (TV_SEE): New.
3490 * tree-pass.h (pass_see): Declaration as extern.
3491 * invoke.texi (-fsee): Document.
3492 * recog.c (validate_simplify_insn): New function.
3493 * recog.h (validate_simplify_insn): Declaration as extern.
3494 * df-problems.c (df_chain_dump): Check for NULL.
3496 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
3497 Daniel Berlin <dberlin@dberlin.org>
3499 * cfgrtl.c (insert_insn_bb_end_new): New function.
3500 * basic-block.h (insert_insn_bb_end_new): Declaration as extern.
3502 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
3504 * df.h (struct web_entry): Moved from web.c.
3505 (union_defs): Declaration as extern.
3506 (unionfind_root): Likewise.
3507 (unionfind_union): Likewise.
3508 * web.c (struct web_entry): Moved to df.h.
3509 (unionfind_root): Remove static declaration.
3510 (unionfind_union): Likewise.
3511 (union_defs): Likewise and generalize to use callback function.
3512 (web_main): Update arguments for union_defs function call.